How do I hide a button from different roles?

    Go to the entity in which you wish to hide a button for.

    1. If the entity is native to Magentrix, go to the Setup Home page and on the left, go to Create > Entities or if it’s a Salesforce object, go to Extend > Salesforce.

    2. Use the Search Bar to locate the entity and click on its Name.

    3. Click on the Buttons tab at the bottom of the page.

    4. Next to the Button you wish to edit, click on the Action Arrow and select Edit.

    5. Under Additional Details, go to the Visible= field and enter: {!IsInRole("name of role")} where “name of role” is the role you wish to make this button visible to.

    6. You may also specify which role to hide this button from by entering: {!Not(IsInRole(name of role))}.

    7. Click Save.
    « Previous ArticleNext Article »


    3.0 (10)


    Comments

    No records to display

    Subscription
    Follow Knowledge posts
    Please enter your email address to subscribe:

    Email:
    Subscribe
    Follow us on Twitter