cancel
Showing results for 
Search instead for 
Did you mean: 

IWDPageService - Need information

Former Member
0 Kudos

HI,

I have one portal page which contains two iviews.I want to use IWDPageService for my requirement.

If I make right hand side iview invisible,then lefthand side iview should occpy the entire page.

Similarly if I make lefthand side iview invisible,then the entire page should be occupied by the right hand side iview.

I tried all possible way to do this.Please suggest me.Here is my sample code:-

IWDPageService pageService = (IWDPageService)

WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);

// String array receives iView names

String[] iViews = pageService.getVisibleIViews(); //-->Here I am getting the length of the array as 0

IWDPageService pageService = (IWDPageService)

WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);

// display iView Search

pageService.showIView("<iview ID>");

// hide iView Details

PLease suggest me.

Regards

-Sandip

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

use th following link,

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1aa4d188-0e01-0010-2382-c5c65202...

also refer to this post (for ARRAY BEING EMPTY).

Regards

Jayapriya

Answers (0)