How to set up sysparm_additional_qual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2015 01:11 AM
How to set up sysparm_additional_qual from UI page client script. I have one ui_reference field
<g:ui_reference id="symptomID" name="QUERY:u_type=incident" table="u_symptom_service_mapping" value="${jvar_symptomID}" query="updateSymptomQuery();" onchange="updateAssignmentGroups();"/>
which is calling client script method updateSymptomQuery()
which is defined as below
function updateSymptomQuery()
{
var serviceSysId = document.getElementbyId('bus_service').value;
var queryString="u_service=" + serviceSysId;
return queryString;
}
but not rreturning anyresult.
I am getting final popup URL as :
XXX_u_symptom_service_mapping_list.do?sysparm_target=QUERY%3Au_type%3Dincident&sysparm_target_value=1e73ca92f1c859404071f26e776d1895&sysparm_nameofstack=reflist&sysparm_clear_stack=true&sysparm_element=not&sysparm_reference=u_symptom_service_mapping&sysparm_view=sys_ref_list&sysparm_additional_qual=updateSymptomQuery()%3B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2015 02:47 AM
I think all looks fine.
Only the syntax for document.getElementById.
B and I should be capital.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2015 04:41 AM
Thanks Ashish
Still not working!
Do you know what is the attribute used to set dependent parameter. I am thinking of using this instead of additional qualifier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2016 12:36 PM