| |
ActiveReports 6 Support
Started by chrisgaber at 01-26-2010 3:47 PM. Topic has 5 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
01-26-2010, 3:47 PM
|
chrisgaber
Joined on 01-16-2010
Posts 15
|
|
|
Hello,
In your release notes for 6.0.2550 you mention that you can now load RDF format. The link that is states to go to for more information is not working
http://www.datadynamics.com/forums/Help/ActiveReports6/arWLKCustomFlashViewer.html
Can you give me more information about this? I have been looking at the following post (which I'm assuming is the same one referenced above)
http://www.datadynamics.com/Help/ActiveReports6/arWLKCustomFlashViewer.html
But I cannot find the LoadDocument method they indicate should be available.
Can you supply me with an example on how to implement this?
If it's no longer available...is there some type of callbank url that I can use with the Flash Viewer to indicate the RDF?
Thank you
Chris
|
|
|
|
|
Report
|
|
|
|
01-27-2010, 6:12 AM
|
Jon Smith - DD
Joined on 02-21-2007
Raleigh, NC
Posts 958

|
Re: Customize Flash Viewer
|
|
|
|
|
Chris,
First of all, the UseClientAPI property of the FlashViewerOptions needs to be set to True.
<dd:WebViewer ID="WebViewer1" runat="server" ViewerType="FlashViewer">
<FlashViewerOptions UseClientAPI="true" /> </dd:WebViewer>
Once this is done, you should be able to use the Attach method to get a
reference to the FlashViewer and then call the LoadDocument method.
For further reference, please see this walkthrough in our product documentation.
You can download this sample which demonstrates a few methods of
calling LoadDocument. One option is to load pre-rendered RDF files,
another to load RPX files by using the RpxHandler, and another loads
compiled reports by using the CompiledReportHandler.
-Jon
|
|
|
|
|
Report
|
|
|
|
01-27-2010, 1:36 PM
|
chrisgaber
Joined on 01-16-2010
Posts 15
|
Re: Customize Flash Viewer
|
|
|
|
|
Thank you Jon,
I have put this in but I'm still having a problem.
We use a report handler to generate the URL to the selected report we want to run. Ideas on how to accomplish this?
Before with the ActiveX control we set the DataPath equal to the generated URL and it worked great. I was hoping that we could do the same with the LoadDocument and pass that URL....not that easy evidently!
Your assistance is so appreciated!
Thank you
Chris
|
|
|
|
|
Report
|
|
|
|
01-27-2010, 2:27 PM
|
chrisgaber
Joined on 01-16-2010
Posts 15
|
Re: Customize Flash Viewer
|
|
|
|
|
Jon,
One other question...is it still the case that the source code is not available?
Our problem is that we can't determine how the URL that the FlashViewer wants is constructed. We had this issue with the ActiveX control in version 2 which required us to reverse engineer things to determine how to correctly construct the URL to supply the ActiveX control. But we can't do that with AR6.
We have a very complex web application and AR2 is working for us now..but the need to upgrade is definitely there. Is it possible to obtain the source code? If not what are our options other than looking for a new reporting tool?
Thanks
Chris
|
|
|
|
|
Report
|
|
|
|
01-27-2010, 11:41 PM
|
Sergey
Joined on 08-28-2004
Novosibirsk, Russia
Posts 3,015

|
Re: Customize Flash Viewer
|
|
|
|
|
Hello, As I understand you are looking for the way of passing the document URL in FlashViewer which is similar to good old-fashioned ActiveX viewer DataPath? If so, the other option would be to take over the job which is done by web-viewer on server-side by generating the client-code for FlashViewer, here is the example: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"> <param name="movie" value="flashviewer.swf" /> <param name="FlashVars" value="URL=[The Url of RDF document, the same as ActiveX DataPath would be]" /> </object> the sample for FlashVars parameter value: <param name="FlashVars" value="URL=/report.rpx?OutputFormat=Rdf3" />
Sergey Abakumoff GrapeCity
|
|
|
|
|
Report
|
|
|
|
02-02-2010, 7:35 AM
|
chrisgaber
Joined on 01-16-2010
Posts 15
|
Re: Customize Flash Viewer
|
|
|
|
|
|
|
|
|
GrapeCity » Product Support » ActiveReports 6... » Customize Flash Viewer
|
|
|
|
|