Skip to main content
Inspiring
January 27, 2025
Question

Change view security from record and place it inside the individual interface .

  • January 27, 2025
  • 18 replies
  • 0 views

Hello All ,

There are 10  tabs in a record view and every tab has certain view level security configured to them but now the view level  security show be removed and placed inside the interface .Upon click of the page/interface check if its eligible then print the existing interface else show an error message .

I wanted to know what will happen if we remove the view level security from record and place it inside interface. 

18 replies

venkatrea696188
January 27, 2025
I wanted to know what will happen if we remove the view level security from record and place it inside interface. 

It will , use if condition to hide or show the child interface . But keep in mind he/she needs to access parent interface(Parent record view where you calling this interface) in the first place.

if(Condition to check eligible, child interface, error interface)

Inspiring
January 27, 2025

Okay Sure . The  view visibility is taking the parameter as (rv!recordtype) . If i am removing the visibility from view and place inside interface how will i pass the record parameters which are responsible to get the visibility value True or False 

venkatrea696188
January 27, 2025

Isn't it straight forward . Data will come from the parent record view/interface to this interface as a rule input values . ??


I am getting confused you are going to remove a record view and going to use a standalone interface(if yes, where you are showing this link??) or you going call this inside a another record view?? 

konduruc733182
January 27, 2025

You can apply visibility conditions within the each view, on the top of your code. You can wrap with a simple if() and the error message in the else condition.

if(
  a!isUserMemberOfGroup("User"),
  {"Your existing code"},
  {"Your error Message"}
)