cancel
Showing results for 
Search instead for 
Did you mean: 

To get dynamic URL of a WebDynpro Application

Former Member
0 Kudos

Hello All,

I am trying to find out a way to get the URL of a WebDynpro Application that is manufactured at runtime i.e. the URL I want to get is dynamic and not a static one.

Has anyone got any ideas about this?

Regards,

Shakul.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Siddharth,

thanks for your help, the code snippet you provided was quite informative.

Keep posting!

Regards,

Shakul.

siddharth_jain
Active Contributor
0 Kudos

Hi,

try the following Code to get the WD application URL

// Get name of deployable object this component belongs to

String deployableObjectName =

wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();

try {

// Get deployable object part of the application.

// Web Dynpro Project (Deployable Object)

WDDeployableObjectPart deployableObjectPart =

WDDeployableObject.getDeployableObjectPart(

deployableObjectName,

<Application Name>,

WDDeployableObjectPartType.APPLICATION);

url = WDURLGenerator.getApplicationURL(deployableObjectPart);

Siddharth

amolgupta
Active Contributor
0 Kudos

Hi,

the url does not change every time.

it remains constant once created.

i give the urls of my applications to my lead

and he uses the same url everytime he wishes

to check my applications.

regards,

-Amol Gupta

Former Member
0 Kudos

Hi,

refer the following blog.

Analyzing Web Dynpro Java Application Performance with a Simple URL-Parameter

hope it will help u.

Former Member
0 Kudos

Hello Abhilasha,

thanks for the effort but the blog is really on something different altogether, I do not want to measure any perfromance indices. I have a simple requirement of getting the URL of the WebDynpro Application which is generated at runtime and hence is dynamic.

Thanks for responding

Regards,

Shakul.