Clarity Service Management

Expand all | Collapse all

What is the process for increasing the size of a text field?

  • 1.  What is the process for increasing the size of a text field?

    Posted 08-31-2017 10:23 AM
      |   view attached

    A request was made to increase the size of the Name field on list_nr.htmpl form from 20 to 60 char. What is the proper proceedures to acommplish. New to the CA Service Management platform. See attached.

     

    Thank you,
    Mike Beaulieu
    Enterprise Application Support
    Office Phone: 813-206-7842
    michel.beaulieu@wellcare



  • 2.  Re: What is the process for increasing the size of a text field?

    Posted 08-31-2017 10:38 AM

    Michel,  the length of the name field is controlled on the nr object in the schema, not at the firm level.   So if the field on the nr object itself is 20 char then it will be the same on the list form.   Is it that you have CIs with names longer than 20 chard but you cant search for them by complete name because the search form has the name field at 20 char?

    Jon




  • 3.  Re: What is the process for increasing the size of a text field?

    Posted 08-31-2017 11:09 AM

    Hi Jon,

     

    The CMDB team expects CI names to be longer than 20 char. I just gor this possible solution from Alex Perretti:

     

    http://www.servicedeskusers.com/Increasing_Default_Field_Size<https://communities.ca.com/blogs/TIAGOMACUL/2016/01/01/httpwwwservicedeskuserscomincreasingdefaultfieldsize>

     

    Thanks,

    Mike



  • 4.  Re: What is the process for increasing the size of a text field?

    Posted 08-31-2017 10:45 AM

    Mike,

     

    There isn't a "Supported" method for increasing a field length. The usual recommendation is to create a new custom field with the desired field length, and then update the forms to reference the new field instead of the old one. There is a supported procedure to increase the length outlined documented here as well:

     

    http://www.servicedeskusers.com/Increasing_Default_Field_Size 



  • 5.  Re: What is the process for increasing the size of a text field?

    Posted 08-31-2017 11:10 AM
      |   view attached

    Hi Alex,

     

    Thanks for the links, I need run this by my team. Also, we found this document from CA. Take a look at this and tell me what you think:

     

    Thanks,

    Mike



  • 6.  Re: What is the process for increasing the size of a text field?

    Posted 08-31-2017 12:11 PM

    Michel,

     

    The procedure should work in your instance. I need to note that I typed in error in my first message, this procedure in the link is *not* supported. Hopefully some members of the Communities may be able to assist though.



  • 7.  Re: What is the process for increasing the size of a text field?

    Posted 08-31-2017 12:22 PM

    Alex,

     

    Thanks for update.

     

    mike



  • 8.  Re: What is the process for increasing the size of a text field?

    Posted 09-07-2017 01:46 PM

    So this confused me at first because in both my 12.9 prod and 17 test environment, the official size limitation of the Name field is 100 characters, not 20.   20 is the visual size limitation in the list_nr.htmpl file.  That determines how WIDE the display field is, not how many characters it will store.  The instructions above that refer to MOD and SCH files refer to changing the underlying data tables.

     

    If you want to make the field wider, Edit list.htmpl with web screen painter and, double click on the Name field, change the number, save and publish the file.  Done.

     

    But you should have 100 characters to play with for the config item names themselves.  You'd see that in Web Screen Painter, Schema Designer.   Expand the NR object, scroll down to "name" and you'll see it should be string 100.



  • 9.  Re: What is the process for increasing the size of a text field?

    Posted 09-07-2017 01:51 PM

    **** it...  [Correction]  

    Edit the list_nr.htmpl for either the field width in the filter section (attribute SIZE) or the column width (attribute WIDTH)

    Edit the cmdb_detail.htmpl for the form level display field width.



  • 10.  Re: What is the process for increasing the size of a text field?

    Posted 09-07-2017 02:06 PM

    Hi Brett,

     

    Much thanks for the response. Yes, in the end it is not a schema change (yeah) but a WSP field size change on list_nr.htmpl.

     

    Mike



  • 11.  Re: What is the process for increasing the size of a text field?

    Posted 09-08-2017 05:52 AM

    Here is a document which will help in completing this customization as per the tec doc

     

    link: https://support.ca.com/us/knowledge-base-articles.tec476812.html

     

    Hope this helps further to the above suggestions.