Null Pointer error with IWDPageService
I am encountering a development scenario where it makes sense to use IWDPageService. However, while the Web Dynpro project builds just fine on my local machine, when I run it in EP, I get a NullPointerException.
Here is some sample code that generates the exception:
IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE); String iViews = pageService.getVisibleIViews();
Is there some sort of library reference that I need to specify before deploying?
Thank you for any help you can provide.