Hey,
I’m having a bit of trouble figuring out how to write this query. I’m trying to get it so that I can pass multiple ID’s, separated by commas, into the search bar and populate the Power Table with each row belonging to that ID. I’ve had limited success. For example, I can get it to work when I have multiple ID’s in the search bar, but then the table errors when I clear the values from the search bar or add a comma to the end of the search bar string. And when I get the Power Table working again without any ID’s in the search bar, then it only takes at most 1 ID from the search bar and returns only that row.
The problem seems to focus around the last line in the WHERE clause…
(status IS NULL AND cl.id IN(’{Root Container.Work Request.Search.text}’)) ← with single quotes around the property. This way only populates the table from the first ID listed in the search bar.
(status IS NULL AND cl.id IN({Root Container.Work Request.Search.text})) ← without single quotes around the property. This way allows for multiple ID’s to be entered into the search bar, and the rows belonging to those ID’s will populate the table. However, this will give me an error if I add a comma to the end of the search string or if I clear the search string.
Does anyone know how to do what I’m trying to accomplish?
Big thanks,
Daniel