Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Content Freeze

As of July 25th, 2023, there is a content freeze on this page.

Menu items can be filtered based on custom criteria, such as a company number, using these steps:

  • Populate the Menu Items Filter file (ATNAVFP)

  • Add a custom HTML control to the login page that allows the user to set the filter criteria.

Add a record to this file for each desired menu item, user/group, and filter string combination. See Atrium Database for file details. For example:

Menu Item Filter File (ATNAVFP)
ANFITEMANFIDANFILTER
110COMPANYA
210COMPANYB

These records will cause menu item #1 to be hidden for user/group 10 unless the user selects filter criteria 'COMPANYA'. For the same user/group, menu item #2 will be hidden unless the user selects 'COMPANYB'.

Call the Atrium.setMenuFilter() API to store the user's selection. For example:

<label>Select company:</label>
<select onchange="Atrium.setMenuFilter(this.value);">
  <option value="COMPANYA">Company A</option>
  <option value="COMPANYB">Company B</option>
</select>




  • No labels