Dependent value don't work as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 02:09 PM
Hi,
i have 3 list of choice category level 1, category level 2(depend on category level 1), category level 3(depend on category level 2).
in category level 1 i have val 1(value 11) , val 2(value 12) , val 3(value13)
in category level 2 i have va(value 21: dependent value (value11)), va1(value 22): dependent value (value12) , va2(value 23): dependent value (value13))
and in category level 3 i have TE1 (value31)dependent value (value11)) , TE2 (value32) dependent value (value11)), TE3 (value33)dependent value (value11))
i want to seperate choices in category level 3 once i select in category level 2 va i should get in category level 3 TE1 and once i select va1 in category level 2 i should get in category level 3 TE2, i try it to modify the dependet value of TE1 and TE2 like this TE1 =>value 21 and in TE2 => value 22 but don't work i found category level 3 empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 02:53 PM
Hi, your post doesn't clearly detail your configuration, or the solution you have tried.
Have you set the fields as dependent in the dictionary?
You can reference the OOB Incident Category > subcategory as an example of configuration
/nav_to.do?uri=sys_dictionary.do?sys_id=29c6a8cb3d2630100acbff3420d73727%26sysparm_view=advanced
Did you set dependent values in the choice list for your L2/L3 Categories, OOB examples /sys_choice_list.do?sysparm_query=nameSTARTSWITHincident%5Eelement%3Dcategory%5EORelement%3Dsubcategory&sysparm_view=
Perhaps you could review and provide some specific details?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 02:59 PM
hi
yes i set the fields as dependent in the dictionary Entry :
i want to seperate choices in category level 3 once i select in category level 2 (va) i should get in category level 3 (TE1) and once i select (va1) in category level 2 i should get in category level 3 (TE2), i try it to modify the dependet value of (TE1) and (TE2 ) like this TE1 => i put ine dependent value (value 21) and in TE2 => i put in dependent valu (value 22) but don't work i found category level 3 empty.
in category level 1 i have in choices val 1(it value 11) , val 2(it value 12) , val 3(it value13)
in category level 2 i havein choices va(value 21: dependent value (value11)), va1(value 22): dependent value (value12) , va2(value 23): dependent value (value13))
and in category level 3 i have TE1 (value31)dependent value (value11)) , TE2 (value32) dependent value (value11)), TE3 (value33)dependent value (value11))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 03:34 PM
Hi, I just tested this behavior in a PDI
Added third category type choice list called 'sub sub' to the dictionary and made it dependent on OOB 'Subcategory'. When I add a choice to 'sub sub' and make it dependent on a value in the Subcategory choice list, then the 'sub sub' choice is only available for selection when the dependent Sub-category value is populated.
The details in your post above are not consistent and you have white space showing in some values but not the corresponding reference IE
val 1(it value 11)
va(value 21: dependent value (value11))
Also you L3 values are shown with L1 dependencies not L2
TE1 (value31)dependent value (value11)) - the L2 value would be 'value21'
Perhaps you could provide xml file of your choice lists and dictionary configuration so that they can reviewed?