How to resolve Form Sections duplication while moving update set to other instance

apurva3
Tera Expert

apurva3_0-1767194132758.png

 

The duplicate form section are generated while committed the update set to test instance. Even Try with creating new form View but facing the same problem.

Need Help how can be resolve this?

 

6 REPLIES 6

In domain separation, parent domain records showing up in child domains is normal — that visibility is by design. Domain settings alone won’t let you “hide the parent domain section” when someone in a child domain opens the ticket.

To restrict what they see, you need to do it with ACLs (field/record security):

  • Put field-level read ACLs on the fields in that “parent” section.

  • In the ACL, only allow read when the user is in the same domain as the record (or whatever rule you want).

  • When the fields are blocked by ACL, they won’t render on the form, and that section will effectively disappear (or be empty).

So the fix is: use ACLs to control visibility, not domain settings. If you tell me the ticket table (incident/case/etc.) and which fields are in that section, I can tell you exactly which ACLs to add.

 

Example Logic: gs.getUser().getDomainID() == current.sys_domain

 

@apurva3 - Please mark Accepted Solution and a Thumbs Up if you find Helpful!!

MJG

Hi Buddy,

In this case, the parent-domain section appears because child-domain users are still being shown the Default view, which includes that section.

The clean way to prevent this is to use a separate form view for child domains:

  1. Create a new Incident view (for example, Child Domain View).

  2. Remove the parent-domain–specific section from that view.

  3. Go to Form View → Domain Overrides.

  4. Update the override that applies when a child-domain user views a parent (TOP) domain incident, and set it to use the Child Domain View.

  5. Leave the TOP-to-TOP override unchanged so parent-domain users continue to see the full form.

With this setup, when a child-domain user opens the ticket, ServiceNow automatically loads the child-specific view and the parent-domain section is no longer shown.

 

@apurva3 - Please mark Accepted Solution and a Thumbs Up if you find Helpful!!

MJG