How to hide UI action from portal

Karishma Dubey
Tera Expert

Hi Team,

I want to hide UI action "Edit Article" from portal only for all the users. This button should be visible on native view only and not the portal. Is there any way to achieve this with the help of UI action script? We don't want to clone the widget and pages.

 

KarishmaDubey_1-1686563328189.png

 

 

KarishmaDubey_0-1686563268079.png

 

3 REPLIES 3

Community Alums
Not applicable

 

How to check that i am into which view on portal in ui action script?

There is a function in client script var view = g_form.getViewName(); but is it possible to check view name in ui action script?