Skip to Content

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

Accessing PortalRuntime at runtime?

Hi all,

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.

Former Member
Former Member replied

Hi,

use WDPortalUtils.getServiceReference instead of PortalRuntime.

IUWLService uw = (IUWLService)WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);

Siddharth

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