Integration using Atlas

If you are not using Atlas yet, you will first need to follow the instructions to install Atlas

Once you have Atlas up and running, there are a couple of things you can customize on the Global Navigation Menu by calling one of the following methods:

Customizing the Services menu

setCurrentService

    
      var serviceCode = 'DCC';
      setCurrentService(serviceCode);
    
  

Where serviceCode can be one of the Available Services

This wil set the name of the current service on the menu option and make the current service that we pass be sected on the UI as follows (Cloud Application Manager on the example)

Link list with selected Service

setServicesList

    
      var servicesList = ['CAM', 'DCC'];
      setServicesList(servicesList);
    
  

Where servicesList is an Array of available services codes. Only the Services passed on the Array will be displayed on the menu. If not specified, all the Available Services will be displayed.

Customizing the Sites menu

setCurrentSite

    
      var siteCode = 'MAN';
      setCurrentSite(siteCode);
    
  

Where siteCode can be one of the Available Sites

This wil set the name of the current site on the menu option and make the current site that we pass be sected on the UI as follows (Optimization on the example)

Link list with selected Site

setSitesList

    
      var sitesList = ['MAN', 'OPT'];
      setSitesList(sitesList);
    
  

Where sitesList is an Array of available sites codes. Only the Sites passed on the Array will be displayed on the menu. If not specified, all the Available Sites will be displayed.