Get UserName in Dynamic Condition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhilash.kumar.niit
    Member
    • Sep 2024
    • 86

    Get UserName in Dynamic Condition

    Hi i want to show/hide the column according to below condition. How can i make it dynamic ""value": "abhilash"" in below code i have tried ["value": "{{userName}}"] but this is not working. Is it possible to get the user attribute here?

    "cMyCase": {
    "visible": {
    "conditionGroup": [
    {
    "type": "contains",
    "attribute": "cProcessingCaseOwner",
    "value": "abhilash"
    }
    ]
    }
    }
  • yuri
    Member
    • Mar 2014
    • 8845

    #2
    Hi,

    Did you try to create the condition with the UI builder first?

    It's possible to check a link field against a specific user.

    Click image for larger version

Name:	image.png
Views:	21
Size:	10.7 KB
ID:	116809

    But it's not possible to check a link field against the current logged in user.
    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

    Working...