Record producer reference variable, Variable attributes issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 11:39 AM
Hi Forum,
How can I set the fields for the reference table window on the service portal.
Here it is my issue,
I have some record producer with reference field to Location table, now I would like to display location code, street, city and zip code columns in the display window, with in the servcienow its working properly, but not in the service portal. its showing 3 time location code.
1st: how can I set like this sequence location code, street, city, zip
2nd : How can I give the end user search the location by locations, streets, city and zip codes.
Currently Variable attribute: ref_auto_completer=AJAXReferenceCompleter,ref_ac_order_by=u_location_code,ref_ac_columns=u_location_code;u_display_name;street;city;zip
Thanks in advance.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 07:36 AM
Its working when user put something in the search, but my customer asking me, without out any keyword anything in the search, they wanted to see the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 10:49 PM
Hi,
it would work only when somebody types in
without they type it won't show. This is OOB behavior
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020 12:52 AM
Hi,
Did that work when form loaded or it worked when you took control to that variable?
Not tried that yet
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020 12:55 AM
Hi Ankur,
Since onload the reference list won't load. When you click on the field (when taking the control).It will show the list with all the values.
You can try that as well it will show in the format which we have defined in the attributes.
Thanks,
CB