WD Page Service for finding active iViews

Use Page Service to show the list of iViews that are currently visible.

IWDPageService pageService = (IWDPageService)
 
    WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
 
// String array receives iView names
String[] iViews = pageService.getVisibleIViews();

Using Page Service to display/hide iViews

IWDPageService pageService = (IWDPageService)
    WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
 
// display iView Search
pageService.showIView("Search");
 
// hide iView Details
pageService.hideIView("Details");
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License