Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 16, 2007 at 07:44 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 07:11 PM

    message deleted: misunderstood question.

    Add comment
    10|10000 characters needed characters exceeded