The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Where can I manually edit section JSON for SOW form sections?

johannaS
Tera Expert

I'm trying to adjust form/record section attributes manually with JSON (see image below) for Incident, Problem, Change, etc. and cannot find this. Can someone point me in the right direction?

 

johannaS_0-1756234717309.png

 

7 REPLIES 7

Dino D
Tera Contributor

Hey, 

   I am a little confused on the requirements, can you tell me what table your targeting with this? I tried creating this in my PDI and while I think I know what you're trying to achieve and there might be a few ways to get there.

 

If your working with gathering a list with those types of records:
  You want to use a list and target Task table as your base table and filter down to those Task Types in an OR statement. 

 

 If you have a predefined selection already setup in the system, you should be able to see what's there by following the data source. The temp one I made. It it using the data from the data source associated to the form and it looks like available sections on the form itself.

DinoD_Ambra_0-1756239213630.png

 

I feel like one of these is what you're aiming for, however I don't want to lead you down the wrong path. If you have more information for me to go off of, ill see what I can do to get you a better answer.

 

 

 

 

ssanders
Tera Contributor

I'm trying to set some of the sections to always be collapsed on the form view of incident, change, and problem. Fairly new to UI Builder.

Dino D
Tera Contributor

Hmm okay, I think I understand

 

So if you want to learn a bit https://www.servicenow.com/docs/bundle/yokohama-application-development/page/administer/ui-builder/c...

This is where I started as well as using templates and modifying them and breaking and fixing them.

 

However, for you're ask, I think you want to modify the the the form to look something like this (im using a task table with related lists of Stories and documentation tasks from the SPM module:

DinoD_0-1756248562610.png

Then I think you need to modify this instead

DinoD_1-1756248581083.png

If you're targeting incidents and looking for related change requests/problem cases this will show the related list based on the view its currently configured as (I assume default)

 

If you legit want separate forms for each, you might have to add multiple form controllers or a create a variables that changes when you click something specific or select a dropdown, depending on what you choose.

 

Hope this helps, if something is unclear let me know and ill be happy to explain.

ssanders
Tera Contributor

So, had I considered making it look like your image, that may have been the best option. However, I'm simply trying to make all form sections collapsed when all users load. See image below. Currently, they open expanded and the forms look too long.

ssanders_0-1756316784010.png

 

They currently open like this:

ssanders_1-1756316809491.png

Thanks so much for your help!