Autodesk 15606-011408-9300 Developer Guide - Page 116
Setting Up the Report in Autodesk MapGuide Author
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 116 highlights
Setting Up the Report in Autodesk MapGuide Author We'll start by specifying report information in Autodesk MapGuide Author. Our report will be called Parcel Data (ASP) and will access a server page whose URL is http://www.yourserver.com/asp/parcel_report.asp. The server page will display information about user-selected features on a layer called Assessment. The Map Window Properties dialog box shows our selection. Dialog box specifications for Parcel Data (ASP) Here are descriptions of how we used the options on the Reports tab: I Report-Specifies the name of the report as it appears in the Autodesk MapGuide Viewer. Our report is named Parcel Data (ASP). I URL -Specifies the name and location of the report script, in this case parcel_report.asp on www.yourserver.com. I Data-We left this field blank but could have used it to pass additional URL parameters to parcel_report.asp. For example, if our server page contained definitions for more than one query, we could have passed a parameter telling the file which of the queries to run. I Type -Specifies whether the report is based on the keys of selected features (as this one is), or on the coordinates of a point the user clicks. I For Map Layers-Specifies the layer or layers you want the report to be linked to. Our report operates only on features on the Assessment layer. I Parameter-Specifies the name of the URL parameter used to send the feature key (or keys) to parcel_report.asp. The name can be anything you want, as long as it matches the name you specified in parcel_report.asp. We've selected the Autodesk MapGuide Author default, OBJ_KEYS. 116 | Chapter 6 Using Reports to Query and Update Data Sources