Forum Discussion

User232431's avatar
User232431
Helper III
1 year ago
Solved

Disable Button Action based on user login

I Have 3 (first row in pic)cards and buttons on top of each card , and these buttons has assigned each bookmark. if user "[email protected]" login i can able to make card and button invisible to him and i...
  • v-echaithra's avatar
    1 year ago

    Hi User232431 ,

    Create Two Versions of the Button:
    Button A: This is the real button, linked to a bookmark. It should be visible only to authorized users.
    Button B: This is a dummy (transparent) button with no action assigned. It should be shown only to restricted users.

    To manage visibility:
    Open the Selection Pane, and control which button is visible.
    In the Bookmarks Pane, create two bookmarks:
    One showing Button A and hiding Button B.
    One showing Button B and hiding Button A.
    When creating or updating each bookmark, make sure to:
    Uncheck the option for Data.
    Check the options for Display and Current Page.

    If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.

    Regards,
    Chaithra