variable with suggestions in a catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2013 03:00 AM
Hi everyone,
I'm trying to develop a variable in a catalog item that shows the 'short description' field from the incident table for autocomplete the variable. I've tried to develop the variable as a reference with attributes, but when I select a value from the reference, the remaining value is the 'number' (the 'Display' column in the dictionary).
Anyone has an idea? Or has developed something similar?
Thank you so much!
Best regards,
jj,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2013 11:14 AM
I would use a text field variable on the catalog. Next, depending on the requirements, use either an onLoad or an onChange client script to query the INC short_description, grab it, and g_form.setValue('catalog_text_field_var', queried_INC_short_desc);
Since you are pulling the INC short_description, which is not a reference field, it may be best to place it into a regular text field on your catalog.