Announcement

Collapse
No announcement yet.

Documentation of possible values in env\userAttribute()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Hi,

    These are User entity attributes. https://docs.espocrm.com/administrat...ula/#attribute

    Comment


    • #3
      Thank you sir!

      Comment

      Working...
      X