I am trying to pre-populate a "FIELD CREW NAME:" field with first and last name of the user signed in but I am unable to get it to work. Currently I am using "pulldata("@property", 'userFullName')" but it returning "UNKNOWN" in the field. I am the one signed in so I would think it would return my name. I have the "bind::esri:parameters" field set to "calculationMode=auto". The goal here is to eliminate as many clicks as possible so this would be very nice to know who submitted the data without having them select from a drop down.
Solved! Go to Solution.
Try pulldata("@property", 'username') -- with the double quotes around the @property part. I haven't tried it like that yet, but that's how it's documented here:
**Oops, just saw that you tried that already. I'll give it a try on my end and see if I can get it to work.
I'm having the same issue.. the
- pulldata("@property", 'username') in the Calculation field works fne for me, but if I change it to..
- pulldata("@property", 'userFullName') then I get the same mesage on my form as Jordan has described.. i.e.
Unknown @property: userfullname
I'm having a similar issue with the pulldata("@property", 'userFullName') function.
In my case this works fine for me and some users but when other users log into the survey they get the error message described above. Both the 'username' and 'email' properties work fine but userFullName causes an error. The other users are logged in with Creator privileges so it is hard to see how this could be permissions related.
Could it be something about the name itself? Are there certain formats or characters in the name that might cause this error?
@DfIRivers @Anonymous User For the Unknown @property: userfullname error, I bet the problem is the version of the Survey123 app used. If you install the latest version it should work.
Older versions of the app do not support userFullName.