1: var oPanelManager = AAA.Fkb();
2: var sContentId = EPx.get('p-e-panelmanager-currentselected').BoB;
3: return (/^(home|mail|calendar|todo|contacts|notebook)\$/i).test(oPanelManager.EZV(sContentId)) ?
4: oPanelManager.getContent(sContentId).Cd : '';
Beginning in 8.0.1 lite mode and 8.5 full mode, every view or document tab in iNotes is called "content" and has an object associated with it. Every content object has an ID, and the content ID that the user is currently seeing can be obtained by:
Every content object has its group. It can be a functional area (mail, calendar, etc.) or "documents". The ID of the group can be obtained via EZV (getContentGroupId) method of the "panel manager". The panel manager can be obtained by AAA.Fkb(); (com_ibm_dwa_globals.getPanelManager()).
The content object can be obtained via getContent method of the panel manager. Cd (sValue) property of content object is the view/folder name. The view/folder title is in sTitle property.