- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 02:41 AM
Hi All,
Can we have the ability to have choice fields depend on reference fields for input form screens?
We have 100's of choices based on a reference field which i cannot select in the app using input form screens which is a blocker now for using parameter screens.
i've tried using DependentInputId as an input attribute but does not work.
Has anyone managed to get around this?
Cheers,
Sam
Solved! Go to Solution.
- Labels:
-
Continual Improvement (CIM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 07:43 AM
Update on this query : Servicenow support have advised this was never and will never be supported
cheers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 02:57 AM
Hi
This can be achieved through Client script as well. But we can also achieve this with the available dependent functionality in dictionary entry.
- Go to the dictionary of Choice field (eg. test choice)
- From related links Advanced, Add Dependent Reference field (eg. Company)
- Now from Dictionary related list, create choices for a 'test choice' field ( choices: test1, test2, test3, test4, test 5, test 6, test 7)
- Now add Dependent Value for those choices as 'sys_id' of the Reference field value (Eg. Companies: Adobe Systems, Apple, Citrix Systems, Cyberlink)
Test1: sys_id of 'Adobe systems'
Test2: sys_id of 'Adobe systems'
Test3: sys_id of 'Apple'
Test4: sys_id of 'Apple'
Test5: sys_id of 'Citrix Systems'
Test6: sys_id of 'Citrix Systems'
Test7: sys_id of 'Cyberlink'
Test8: sys_id of 'Cyberlink'
- This way when the 'Company' Reference field value is selected, the respective choices will show in 'Test choice' field
Company: Adobe systems
Test Choice: test1, test 2
Company: Apple
Test Choice: test3, test 4
Company: Citrix systems
Test Choice: test5, test 6
Company: Cyberlink
Test Choice: test3, test7
Hope this helps you. Mark the answer helpful if this helped you.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 03:39 AM
Thanks Bhaba, but this looks to be for the web ui and not the input form screen when developing in mobile app builder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 07:43 AM
Update on this query : Servicenow support have advised this was never and will never be supported
cheers