How to hide the structure array field support.contacts in list

  • KM03092431
  • 12-Feb-2018
  • 12-Feb-2018

Summary

How to hide the structure array field support.contacts in list

Question

Customer want to hide the structure array field support.contacts in list but datadict does not support invisible setting for structure array field

1. Login SM windows client, go to System Navigator > Change Management > Search Change to search an open Change ticket, for example C10001

2. Select Tab Associated CI, and click on button "Add Attributes/Relationships"

3. Click Next

4. Select "Set Attribute Name and Values", and click Next

5. Click Add New Field

6. Check the values for Field in, you could find the structure array field support.contacts in list

 

Answer

1. Login SM windows client, fill sl in command line, and click enter key
2. Fill GetFieldNames in Name, and click Search
3. Backup the OOTB sl record by updating the Name to GetFieldNames_bak and click Add
4. Click OK.
5. Fill GetFieldNames in Name, and click Search, select the record "GetFieldNames"
6. Search the line
if ( file.field[j].type == 8 && file.field[j + 1 ].type == 9)
modify to
if ( file.field[j].type == 8 && file.field[j + 1 ].type == 9 && file.field[j + 1 ][0]!="support.contacts")
7. Click Save and click Compile and go to verify it