Correct this reference qulifier please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 12:20 AM
Hi team,
this reference qualifier is not working properly. please correct this,
^current.variables.role_add_users!='; after keeping this condition it is not working. This is kept because I dont want to show the values in drop down(list collector) when the role_add_users is empty. when it is filled then only related records should appear in the list collector.Please suggest
var queryString = 'u_catalog_item=1cf335b61b143d106bf5535b234bcb1f^u_active=true^u_parent_variable=' + current.variables.role_add_users.toString() + '^u_application_name=' + current.variables.region.toString() + '^current.variables.role_add_users!=';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 01:20 AM
Hi @Deepthi13 ,
Hope you are doing great.
Try using below script in reference qualifier :
var roleAddUsers = current.variables.role_add_users.toString();
var queryString = 'u_catalog_item=1cf335b61b143d106bf5535b234bcb1f^u_active=true^u_parent_variable=' + roleAddUsers + '^u_application_name=' + current.variables.region.toString();
if (roleAddUsers) {
queryString += '^current.variables.role_add_users!=';
}
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 05:18 AM
Hi Riya,
Thanks for reply i tried this and it is not working as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 03:43 AM - edited 09-24-2023 03:46 AM
Hi @Deepthi13 ,
var queryString = 'u_catalog_item=1cf335b61b143d106bf5535b234bcb1f^u_active=true^u_parent_variable=' + current.variables.role_add_users.toString() + '^u_application_name=' + current.variables.region.toString();
if (current.variables.role_add_users) {
queryString += '^current.variables.role_add_users!=';
}
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 05:19 AM
Hi Anand,
Thanks for reply i tried this and it is not working as expected