If I used a variable to set the property to get an object returns me undefined but if I set the property with anything but a variable it works fine!
So if anyone is having a problem beware of this! is till works fine you would have to set the text of any block and then use that block text to set the property variable, Don’t be lazy like me
If you need to urgently work with an object, then instead of the app variable to which the object is assigned, use the variable created from the function block.
did that work for you ? it doesn’t return undefined? if I set the "get property variable within another variable directly it returns me undefined and apparently for Mark it happened the same since he told he found a bug
The error is that the object is simply not stored in the app variable (more precisely, an empty object is stored in which there are no properties). Does my example work for you?
For example the “refObject” variable is not the error I get, the error comes from “app name1” Apparently when using that directly It doesn’t work , I have to set the “app name1” to another text block and then use that text block to get the refObject , for me doesnt work I dont know for you =S
Hello Mark,
I’m having really bad times with objects and variables.
I’m trying to store object in a variable, and then change properties of an object according to other variables.
But it doesn’t work.
I’m trying to send an object to create Airtable Row, and if I do it straight (object created directly attached to AT block) it works, but if I first store object to variable, and then try to send it, it doesn’t work.
You already said that there is a bug, but it was last year. Is the bug still there?
Thanks!
Strangely, it turns out that to transfer an object, you need to perform unnecessary operation. I haven’t checked this, but I know that sometimes you have to perform extra operations to make something work properly.