Accessing PortalRuntime at runtime?
I am currently trying to write a WebDynpro application, which should access the portal-UWL.
In this context I am trying to access a PortalRuntime-method.
I have read, that I have to add a shared reference to my project....PORTAL:sap.com/com.sapportals.portal.prt.runtime.PortalRuntime
But this reference does not work.
Does anybody have an idea how to solve this problem?
Thank you and kind regards, Patrick.
use WDPortalUtils.getServiceReference instead of PortalRuntime.
IUWLService uw = (IUWLService)WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);