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

PropertyDescriptionValuesMandatory
fromSpaceIdRelations coming from specified spaces.jsonNo
toSpaceIdRelations going to specified spaces.jsonNo
fromApplicationIdRelations coming from specified apps.jsonNo
fromObjectTypesRelations coming from specified object types.arrayNo
basedOnFirstLevelRelationTypeKeysUsed in combination with "isConditional": true.arrayNo
basedOnSecondLevelRelationTypeKeysUsed in combination with "isConditional": true.arrayNo