how to remove server info from Hyperlink

Hi,

I have used the below hyperlink in my report

="<a href=\"http://pradeep-0320510:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=3884&amp;sType=wid&amp;sWindow=New&amp;sRefresh=Y&amp;lsS"+URLEncode("Enter Dname:")+"="+[Dname]+"\">"+[Dname]+"</a>"

This is working fine. After i red some article that says this is not a good practice to give server name in the URL so i removed as per the article and created one variable and assign the below code but it’s not calling detail report.

="<a href=\"../../opendoc/openDocument.jsp?iDocID=3884&amp;sType=wid&amp;sRefresh=Y&amp;lsS"+URLEncode("Enter Dname:")+"="+[Dname]+"\">"+[Dname]+"</a>"

pls help me ASAP.


bopradeep :india: (BOB member since 2009-08-03)

Hi Guys,

I am not getting any replay for my query. Please let me know if you are not clear my question.

Thanks & Regards,
Pradeep


bopradeep :india: (BOB member since 2009-08-03)

Hi,

Check this topic.


Prashu :india: (BOB member since 2005-08-17)

You can try adding the server name to your universe as a dimension object. Then in your report create a detail object based on the dimension object, and use the detail object in your hyperlink. Relative paths didn’t work for our deployment either.


bkaporch :us: (BOB member since 2008-12-02)