Property description
The filter property defines what relations or object can be displayed.
Minimal JSON
{}{
"type": "relations",
"isConditional": true,
"filter": {
"fromSpaceId": {
"value": "1"
},
"toSpaceId": {
"value": "@spaceId"
},
"fromApplicationId": {
"value": "@appId"
},
"fromObjectTypes": {
"value": [
"pdm_app_model"
]
},
"basedOnFirstLevelRelationTypeKeys": {
"value": [
"relationTypeKey_example_A"
]
},
"basedOnSecondLevelRelationTypeKeys": {
"value": [
"relationTypeKey_example_B"
]
}
}
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
fromSpaceId | Relations coming from specified spaces. | json | No |
toSpaceId | Relations going to specified spaces. | json | No |
fromApplicationId | Relations coming from specified apps. | json | No |
fromObjectTypes | Relations coming from specified object types. | array | No |
basedOnFirstLevelRelationTypeKeys | Used in combination with "isConditional": true. | array | No |
basedOnSecondLevelRelationTypeKeys | Used in combination with "isConditional": true. | array | No |