Hide a field in child table from extended parent table

Jakkamsetti Pra
Tera Contributor

Hi all, 

 

Could anyone please help on the below query.

 

Query: Need to hide a field in child table from extended parent table. It should not be there in list view, list layout and in gear icon.

 

Thank you.

6 REPLIES 6

sourav1999
Mega Guru

• To hide a field in a child table from an extended parent table, you can use the Hide from extended tables checkbox in the dictionary entry of the child table field.

• This checkbox is available for fields of type Reference, Text, and Glide List type.

• It is not available for fields of type String, Integer, and Date/Time.

• When you check this box, the field will be hidden from the extended table view and will not be displayed in the list or form view.

• You can also use the ACLs on the extended table to hide the field from the view.

 

For asking ServiceNow-related questions try this :

For a better and more optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.

Link - https://nowgpt.ai/

 

For the ServiceNow Certified System Administrator exams try this :

https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER

FYI @sourav1999 your GPT build has an internal server error at the moment. 🙂

alicja01
Tera Contributor

 To hide a field in a child table from an extended parent table, you can use the Hide from extended tables checkbox in the dictionary entry pubg of the child table field.

• This checkbox is available for fields of type Reference, Text, and Glide List type.

• It is not available for fields of type String, Integer, and Date/Time.

• When you check this box, the field will be hidden from the extended table view and will not be displayed in the list or form view.

• You can also use the ACLs on the extended table to hide the field from the view.

 

Amit Gujarathi
Giga Sage
Giga Sage

HI @Jakkamsetti Pra ,
I trust you are doing great.

  1. Identify the field you want to hide in the child table and determine its column name. Let's assume the field is called "my_field".

  2. Open the ServiceNow platform and navigate to the child table.

  3. Go to the "Dictionary" module and search for the child table by entering its name in the search bar.

  4. Click on the child table's name to open its dictionary entry.

  5. Locate the "my_field" field in the list of fields and click on it to open its dictionary entry.

  6. In the dictionary entry for "my_field," locate the "Attributes" section.

  7. Add the following attributes to the existing list of attributes:

    • no_list="true": This attribute removes the field from the list view of the table.
    • no_form="true": This attribute hides the field in the form layout of the table.
    • no_context="true": This attribute removes the field from the gear icon context menu.
  8. Save the dictionary entry.

After following these steps, the "my_field" will be hidden from the list view, list layout, and gear icon context menu in the child table.


Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi