- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:44 AM
Hello Developers,
What are these Attributes on catalog item?
How do we use them?
I have a situation,
I have created a reference field in the item referring to 'cmdb_ci_business_app' table & there is a custom field on the table called 'A-Code'.
On the Portal I wish to show the Name & A-Code of the Business App records
These 2.
Please guide me on what should be added under Attributes to display both Name & A-Code.
Thank you in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:49 AM - edited 05-24-2024 02:51 AM
Hi Naveen,
Here is a list of variable attributes
Service Catalog variable attributes (servicenow.com)
You need the attributes below to fulfill your requirement
ref_ac_columns
ref_auto_completer
It should be something like this
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=<field name>;<field name>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 07:32 AM
Add the field names here
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=<field name>;<field name>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 05:01 AM
I had mentioned both the variables
Name & A Code.
It's reflects both variables when searching but post selecting only Name is stored on the variable.
Is it possible to store both Name & A Code?
EX:- 4C Project A00000000
If yes, What extra should be added to Attribute?
Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 05:04 AM
After you select it will show only 1 , which is the display value for the table being referenced.
That cannot be changed.
What you can do is maybe create a read only variable and using an on change client script , fetch the other value and populate it in this field.