Modify secondary fields displayed on header

Aswin2
Tera Contributor

Looking to modify the values presented on the header. On the config it is referring to 

@ Data.gform.nowRecordCommonHeader.secondaryItems. Can anyone help where I can find it ? Thanks in advance.
1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Aswin,

Generally the gForm data resource is pulling the secondary items from the UX Form Header record for the workspace you're in. I would go to the UX Form Header table in your instance, filter down to the workspace experience and table you're looking to edit, and then edit the Secondary Values related list. 

Take a look at the following screenshots in order to update the secondary items on an incident record in the Service Operations Workspace.

 

BradTilton_0-1678718073566.png

BradTilton_1-1678718202385.png

BradTilton_2-1678718333249.png

 

View solution in original post

3 REPLIES 3

Syedmd08
Kilo Guru

Based on the configuration item you provided, it seems that you are working on a Google form that is integrated with ServiceNow.

In ServiceNow, you can find the integration configuration for Google Forms by navigating to the "Google Forms Integration" module. To do this, you can follow these steps:

  1. Log in to your ServiceNow instance as an administrator or someone with the necessary permissions.
  2. Search for "Google Forms Integration" in the navigation bar or in the application navigator.
  3. Open the "Google Forms Integration" module.
  4. Look for the configuration record that corresponds to the form you are working on. You can filter the records by form name or by other criteria, depending on how the records are organized in your instance.
  5. Open the configuration record and look for the "Data" field. This is where the JSON object that contains the header configuration is stored.
  6. Within the "Data" field, look for the "gform" property, which represents the Google Form object.
  7. Within the "gform" object, look for the "nowRecordCommonHeader" property, which represents the header object for the ServiceNow record that the form is submitting data to.
  8. Within the "nowRecordCommonHeader" object, look for the "secondaryItems" property, which represents the array of secondary items in the header.

You should be able to modify the values in the "secondaryItems" array to change the content of the header. Make sure to save your changes after making modifications.

 

Please mark my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Aswin,

Generally the gForm data resource is pulling the secondary items from the UX Form Header record for the workspace you're in. I would go to the UX Form Header table in your instance, filter down to the workspace experience and table you're looking to edit, and then edit the Secondary Values related list. 

Take a look at the following screenshots in order to update the secondary items on an incident record in the Service Operations Workspace.

 

BradTilton_0-1678718073566.png

BradTilton_1-1678718202385.png

BradTilton_2-1678718333249.png

 

Hello Brad Tilton,

 

Do you know if we have a limitation on the number of secondary values? I added a lot of secondary values and the latest secondary values disappear.

 

Thank you in advance,