- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 12:59 AM - edited 05-02-2023 02:23 AM
Hi Team ,
As u can see in the below image , Here i have added sub- category and application category based on the category selection . it is OK in Platform level .
If u can see in the portal it is not showing
How to update my reference qualifier
My Reference Qualifer
javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else 'name=incident^element=u_application_category^dependent_value=Lighthouse';
Thanks
@Community Alums
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 09:01 AM - edited 05-02-2023 09:11 AM
@nameisnani
Try the below
javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else if(current.variables.subcategory=='Bottomline SWIFT Gateway')'name=incident^element=u_application_category^dependent_value=Bottomline SWIFT Gateway';else 'name=incident^element=u_application_category^dependent_value=Lighthouse';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 05:13 AM - edited 05-02-2023 05:16 AM
Not sure if it matters, but check your syntax in your Reference Qualifier. For some reason on this site, when you post code snippets that have a Colon in them it changes the syntax to:
Typically it's just "javascript" with a colon after it. On this forum, if you type Javapscript with a colon after it, you get this
javascript:
javascript:
javascript:
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 05:23 AM
You mean like this
javascript; var query; if(current.variables.subcategory == 'CFS Edge') query = 'element=u_application_category^name=incident^value=Platform Support'; else query = 'name=incident^element=u_application_category^dependent_value=Lighthouse'; query;
is this right one , @Steven Parker please confirm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 05:29 AM - edited 05-02-2023 05:31 AM
That's a semicolon after javascript. You need a colon. Like this (2 examples below):
Hello:
Syntax:
Notice I can write Hello or Syntax with a colon after it on this forum, but as soon as you write javascript with a colon after it you get this
javascript:
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 05:33 AM
After updating also , still i am not getting values which is shown in snip 2
Snip 1 .
Snip 2
I am not getting values of sub cateogory ' Bottom SWIFT Gateway '
@Steven Parker Please help me in this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 09:01 AM - edited 05-02-2023 09:11 AM
@nameisnani
Try the below
javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else if(current.variables.subcategory=='Bottomline SWIFT Gateway')'name=incident^element=u_application_category^dependent_value=Bottomline SWIFT Gateway';else 'name=incident^element=u_application_category^dependent_value=Lighthouse';