Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IWDPageService - Need information


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)


// String array receives iView names

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

IWDPageService pageService = (IWDPageService)


// display iView Search

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

// hide iView Details

PLease suggest me.



Former Member
Former Member replied


use th following link,

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

Null Pointer error with IWDPageService



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question