Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Using ODAG API service, I was able to successfully create an ODAG link, however the link does not show up in the selection app so end users may use it. Can anyone help with the steps to make the links appear in the selection app after creation using the API?
End point: https://xxxxxxxxxxxx:9098/v1/links?xrfkey=0123456789abcdef
Payload:
{
"name": "See Products",
"selectionApp": "2eed5ee0-c584-48e8-8acf-719230831352",
"templateApp": "5a6868eb-5347-42f2-b79e-01c453409c7f",
"rowEstExpr": "sum(Product)",
"properties": {
"rowEstRange": [
{
"context": "*",
"lowBound": 0,
"highBound": 150
}
]
}
}
Hello @hermandup_anz
In order for the ODAG link to appear in the UI, you would also need to create an object of type "odagapplink" inside the app inside the Engine API.
The id to be provided in OdagLinkRef is the ODAG link ID that you obtained from the response of the ODAG API when you created the link.
You can find more how to use the Engine API here.
This is a websocket JSON-RPC API, not a REST API like most of other APIs in Qlik products.
Below is the Engine API call to use:
{
"handle": 1,
"method": "CreateObject",
"params": {
"qProp": {
"qInfo": {
"qType": "odagapplink"
},
"qMetaDef": {
"odagLinkRef":"403b8389-f142-4ac6-8e9e-83afa336ef3c"
}
}
}
}
Hello @hermandup_anz
In order for the ODAG link to appear in the UI, you would also need to create an object of type "odagapplink" inside the app inside the Engine API.
The id to be provided in OdagLinkRef is the ODAG link ID that you obtained from the response of the ODAG API when you created the link.
You can find more how to use the Engine API here.
This is a websocket JSON-RPC API, not a REST API like most of other APIs in Qlik products.
Below is the Engine API call to use:
{
"handle": 1,
"method": "CreateObject",
"params": {
"qProp": {
"qInfo": {
"qType": "odagapplink"
},
"qMetaDef": {
"odagLinkRef":"403b8389-f142-4ac6-8e9e-83afa336ef3c"
}
}
}
}