Search and Conditions for Reference fields on Input Form Screen

Rudi2
Giga Guru

Hi Guys

I need assistance with the input form screens please!

I have a top form edit function and I have created a reference for the "assigned to" field on the case form to be edited.

I have followed the docs and the great video from David Ha it is working, except for 2 input attributes:

1. The EnableSearch input attribute is not working, so users cannot search.

2. The Conditions attribute works but I cannot get the list of users based on the assignment group, there is no dependency. Has anyone done anything similar or used an encoded query that works? I tried script include, no luck.

This Instance is in Rome

 

Thanks

1 ACCEPTED SOLUTION

Hi Jidesh

Pavan is correct, I have opened the input attribute for EnableSearch on the platform and changed "1" to "true". This is also valid with the Inline Input Attributes.

What I have done with the dependency on "assigned to" is to add the assignment group above that when choosing to update the values. the other thing you can try is to add the DependentInputId (not documented) attribute to the list of input attributes on the platform list view and the value will be the sys id of the assignment group input field.

This Video Explains it as well: Mobile App Academy

 

I am now experiencing issues with mapping HTML Fields and selecting Journal Fields as an input to be updated.

View solution in original post

10 REPLIES 10

jxsentara
Tera Contributor

I am also experiencing this problem and as noted --- you have to change the value on the input attribute for EnableSearch from 1 to true and the search appears. Kind of embarrassing for ServiceNow to have not updated the docs with the dependentinputid attribute and not to have updated the code that handles this. It's probably because the toggle switch in javascript usually sets 1/0 for on and off and they just kept the toggle switch value without converting it from true to false. 

However, the second part I am also stuck on. How to make it dependent on the assignment group and clear out the assigned to user when the assignment group changes?

@David H