Documentation of possible values in env\userAttribute()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    Documentation of possible values in env\userAttribute()

    Hello,

    I am currently trying to learn how to use things like env\userAttribute() or entity\attribute() etc.

    However, I am not able to find any documentation on what identifiers I can put into () to be able to pick a specific value. For example, when I was trying to get a Current User's username, I had to try it on my own to be able to find the correct syntax which is env\userAttribute('userName'). Is it described somewhere? I would love to use it more and more and I would love to know all the possible identifiers.

    Hope it makes sense and it is clear what I am looking for.

    Thank you.
    Have a great day.
  • yuri
    Member
    • Mar 2014
    • 8624

    #2
    Hi,

    These are User entity attributes. https://docs.espocrm.com/administrat...ula/#attribute
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Jakub Grufik
      Senior Member
      • Aug 2022
      • 361

      #3
      Thank you sir!

      Comment

      Working...