Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Hide action based on user role

Vengadeshgiri
Tera Contributor

Hello All,

 

Vengadeshgiri_0-1776843071477.png

This is kind of more options in the workspace. This needs to be hidden.

How to achieve this

I tried checking in declarative actions but not useful

 

Regrads

Vengadesh

1 REPLY 1

pr8172510
Giga Guru

Hi,

 

The “More options (⋯)” menu actions (like Share, Export, etc.) are not controlled via Declarative Actions. These are part of the platform-level UI Builder configuration, not classic UI Actions.

 

  1. Open UI Builder
  2. Navigate to your Workspace page (e.g., List or Record page)
  3. Select the component (List / Data Table / Header)
  4. Look for:
    • Action Bar / Menu Configuration
  5. Override or customize actions
  6. Add visibility condition using:
    • gs.hasRole('your_role')