How Do I Make an Entity Link on a Request Schema Schema-Specific?

Ari
Ari
  • Updated

Issue: 

Currently, a Request has an Entity Link Field that allows users to select any entity. I would like to limit this Entity Link to entities of a specific Entity Schema only.

Environment: 

Legacy Requests

Resolution Steps:

1. Obtain the API ID of the desired Entity Schema.

2. Go to Feature Settings --> Request Schemas and select the Request Schema you'd like to update.

3. Locate the JSON segment of the Entity Link Field you'd like to edit.

4. Add "schemaId": "ts_abc123" to the end of this JSON segment , where "ts_abc123" is the API ID of the Entity Schema. Be sure to add any necessary commas or other syntax requirements!

The completed structure of the JSON for the field should look like this:

{
"displayName": "Example Display Name",
"type": "entity_link",
"id": "tsf_abcdef",
"isMulti": false,
"isRequired": false,
"name": "example_display_name",
"schemaId": "ts_abc123"
}

Was this article helpful?

Have more questions? Submit a request