Auto Field UserName
-
Alexander5 years ago #14561
Hi,
why does the Auto Field UserName always return an empty string in the desktop version?
Is an in-app login necessary or is there another solution?BR
AlexanderChris BouveretHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification5 years ago #14562::Hi Alexander,
the autofield “userName” returns an empty String because your app has no login implemented (anonymous usage), so there is no user logged in for this App, that is why the autofield is empty on the Desktop. You need to implement a Login to your App (new Login Screen in UI Designer + Server Action in Process Designer)
This will give the Desktop access to the logged in User. On the mobile phone this is always possible because the User needs to login and thus autofield is not empty.Hope this helps.
Best
ChrisMartin5 years ago #14578::Hi there,
is there a fancy way to use or bypass the login during testing and developing?
or at least to keep the user logged in for development purpose. or manually be able to set the AutoField.Because our datamodel behind checks for empty string/null value…
best regards,
martinbtw: i really appretiate your response time, chris! keep it going 🙂
Chris BouveretHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification
You must be logged in to reply to this topic.