can't access $this var
Options
I am attempting to use $this to reference a property of the current item in my forEach loop:
[image.png]
You can see it referenced in 7.1, however in 7.2 and 7.3 it is not available
[image.png]
Can anyone explain to me what it is I'm missing about how this should work?
[image.png]
You can see it referenced in 7.1, however in 7.2 and 7.3 it is not available
[image.png]
Can anyone explain to me what it is I'm missing about how this should work?
Comments
-
$this is exclusively used in Array function expression builders. For example, your Array: Has Any Element function uses $this to inside the expression builder to represent each iteration of your list.[CleanShot 2022-08-12 at 14.09.03.png]If you are looking to use the result of that function then you would use the return variable it outputs, which is var:exists in your case
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback