getProperty on Ref Qualifier Dictionary Overide not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2016 09:57 AM
I created a system property that has the the sysid of a groups type
When I try to get the property from a dictionary override ref qualifier it is not returning the groups that are the type with the sysid in the property
If I use get groupfilter and put the name of the group type in the ref qualifier it works
Here is my system property
glide.group.type.itsm_support string value = sysid of the group type name
This is the reference qualifier on my dictionary override
javascript:gs.getProperty("glide.group.type.itsm_support");
When I open the assignment group all groups show (it is not working it should only return the groups with type (sysid from property)
If I use this javascript:GetGroupFilter('ITSM_Support') it works as expected
I am trying to use sysid instead of name because if they change the name of the type then I will have to go through and change it in my ref qualifiers
Any ideas?
Thank you
Tricia
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2016 11:39 PM
The reference qualifier should return an encoded query. Have you tried something like this
javascript:"sys_idIN"+gs.getProperty("glide.group.type.itsm_support");
or
javascript:"sys_id="+gs.getProperty("glide.group.type.itsm_support");
The return should end up with something like: sys_idIN1cfa03b15f6021001c9b2572f2b47761