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.

How to call system property in ui action condition field

siva14
Tera Contributor

We have a UI action field called "copy incident" in incident form,  i want to visible only for 3 groups, so i created string property, and using that property in ui action condition field, but it is not working , anyone please help

 

siva14_0-1712150122638.png

 

siva14_1-1712150149156.png

 

#ui action #sys properties

3 REPLIES 3

Abhijeet_Pawar
Tera Guru

Hello @siva14 ,

I believe you have passed the sys_id of the group in the value field of the system property.

You can use the following script in the condition of the UI action:

gs.getUser().isMemberOf(gs.getProperty('glide.ui.copy_incident'))

I hope this resolves your issue.

Thank you.

Regards,

Abhijeet

Hi @Abhijeet_Pawar , i have already tried this, this is also not working, when i impersonate the group member, i didn't the see the UI action

 

siva14_0-1712227416358.png

 

Hello @siva14,

I used a system property in the UI action, and it's working well.

Your UI action isn't working because of the extra condition you added.

Thanks,

Abhijeet