Can any one tell about the single line text and multiline text in service catalog and difference between among them.

Chandramouli2
Kilo Contributor

Can any one tell about the single line text and multiline text in service catalog and difference between among them.

7 REPLIES 7

Mark Roethof
Tera Patron
Tera Patron

Hi there,

The presentation of both differ. Just the height, and being able to have breaklines. Nothing more. Without additional attributes etc, Single Line could for example contain 255+ chars (which on platform UI string field would be multiline)

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Kunal Varkhede
Tera Guru

Hi, Chandramouli

 

The multi-line text variable creates a field that lets you enter multiple lines of text.

Example: multi-line text variable Example of a multi-line text variable

The single-line text variable creates a field to enter a single line of text. For attributes supported by this variable, see variable attributes.

Example :single-line text variable Example of a single-line text variable

 

Please Mark Correct answer if it helps you.

Thanks and Regards,

Kunal.

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi Chandramouli,

One more differences is the ‘Max Length’ value that you set on the dictionary entry for the string field. Any string field with a max length value less than or equal to 255 will be rendered as a single-line text field. As soon as you hit 256 or more characters for the max length, the field is changed to a multi-line text field.

You can go through this link you get clear idea https://www.servicenowguru.com/scripting/client-scripts-scripting/maximum-length-large-string-fields-servicenowcom/

 

I hope it will help you. Thanks and Regards, Kunal.