How do I add fields in incident form to service portal

dmarinos
Tera Expert

Hi,

I am sure this has been answered already. Any help would be great! 

 

In my incident form, I have 3 fields that need to be on my service portal

- Queue

- Category

- Subcategory

dmarinos_0-1721068958441.png

 

 

Subcategory is dependent on Category. Category is dependent on Queue.

Example:

 

Queue = Facilities

Category = Heating/Air Conditioning (This shows only categories related to Facilities)

Subcategory = Too Cold

 

All of the dependencies are already setup. If the queue Facilities is picked, the right categories show, if IT is picked, only IT categories will show. Works perfectly in this incident form. 

 

Issue I am facing: 

I need to add these fields, with the same dependencies to the service portal so the users are able to able to set this. How do I do this? 

1 ACCEPTED SOLUTION

dmarinos
Tera Expert

Hi All,

Thank you for helping me out. I found the solution to this. 

 

My Category was set to a Select Box. I needed it to change to a Lookup Select Box

dmarinos_0-1721236323152.png

 

Now, I have subcategory dependent on the Category, while Category is dependent on the queue. I needed to specify the Type Specifications to the following. The JavaScript line, you just need to change the "subcategory" and ".category".  

 

dmarinos_1-1721236440849.png

 

View solution in original post

9 REPLIES 9

AnirudhKumar
Mega Sage
Mega Sage

What page are you using to display incident on your portal?

If its a 'form' page, then set a view parameter.

 

In record producer, I have a "Create an Incident" page.

dmarinos_0-1721140762343.png

 

There variables are the ones that are displaying on the service portal page. The first 3 are the ones that are linked to Queue, category and subcategory. I have them here, but the dependency rules are not in affect. 

dmarinos_2-1721145580270.png

 

 

Sumanth16
Kilo Patron

Hi @dmarinos , 

 

Try to add fields to the Mobile view on incident table from list.

 

Please refer to below thread:

https://www.servicenow.com/community/itsm-forum/need-to-add-fields-in-my-incidents-in-portal-shown-b...

 

Hope this helps. Please mark the answer as correct/helpful .

 

 

Thanks & Regards,
Sumanth Meda

Thanks for this! I am looking to enable dependencies based off a field selection in the service portal.