cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving PCD location

Former Member
0 Kudos

Hi,

Assume that I have an iView based on a portal component or a WD application. At runtime via some API I would like to retrieve the iView (and also the related page) in which my component runs. Is it possible somehow?

Regards,

Ferenc

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Ferenc,

request.getComponentContext().getContextName();

Hope it helps

Detlev

PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

Former Member
0 Kudos

Hi Detlev,

For portal component it works. Thanks!

Is there something similar for WD application, too?

Can I also obtain a request object in WD ?

Regards,

Ferenc

detlev_beutner
Active Contributor
0 Kudos

Hi Ferenc,

for "WD iViews" in the end are AppIntegrator iViews, redirecting to another server, you cannot determine the equivalent on WD side. All you could do is to modify the WD integrator iView implementation to pass this information as a parameter (nothing which I would advise).

Hope it helps nevertheless

Detlev