This plugin was generated with Typescript V2.5.2 and Webpack V2.3.2
To bind the dynamic user preferences .It supports for angular and non angular js applications.
-
To download wladapter.min.js and put it in application.Source Destination path (wladapter.min.js) is different depend upon the application environment.
-
To initialize configuration while rendering an application like as below
wladapter.init({ headerInfo: { 'title': getTitle(), 'name': 'GHX', 'href': 'href="."', 'handler': goToHomePage, 'imageUrl': 'images/header-logo.png' }, footerInfo: { 'imageUrl': 'images/footer-logo.png' }, favInfo: { 'imageUrl': 'images/favicon.ico' }, appMenu: { 'userName': 'admin', 'organizationName': 'GHX Organization', 'profile': { 'name': 'Profile', 'href': 'href="account/profile"', 'handler': '' }, 'preferences': { 'name': 'Preferences', 'href': 'href="account"', 'handler': '' }, 'impersonation': { 'name': 'Impersonation', 'href': '', 'handler': startImpersonation }, 'logout': { 'name': 'Logout', 'href': '', 'handler': logout } }, ssoProducts: getSSOProducts(), systemInfo: { 'name': 'GHX', 'href': '', 'handler': showSystemInformation } });