We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Description is to be added in portal under requests

poornima batchu
Tera Expert

HI everyone, 

I am trying add description field in the service portal under my requests along with assigned to person and short description. Could anyone provide possible ways to achieve this..?

find_real_file.png

1 ACCEPTED SOLUTION

Not applicable

You will have to do it on variable attribute level:

For example, to allow for entry of an address, set max_length=200, or other appropriate length.

Applicable variables: Single-line text, Wide single-line text

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/service-catalog-management/...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

9 REPLIES 9

hi dhruv,

 

Instance options is restricting but instance page editor can be accessed. It is showing only scripting part.

Not applicable

Hi @poornima batchu ,

If you are able to to see the script part then:

Just add the required column names in your server side code. 

var fields = $sp.getFields(gr,'assigned_to, description, short_description');

 

Also, you can refer to :https://community.servicenow.com/community?id=community_question&sys_id=97dd5610db89b0504819fb243996...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

 

thanks for the solution sandeep but as the description part is too long how can we set a character limit like 150 characters to be displayed in the portal.

 

Not applicable

You will have to do it on variable attribute level:

For example, to allow for entry of an address, set max_length=200, or other appropriate length.

Applicable variables: Single-line text, Wide single-line text

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/service-catalog-management/...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Not applicable

Hi @poornima batchu ,

Any update to this ?Any follow-up required? if not

Kindly mark the answer as Correct & Helpful both such that others can get help.

Thanks,
Sandeep