Skip to main content
Announcements
Happy New Year! Cheers to another year of collaboration, connections and success.
cancel
Showing results for 
Search instead for 
Did you mean: 
AKN
Partner - Contributor III
Partner - Contributor III

Is it possible to use regex on qrs api filtering?

$.ajax({
  method: "GET",
  url: `/qrs/app/full?xrfKey=${xrfKey}&filter=tags.name eq ${regex}`,
  headers: {
    "X-Qlik-Xrfkey": xrfKey,
  },
})

Similar to this where I only get the apps with matching regex tag.

Labels (3)
3 Replies
Marc
Employee
Employee

The available filtering options can be found here, it does not include regex string, but you can generally get similar with a mix of sw, ew & so

https://help.qlik.com/en-US/sense-developer/February2024/Subsystems/RepositoryServiceAPI/Content/Sen...

 

marksouzacosta

Hi @AKN,

You cannot do it but, what about getting the list of all app names with Ids, store it somewhere - to not have to list it every single time (if this is a problem), and later apply the RegEx filter?

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

AKN
Partner - Contributor III
Partner - Contributor III
Author

Hi,

I'd rather not get all of the apps and then filter. I think it's better for me to filter directly using qrs api.

So what I did now is tags.name ew " Report", it works fine.