Can anyone give me some insight on how to include a MapSuite 3.x map in a Crystal Report?
Including map in Report
Jeremy,
We did a little research on the crystal report; we think we cannot integrate our map control into the crystal. I think you can leave a blank place on the report and overlap our map control with absolute position on the blank place of the report. The only disadvantage is that you cannot output the report with the map.
Anymore questions please let me know.
Thanks,
Howard
Jeremy,
Actually you can. You need to use theap suite engine edition though. We have a sample of this somewhere areound here. I will dig it up for you. I might not get it updated until tomorrow though but I wanted to let you know we do support it.
David
Jeremy,
The link below is to a white paper on how to do this. The paper was based on 2.x but the same ideas apply. The key is that you create a web page that generates and server a map based on parameters. In the SQL Reporting Services side you include the image as a web image from a server. You use the URL to point to the web server where you have the map rendering page hosted and you pass in the parameters in the URL.
gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/18/aft/4762/afv/topic/Default.aspx
Let me know if you have any questions. I will see if we can get this updated to the 3.x stuff. I think if you read the white paper you wont have any issues though.
David
David,
I saw this white paper, but noticed that it applies to SQL reporting services. Will this work for Crystal Reports as well?
Thanks!
Jeremy,
It seems Crystal can import an image at runtime from a URL and pass parameters. Please see the posts below.
crystalreportsbook.com/forum/forum_posts.asp?TID=1550
forums.asp.net/t/1398567.aspx
We have not had this request yet and don’t have many Crystal experts here. I hope the link above help you. If you run into issues we could try something on our side.
David
It seems that the version of Crystal that comes with VS2008 (10.5) expects the URL to be that of the IMAGE and not the URL of a webpage with our MapSuite Map on it. Is there a way to access the Map as a single image despite having mulitple Overlays?
Jeremy,
I think so, you just need to create an HTTP handeler to intercept the call to the image on the web server side. From there as long as the parameters get passed in the URL request you can create any kind of image you want. I suggest you use the Services Edition and MapEngine class to create the Jpep or Png image you return.
David