Before Query business rule to hide an Application from user

basha5
Kilo Contributor

Hi SNC

Before Query business rule has been created to hide an application for users with specific property in User table. When I impersonate and verify, it is not working for all users and Business rule also not executing for all users. can anybody tell me why before query business rule on Application Menu table is not executing for all users?

var usr = gs.getUser().getRecord().getValue('field');

Thanks

8 REPLIES 8

Hi,

I just wanted to check-in on this and see if your question was answered by my post?

If so, please mark it as Helpful/Correct so that other users can find the answer easily.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi @Allen A Will it hide the table associated with module. 

I want to hide location for u_type_of_user = Field Engineers. Will it be useful for that?

Regards

Amit

Hi Arvind 

 

Kindly suggest your views on below scenario:

Need to hide module based on groups, For example there are Six groups and five modules.

Group A : All 5 module should be visible 

Group B ,C and D : 3 modules should be visible to all three group members 

Group E : only 4th module should be visible 

Group F : Only 5th module should be visible 

 

Thanks in Advance 

Karishma5
Tera Expert

hi basha,

The Proper way to hide Application or Modules is done by creating roles. Whenever you create an application or a module, a role gets created for it. You can provide that role to those user whom you want to provide access to that application or module and do not provide that role to those users from whom you want to hide the application or module. 

Thanks,

Karishma