Opendoc syntax that works in Infoview and crystal viewer

Hi,

We have used opendoc syntax in hyperlink (format field) of a field in Crystal report.

this is the syntax used:

"<href=../../../../../../opendoc/openDocument.jsp?sIDType=cuid&amp;iDocID=Abl2zciArzJPv2pkvkYqDtY&amp;sType=rpt

When we view this report in Infoview the URL is framed correctly and the target report is opening.

URL: http://<server>:<port>/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?....

But when the Crystal report having the hyperlink syntax is being called from an application using crystal viewer SDK, it is not framing the URL properly.

URL: http://<server>:<port>/businessobjects/opendoc/openDocument.jsp?....

Any help or suggestions to correct the same is appreciated.

thanks
ravi


palepuravi :india: (BOB member since 2003-10-28)

In XI R2, try this as the relative path for openDocument

../../opendoc/openDocument.jsp? ...

[/code]


Farhan Jaffery :us: (BOB member since 2005-08-27)

Hi,

Thanks for the reply, I did try that syntax for relative path. But, when i try that both in Infoview and through application is not framing the URL correctly.

URL is framed as below:

Infoview:

http://<server>:<port>/businessobjects/enterprise115/desktoplaunch/InfoView/plugin/crystalenterprise/report/opendoc/openDocument.jsp?

Through Application:

http://<server>:<port>/businessobjects/enterprise115/desktoplaunch/viewers/rpt/opendoc/openDocument.jsp?

any alternate way to match the folder path it traverses to find the opendocument.jsp??

thanks
ravi[/code]


palepuravi :india: (BOB member since 2003-10-28)