cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Externallink property of an external link file

Former Member
0 Kudos

Dear Expert

I have created an external link in KM, I need to read the link stored in the extenal link from webdynpro java. So I tried to read the property externallink, using the code

IPropertyName externallink=new PropertyName("http://sapportals.com/xmlns/cm/rendering","externallink");

IPropertyMap propertyMap= resource.getProperties();

String linkValue=propertyMap.get(externallink).getStringValue();

but I am getting Null in the above code, Where as I able to read all other properties using the above code. Please help me, how Can I read this property

Regards

Noel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Got the answer, by using the method getTargetURL

Former Member
0 Kudos

Hi Noel,

Am also trying to same and even facing same kind of problem can u give some inputs, how u clear the issue and am new to WDJ

please can u tell how u created the method getTargetURL.

hope u understand my probs.

ThanQ and Regardsing

vita.