I have an ssrs report server that I can display reports. When I view the page i get the familiar control to set properties etc. That generates an image with a url that hits this page: "Reserved.ReportViewerWebControl.axd" - with some scary looking ids and stuff.
Is there a way to get this image with all the controls around it? My goal is to embed this image in an email and on a webpage.
Thanks!
PS: I'm a complete SSRS newbie so sorry if this is totally obvious...
Related
I have a report with two dynamic images defined by database fields.
One is a location on our intranet :
ex: \<folder>\image.JPG
the second is being pulled from a web service :
https:////TraverseImage.ashx?parcel=312531800000010860&card=1
I followed this excellent walkthrough :
http://www.cogniza.com/wordpress/2010/03/15/crystal-reports-dynamic-images/
which suggests "set the formula’s text to the name of the formula or parameter field that will contain the image’s URL"
during design time both images display perfectly. When running the report or when changing parameters, the first one from the hard drive works perfectly, but the second one from the web service does not update. The only way to update it is to delete the image, and start over. I have put a hyperlink on the one from the webservice, and it correctly links to the image I want to display.
I am needing this to stay as a native .rpt and not embedded with VS.
I appreciate any suggestions, or comments.
Mark
Crystal dynamic image paths don't support https. Don't blame me; I'm just the messenger.
But you can solve this by using one of the 3rd-party UFLs listed here.
One of these UFLs allows you to use the graphic location expression for the image in Crystal to on-the-fly download an image from a given url, save it to a local file, and return the path to that file.
As added advantage, it can also resize the image to avoid a known memory consumption issue when Crystal is forced to resize images.
Is the path http or https?
If https you can use a UFL to solve this.
Currently I managed to show inside Crystal report QR code using Google Charts and dynamically change path of picture but the generated QR code is wrong. I need to show URL with GET methode (3 params) and link is showing only 1st param.
test URL which needs to be opened via QR code (formula "link")
"http://test.com/getData?param1=aaa¶m2=bbb"
formula for QR code and dynamically changing picture (it's http because Crystal Reports doesn't support https)
"http://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=" + {#link}
Those two combined form a string
http://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=http://test.com/getData?param1=aaa¶m2=bbb
QR code - wrong one (missing param 2)
If I change my link to (url encoding & into %26)
http://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=http://test.com/getData?param1=aaa%26param2=bbb
then I get with browser good QR code but in Crystal reports still wrong one (missing param 2)
QR code - good in browser but not showing the same in Crystal
I suspect that something is wrong with URL encoding in Crystal or different than browser encoding. Any suggestions how to solve this?
If this is due to http limitation, you can generate the QR barcode image locally using a Crystal Reports UFL. You can create your own or at least one of the 3rd-party UFLs listed here provides such a function.
After lots of hours trying encoding/decoding data I accidently figure out that it wasn't problem in data or URL. Only thing I had to do is check "use original URL" in picture properties. After that generated QR code was good and problem solved. Hope it helps someone and saves lots of hours.
I'm working on Laravel 5 and I have a view where I displayed some graphs of Charts, the thing is that I want to offer to the user, the posibility of download this report in PDF, I'm currently generating reports with DomPDF, but as I was reading, DomPDF doesn't support this kind of graph, so, How can I do it? I was thinking in generate a printing view, but then how I dowload it automatically?
Also, I was thinking to send the generated images through a post petition and then attach it to the generated PDF, can I do that?
for my company I am making a report in Xi3/Desktop Intelligence that pulls data via free hand SQL and makes a html file displaying the data, updating every 20mins. We want to incorporate a hit counter that will show us the number of times this report is being viewed.
I found a couple basic templates online. I tried copying and pasting them into a cell, but the output HTML page just displayed the full HTML (unrendered by my browser). I am decent at writing my own HTML, but I just do not understand how to stick my own HTML code in a dynamically updating report in Xi3.
Moreover, I doubt (for legality reasons) my company will be okay with me using a free hit counter template I find online, especially considering they all seem to reference a third party website to do the actual "counting." Any ideas of the best way to implement/learn how to create a visitor counter?
Thanks.
You can include HTML in a DeskI report. In the cell that contains the HTML, click Format Cell; on the "Number" tab, there is a checkbox for "Read as HTML". Make sure that's checked off. Note that you won't see the rendered HTML within DeskI, but it will display when viewed in Infoview.
I have done already a lot of small (and also bigger reports) with report viewer 2010. In most cases I give the user the possibility to select the destination-format (PDF, Excel and sometimes also word).
However I always encouter the problem that the page format settings are applied different in the different output formats: If I create a report and optimize it to PDF, set the page size and the borders, then design the report, the report looks good (Measures are correct, borders are correct). However if I export it to Excel, it always is to big. What in PDF gives me one page, is in excel on two pages (horizontally).
I checked the page borders in excel because I have read that there was a bug in an ancient report viewer with this, but they are exactly as specified in the reports properties. The paper size is also correct.
I also have set the report width over the properties grid (via F4) to PageWidth-LeftBorder-RightBorder, but this is the same.
I have also played around with the InteractiveSize, but this seems not to have an influence.
Is there something special to know about Excel-Exports from report viewer or is there a known bug? Has someone a solution for this behaviour?
It seems to me that in excel the same page format has half an inch less size than in pdf. Up to now I was never be able to create an exact copy of some paper report template. In the end, it was always something like making handicraft work, but I don't like that. I would like to understand whats going on.
As an additional information, I specify all metrics in centimeter, may be there is a problem with that? And the office is office 2010.
A real solution to this problem I have not found. Maybe this connect entry promises somethin for the future:
http://connect.microsoft.com/VisualStudio/feedback/details/636407/rdlc-excel-export-margin-problem#