Skip to Content

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

Detect execution from Portal or direct URL

Hello. Is there anyway to dectect whereas I'm executing the aplication from an embedded iView in portals or if I'm writing the application address directly??

The problem is that I'd like to hide some ui elements like the company's logo if the application is running embedded in portal, or show them is the application is running alone.

There are some reasons to keep both the direct version and the portal way.

Do you have any idea to achieve this?

Thanks

Former Member
replied

Hi Alejandro,

Check WDPortalUtils.isRunningInPortal

https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html#isRunningInPortal()

Bes tregards, Maksim Rashchynski.

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