Autodesk 15606-011408-9330 User Guide - Page 149

Working with Reports

Page 149 highlights

Working with Reports Help Index reports adding to maps You can design customized reports for your map. When you link a report to a layer, an Autodesk MapGuide Viewer or Autodesk MapGuide Author user can select features on that layer and then generate a report for those selected features. You can also add reports that are not linked to any layer, so that when the user clicks a point on the map, the report is generated for that point. Reports can include data such as population, total sales, a URL link to a related Web page, or any other data you want to associate with a feature. To design a report, use ColdFusion® by Macromedia or another third-party network database connectivity and reporting tool, such as Active Server Pages (ASP). Specify the data to retrieve for the selected map feature keys and the output format for the report, and then place the report on your Web database server. For information about designing reports, refer to the documentation that came with the reporting tool you are using. In addition to the report itself, you need a data source that contains the information you will use in the report. Each record in the data source must either contain a key that matches the key of the spatial feature to which you want it linked, or it must contain coordinates in latitude/longitude format. For more information, see "Specifying Data Source Properties for Layers" on page 160. To add the report to your map, use Autodesk MapGuide Author to specify the report properties, which include a name for the report, the URL location of the report, the map layers that may access the report, and any optional parameters to be sent with the report request. When users view a report, Autodesk MapGuide Author or Autodesk MapGuide Viewer sends a request to the URL defined for that report. The report engine then creates the report for the selected features or points. When you have designed a report and have data for the report, you can add the report to your map. You use the Reports tab of the Map Window Properties dialog box to add reports.  For step-by-step instructions, choose Help Contents, click the Index tab, and look up "reports, adding to maps." Working with Reports | 149

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Working with Reports
|
149
Working with Reports
You can design customized reports for your map. When you link a report to
a layer, an Autodesk MapGuide Viewer or Autodesk MapGuide Author user
can select features on that layer and then generate a report for those selected
features. You can also add reports that are not linked to any layer, so that
when the user clicks a point on the map, the report is generated for that
point. Reports can include data such as population, total sales, a URL link to
a related Web page, or any other data you want to associate with a feature.
To design a report, use ColdFusion
®
by Macromedia or another third-party
network database connectivity and reporting tool, such as Active Server
Pages (ASP). Specify the data to retrieve for the selected map feature keys and
the output format for the report, and then place the report on your Web data-
base server. For information about designing reports, refer to the documen-
tation that came with the reporting tool you are using.
In addition to the report itself, you need a data source that contains the infor-
mation you will use in the report. Each record in the data source must either
contain a key that matches the key of the spatial feature to which you want
it linked, or it must contain coordinates in latitude/longitude format. For
more information, see
Specifying Data Source Properties for Layers
on
page 160.
To add the report to your map, use Autodesk MapGuide Author to specify the
report properties, which include a name for the report, the URL location of
the report, the map layers that may access the report, and any optional
parameters to be sent with the report request.
When users view a report, Autodesk MapGuide Author or Autodesk
MapGuide Viewer sends a request to the URL defined for that report. The
report engine then creates the report for the selected features or points.
When you have designed a report and have data for the report, you can add
the report to your map. You use the Reports tab of the Map Window Proper-
ties dialog box to add reports.
For step-by-step instructions, choose Help
Contents, click the Index tab,
and look up
reports, adding to maps.
Help Index
reports
adding to maps