Hi there,
We have an Angular 13/GoodData.UI SDK (8.12.1) app and we are working on our own Exporting of Insights from a Dashboard. I know I need to call the /execution/afm/execute and so far I have this working. 1 issue I'm realizing is that filters is expected like this:
"filters": [{
"relativeDateFilter": {
"dataset": {
"identifier": {
"id": "ESTIMATE_DATE",
"type": "dataset"
}
},
"granularity": "YEAR",
"from": -1,
"to": -1
}
}, {
"positiveAttributeFilter": {
"label": {
"identifier": {
"id": "STAFF_NAME",
"type": "label"
}
},
"in": {
"values": [
"AssignTodos Levesque",
"Carol HoodMar30-22b"
]
}
}
}
],
However, the filters object I currently have access to looks like this:
"filters": [
{
"dateFilter": {
"granularity": "GDC.time.year",
"type": "relative",
"from": -1,
"to": -1
}
},
{
"attributeFilter": {
"attributeElements": {
"uris": [
"AssignTodos Levesque",
"Carol HoodMar30-22b"
]
},
"displayForm": {
"identifier": "STAFF_NAME",
"type": "displayForm"
},
"negativeSelection": false,
"localIdentifier": "3e0bd71ac3d640259e1732b910623a4e"
}
}
]
Is there any way for me to get it to look like it needs to for the /execution/afm/execute call?