How to retrieve attribute elements #4
Replies: 2 comments 3 replies
-
|
To get the elements for an attribute, you need to get the data from the data source, not only the metadata. Take a look at GET /api/reports/{reportId}/attributes/{attributeId}/elements](https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html#/Reports/getAttributeElementFromReport) and GET /api/cubes/{cubeId}/attributes/{attributeId}/elements. You can also take a look at the workflow example in REST API Playground |
Beta Was this translation helpful? Give feedback.
-
|
Hey @elinmstr, that's it! Using GET /api/attributes/{id}/elements does work for MicroStrategy 2021 Update 7 in addition to /api/attributes/{id} for extraction of attribute forms. PS: your hint with visibility=all was a "good to know" thing. Thx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I‘m searching for REST API method for retrieving all attribute elements of an attribute. It seems there is no method. Thx
Regards
Thomas
Beta Was this translation helpful? Give feedback.
All reactions