cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

API getMembers() with parentId property is not working

avalko
Participant
0 Kudos
282

Hello,

In the model I have a Product dimension with hierarchy:s1.png

In the story I want to read only root members (Product classes) using script API. I wrote a simple code and specified a parentId property to retrieve such members:s2.png

But unfortunately this script returns all the elements of the Product dimension::s3.png

Also, I want to mention that in previous versions this code worked. Now I am on 2024.15. Why is it not working now? Maybe I am doing something wrong?

Best Regards,

Anton

Accepted Solutions (0)

Answers (0)