How to create a simple report with AS3 Flash then print it (since there is no report engine in Flash) ?
My app (developed in Flash) is a simple survey form, so peoples use it to fill their answers, then there is a button to review their answer (like Microsoft Word print preview page, before you print it).
Its better addition if we can export it to pdf or excel format
Quick way to do it is generate a HTML page from as3 and execute it with default browser and let the user print from there.
Related
i have .NET application where i have iframe and i am loading SSRS drildown mobile report URL into iframe and it's working but when i moving to 2nd lavel of drildown report it's loading report but report header apears which i don't want to show to the user.
i am using below URL to load drildown report
iframe.scr = "http://Desktop-1213/SSRSReports/mobilereport/MainReport?rs:Embed=true";
want to remove the hignlighed in red color one.
another way i have tried, used rs:Embed=true in dripthrough custum URL option but it's opening in different window. but i want in same window.
let me know if need more clarification
Take a look at the documentation here and search for rv:HeaderArea. It may lead to a workable solution. I would also be curious what rc:toolbar=false would look like in your situation.
https://learn.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference
If all else fails you can retrieve the raw report as html40 directly form the api, however, most of the navigational features will have to be re-implemented.
My clients have upwards of 40 reports with very similar parameters. These are hosted on SharePoint, but are consumed by users through a web application, and so when a report is selected and the parameters are shown, the report's title is lost. My clients are irritated that they don't know, from the parameters page, which report is being displayed (many have very similar names and they are selected from a grid, and so mis-clicking is an issue)
Is there some trick to showing the report title on the parameters page?
Thanks
Edward
I will suggest to add an additional parameter and show the report name in that.
Some points to highlight in your question.
First, I don't know any trick for showing the title in the parameter pane, as a matter of fact, I don't believe it does exist. Showing it as a parameter is something that I wouldn't do as a solution for a customer.
Second, not showing the little line with the report's path is something that can be chosen when invoking the report (by means of url, see links below) and if they are accessing through another web application, this should be the one taking care of this matter. Note that if you show the url or the little line with the path, you can compromise security (access will depend on folders setup, but you leave a door open). This web application should know what is it showing and should display the right name (any the actual report's name or a custom name within the web app). This is what happens when you embed SSRS reports using a browser in an external app.
Third, the report itself should have a title displayed once the report is executed.
As a summary, I don't believe this issue's solution is under SSRS management/development scope.
Links to know more about executing SSRS with an URL.
http://msdn.microsoft.com/en-us/library/ms155391.aspx
http://msdn.microsoft.com/en-us/library/ms155391.aspx
As you can see, there are lots of things that you can do playing around with the url, such as:
Pass parameters
Hide path pane
Hide parameters pane
Render format, you can call an url asking for an excel or pdf render and you get the download dialog for the file.
Hope this helps.
By clicking on a button named " generate report" or "summarize" some sort of pop-up would show summarizing the collected data showing value like average, total, etc... it also comes with a graph. On the corner of the page displaying summarized results there would be a print button to print the summary page
How would I open a new window/tab or some sort of section to display the report?
And how would i be able to print it in the same format as it is?
You can use jQuery UI dialog to create modal popup. Inside of this dialog you can put everithing you need. But if need to pring it - better create in js new window and put information there:
window.open();
To print browser window content just call in onClick for your button:
<input type="button" value="Print" onClick="window.print();" />
For graphical information I prefer jqPlot. Try it - that is nice tool. See demo here.
If you need high quality printing than generate pdf or xlsx. If you use java and tomcat you can easilly integrate JasperServer to your application.
Totally new to flash and actionscript. What I want to do is retrieve a URL into a page (probably in a hidden frame or something), populate the form it contains with the correct fields (via my script), including possible data to upload, then submit it back. I guess an analogy use-case would be if I had a user choose a picture and then which site to upload it to (tinypic, flickr, etc), the script would download the main page, fill in the form data, attach the pic, and submit it. I saw a similar example in php somewhere, but I need to do it in flash.
I can probably get it eventually by myself, but if someone could point me in the right direction (keywords, functions to use/avoid, etc) I'd really appreciate it!
Rather than retrieving the form and trying to fill it out just use actionscript to directly post to the server side script.
Reading MSDN (and other sources) about custom report items (CRI) for reporting services 2005. It looks like I'm limited to generating a bitmap. Not even with some mapping overlay for detecting mouse clicks on it. Is there away to go around this? There are two things I would like to do:
Embed HTML directly into the report, to format dynamic text.
Embed flash (swf) control in the report. This could be done with HTML if the previous point is possible. But maybe there is another way
Any suggestions? What am I missing?
You didn't missing anything.
For me, like you mentioned, the main disadvantage is, that with a CRI you can only render images. You don't get any scalable text or something similar.
If you want include swf, you need to render it as static image.
You can render the report as HTML and include the report using a floating frame in a page with the swf file. You can use functions to format dynamic text. SSRS 2008 solves some of these problems with the "richly" formated textbox (not RTF). it may worth a look, if it's an option.
You might want to take a look at Data Dynamics Reports which has all of the RS features and has better support for custom report items with a complete API not just bitmaps.