Is there a way to set a text field to the Salesforce current user?

  • 1
  • Question
  • Updated 1 week ago
I have a UI only text field that I would like to set to the salesforce current user.   Is it possible?
Photo of Ambrose Alward

Ambrose Alward

  • 300 Points 250 badge 2x thumb

Posted 1 week ago

  • 1
Photo of Mike Dwyer

Mike Dwyer

  • 3,390 Points 3k badge 2x thumb
{{$User.userName}} should do it. I don't think you would need a model on the User object, but that might let you extend or revise your logic.

https://docs.skuid.com/latest/en/skuid/merge-syntax/global-merge-variables.html