- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:43 AM
Hello Everyone,
I have a query,
I have a standard change catalog. In which I have a Category as Standard change which is parent, and the data is stored under [sc_category] table. now this standard change category has child categories A, B, C which are also stored in same [sc_category] table. to show this child options in request form I have a variable [Childs of Standard] of type reference filed, in type specifications I have given reference table [sc_category] and in reference qualifier condition given this = active=true^parent="parent_sysid"
so now in request form for [Childs of standard] variable I can see three options A ,B ,C.
Now the Actual question is for the child categories Again they have child categories like Category A parent of (x1, x2, X3), Category B parent of (y1, y2, y3, y4), Category C parent of (z1, z2, z3). so, now again I have variable [select option] of type reference filed, in type specifications I have given reference table [sc_category]in which I need to show Childs of A, B, C. like if user select A in [Childs of standard variable] then I need to show only (x1, x2, x3) in [select option] variable. after selecting X1 then in another field user can select the templates.
So now can I get help what can i give in reference qualifier for [select option variable] that show only relevant Childs based on selection of parent such as A in Childs of standard then in variable select option x1, x2, x3. and same continues to B &C.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:54 AM - edited 02-13-2024 02:57 AM
Choose advanced reference qualifier and give below condition
javascript:'active=true^parent='+current.variables.<variablenameof Childs of standard variable>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:48 AM
Hi @Hemanth Naik ,
Can you use dynamic reference qualifier , give a call to script include and then return the sys_ids of the children you are looking for.
Please mark helpful/correct if my response helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 03:44 AM
Hi @Anubhav24 Thank you for reply
the solution provided by Sarika.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:54 AM - edited 02-13-2024 02:57 AM
Choose advanced reference qualifier and give below condition
javascript:'active=true^parent='+current.variables.<variablenameof Childs of standard variable>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 03:38 AM
Hi @Sarika S Nair1 , Thank you
The condition you mentioned in the reference qualifier worked successfully.