cancel
Showing results for 
Search instead for 
Did you mean: 

Detect execution from Portal or direct URL

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Alejandro,

Check WDPortalUtils.isRunningInPortal

https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtil...

Bes tregards, Maksim Rashchynski.

Answers (1)

Answers (1)

Former Member
0 Kudos

message deleted: misunderstood question.