Blank property possible?
I would like to have a property that, if left blank.. gets a default value. Im thinking it wont work.
in a python node
FLD="DEFAULT"
FN="{{^FolderName^}}"
if FN is not None:
FLD=FN
it breaks at setting FN="{{^FolderName^}}"
No value was able to be evaluated... Any way around this?
It not horrible if I cant, just a convenience..
-
A couple of things. I noticed yesterday you had an extra ^ in the parameter value (3 rather than 2). I think with 3 it will only take the default value so make sure it is like this (no quotes also):
{{^FolderName=+FLD+^}}
Another thing I have noticed if you enter a parameter value you seem to have to hit Enter on your keyboard to make it stick. If in doubt refresh the browser page too. I'm going to test my theory on having to hit enter and raise as a potential bug if it seems appropriate. Have a look at the screenshots attached.
Attached files
Please sign in to leave a comment.
Comments
4 comments