Opendocument - CRYSTAL Report Parameter - ActiveX viewer

HI,

Can you use opendocument with activex viewer and pass parameter. We can get opendocument to use activex viewer but cannot pass any parameters over.

rs


rs90144 (BOB member since 2006-04-18)

Hi rs,
Please have a look onto this page:
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_dg/Report_Linking13.html

Should help you :wink:
Best regards
Mafi


Mafi78 :de: (BOB member since 2006-10-12)

The answer to your question is yes.
Take a look at the link that Mafi posted. You can use these Open Document parameters to specify the viewer and the report parameters.
So if I had a parameter in my Crystal Report called “Country” and it accepts a single value, then parameters on my open document might look something like this:

Java:
http://servername/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=rpt&sPath=[samples]&sDocName=My Report&sViewer=actx&lsSCountry=USA

.NET
http://servername/businessobjects/enterprise115/desktoplaunch/InfoView/scripts/opendocument.aspx?sType=rpt&sPath=[samples]&sDocName=My Report&sViewer=actx&lsSCountry=USA

I read in the OpenDocument whitepaper recently that sViewer is deprecated, which means it will be going away at some point. It works fine now, but it may not if/when you upgrade.


breed :us: (BOB member since 2007-11-14)

Hi,

Is it possible to pass multiple prompt values for a report using an ActiveX viewer ? I tried a number of things but couldn’t get it done. The prompt box appears in Infoview whenever I access the opendoc link. I guess there is something wrong with my syntax in defining multiple values – ie. [Open],[Cancel] – although this works well using dhtml viewer

Any ideas ?

This works using dhtml viewer


http://devbi.cdmatech.com/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=247098&sType=rpt&sViewer=interactive&lsMStatusPrompt=[Open],[Cancel]

This doesn’t work using actx viewer


http://devbi.cdmatech.com/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=247098&sType=rpt&sViewer=actx&lsMStatusPrompt=[Open],[Cancel]

AnthonyJ :philippines: (BOB member since 2006-06-30)