Skip to main content

For a custom KPI I want to create a Json filter on Application subtype ‘Deployments’ but I can't get it to work. 
As the subtype is showed as a field in the Factsheet I added it as fieldName “subtype” and fieldValue “Deployment”  but this gives an error. 
Is the subtype not a field? And any idea how to note it in Json?

 

{

            "type": "none",

            "filters":

                {

                    "type": "equals",

                    "fieldName": "subtype",

                    "fieldValue": "Deployment"

                }

            ]

        },

Hi ​@Roald Roos ,
here it is:
query MyQuery {
  allFactSheets(
    filter: {facetFilters: t{facetKey: "FactSheetTypes", keys: k"Application"], operator: OR},{facetKey: "category", keys: k"Application"], operator: OR}]}
  ) {
    edges {
      node {
        id
        fullName
      }
    }
  }
}

Best regards,

Carsten


Hi ​@Roald Roos ,

if you have problems in creating filters, you can build it in the inventory:
 

With F12 open the Browser Debugger an select Network (and refresh the query execution):


or view it as source:
 

Best regards,
Carsten


Reply