Hello. I have made a form and can have it send via email to recipients. When I enter the account manager, in the email the name is listed as "john.smith." How can I have the name listed properly ("John Smith")? Thanks
Discussion posts and replies are publicly visible
You have to pull the relevant attributes from the User object using the user() function, like:
fn!concat( fn!user(myUserObject,"firstName"), " ", fn!user(myUserObject,"lastName"))
You may want to encapsulate the above into its own rule so you can use it in future projects.
Hello. I think this may be the way to go. I'm not sure how to use this to get the correct user name.
if(isnull(ri!user), "", if(isusernametaken(ri!user),user(ri!user, "firstName") & " " & user(ri!user, "lastName"),tostring(ri!user)))