- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2014 07:09 AM
All,
In Service Request, I have reference fields to another table and the default length is set. How can we make it longer?
Thanks,
Salvador
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2014 08:10 AM
Hi Salvador,
My answer was relating to variables. It's definitely possible, you just have to use scripting. Here's a more informative guru post about it:
http://www.servicenowguru.com/system-ui/field-styles-service-catalog-variables/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2014 07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2014 07:51 AM
You won't be able to use Personalize styles as it is a Catalog Item. Style only works for form fields.
You might want try writing a Catalog client script to customize the style.
Thanks,
Avneet

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2014 07:59 AM
Hi Salvador,
You can do that in an onload catalog client script with the following. It's grabbing the id of the input element and setting the width in px. This should at least get you started.
$('sys_display.' + g_form.getControl('variablename').id).style.width = '400px';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2014 08:08 AM
I have mistaken my question...I stand corrected...I meant variables (not form fields). I just checked with ServiceNow HI and they said it is not supported. I initiated an Enhancement Request to SNC.
Thanks all!!!!!