Hiding Fields and Tabs in Visual Intercept Web

 



Hiding Fields and Tabs in Visual Intercept Web

When customizing Visual Intercept Web to suit the needs of your environment, you may find that there are certain stock fields or tabs that you wish to remove from view. This can easily be accomplished by editing Visual Intercept Cascading Style Sheets.

Hiding Document Fields

When making the decision to hide fields in Visual Intercept Web document types (Accounts, Contacts, Hardware, Incident and Project), you first must determine which Style Sheet to edit. The style sheets are located by default in the C:\Inetpub\wwwroot\VIWebDev\StyleSheets directory. It is recommended that you make a copy of the original style sheet and save it to a safe location in the event that you need to revert back to the original layout and to note that hiding fields is a global solution that will affect all users of the Web product.

If you have enabled custom fields to appear on ALL tabs, you would edit the following set of style sheets:

Document Without Custom With Custom
Account iwacctfm.css iwacctfm_custom.css
Contact iwcontfm_.css iwcontfm_custom.css
Hardware iwhdwrfm.css iwhardfm_custom.css
Incident iwincdfm.css iwincdfm_custom.css
Project iwprojfm.css iwprojfm_custom.css

To edit the style sheet:

  1. Open the appropriate style sheet with notepad.
  2. Locate the field and its associated label (each field has a label attribute that is prefaced with #lbl).
  3. Change the Visibility attribute for both the field and its label from VISIBILITY: inherit; TO Visibility: hidden;
  4. Save the changes to the file.

Hiding Document Tabs

Hiding tabs in Visual Intercept Web document types is accomplished by editing the associated document tabs xml file. These files are located by default in the C:\Inetpub\wwwroot\VIWebDev\Manager directory. It is important to note that hiding fields is a global solution that will affect all users of the Web product.

Depending upon which Visual Intercept Web Document type that you wish to change, you would need to edit one of the following files (note that the Incident document has 2 associated files):

Document Tab XML Definition
Account iwaccttabs.xml
Contact iwconttabs.xml
Hardware iwhdwrtabs.xml
Incident iwincdtabs.xml
New Incident iwnewincdtabs.xml
Project iwprojtabs.xml

To hide the tabs:

  1. Using Notepad, open the appropriate xml file listed above. In this file, you will see a number of lines similar to the following: <viTab size="small" name="SCCS" hidden="no">SCCS</viTab>
  2. Change the Hidden attribute from “no” to “yes” ( hidden="no" to hidden="yes")
  3. Save the changes to the file.

If you have other questions about issues not included in or beyond the scope of this Tech Tip, please contact Elsinore Technical Support Services at or 866.866.0034, option 2.