hide global option from region variable lookup selet box when le group is data privacy

shubhamverm3478
Tera Contributor

Hi,

I want to hide global option under region look up select box variable when le group is data privacy.

how can I achieve this

35 REPLIES 35

Community Alums
Not applicable

Yes.Its still visible with all possible qualifiers.

Hello @Community Alums ,

I noticed that you’ve entered the group name incorrectly—your group name should be "le_group."

 

Take a deep breath, stay calm, and don’t rush it.

Community Alums
Not applicable

okay in that case,

lets follow your approach.

 

Can you send me a executable reference qualifier ?

I am providing you all details 

Hello @Community Alums 

I’m suggesting that you use the group name "le_group" based on your earlier screenshots, where you’ve consistently used this backend name. The first step is to confirm the exact backend value of your group variable and use that in the reference qualifier. Also, when writing the reference qualifier, avoid using "&colon".

 

javascript: if (current.variables.le_group == '3a773f22976c8e50028cfa871153af6d') { "sys_id!=e37c2dfb1be49ad47b03ea8a234bcbfd"; } else { "active=true"; }

 

AniketChavan_0-1729012011402.png

 

 

 

In the if condition, replace current.variables.le_group with your actual group variable name, if it’s different.

 

After the == sign, enter the sys_id of the specific group you’re targeting, which you can find in the backend.

 

Inside the curly braces, keep sys_id! as is, and after =, add the sys_id of the other group you want to exclude. You can find these sys_ids by checking the tables you’ve used for your region variable.

 

For the else condition, you can leave active=true as it is.

 

 

 



Community Alums
Not applicable

I tried with qualifier you mentioned.

front end name of le group is le_group & backend table name is u_le_groups_1

for region its region in front end & back end is u_region.

 

I entered sys id of data privacy le group under if statement.

sys!=here I entered global region sys id 

still its visible

 

other way

 

I entered sys id of data privacy le group under if statement.

sys!=here I entered healthcare le group sys id with intention that if healthcare is selected global region should be visible but not for le which Is what I am trying to achieve.