Hello GoodData, I was wondering if there is any me...
# gooddata-ui
r
Hello GoodData, I was wondering if there is any method I can use besides
validElements
to get filter elements but with multiple filters, I know I can execute
{workspace}/obj/6141/elements?limit=100&filter=text
and this will return the items that will match with the text, but I need to filter by multiple texts this way I can obtain the correct uri and apply these uris back to the dashboard. Additional context: We are storing the texts of the selected items in a db so they are readable for us in multiple scenarios, so we would like to keep these texts in our storage instead of the GoodData identifiers since these might change if the model change. Currently we are fetching all the items at once using
validElements
for custom filters in our implementation, but this will not perform properly with large amount of elements.
j
Hi Robert, for the start - could you please confirm which SDK version are you using?
r
Hi @Julius Kos, currently I am using 8.12.1
I have a resolution for this, thanks anyway
basically I can use
translateElementLabelsToUris
from the sdk to get the uris I need based on labels and this will help me go through the solution I need
🙌🏼 1
🙌 1
r
Hi Roberto, I'm glad you were able to find a better solution - if you need any more help with this, please don't hesitate to let us know and I'll get right on it 🙂
😃 1