-
Goal: Get a list of files for a dynamically identified subfolder
-
Steps: Set the "Folder Name" to a dynamic variable (
current_user.sid
in this case) -
Details: The query returns an error "Folder with name {{current_user.sid}} does not exist" which is true, there is no folder named "{{current_user.sid}}" setup. However, the folder "user_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" (i.e. what
{{current_user.sid}}
should be interpreted as) does exist. It seems the JS code is being passed directly as text instead of being interpreted and passed. I saw that @bobthebear and @pyrrho noticed this here but the topic is closed (looks like they went the API route). Would be nice for this (admittedly beta) functionality to work as intended. -
Screenshots:
try putting single quotes around it: '{{ current_user.sid }}'
No joy: message:"Folder with name '{{current_user.sid }}' does not exist"
I could have sworn this worked not too long ago =/, maybe I'm just remembering finding this workaround:
yeah, just handling with .filter() for now, but would rather not get a bunch of data I don’t intend to use…
2 Likes
I was able to repro and report this to our team. Thanks @jg80 and @bobthebear. I'll post here when this is resolved!
2 Likes
Definitely a regression. As it was working in June!
This should be fixed now!
1 Like