Ticket #24 (closed enhancement: fixed)
Setting displayed attributes on query
| Reported by: | aboudreault | Owned by: | aboudreault@… |
|---|---|---|---|
| Priority: | P2 | Milestone: | 1.1 |
| Component: | MapServer | Version: | 1.0.4 |
| Severity: | Major | Keywords: | |
| Cc: | jlacroix@…, dmorissette@…, madair@…, pspencer@…, yassefa@… | External ID: | |
| state: | Approved | Browser: | All |
| Operating System: | All |
Description
We was searching a way to control the attributes displayed in a query result. After a moment of reflection, we decided to include specifics metadatas names inside the mapfile for displayed attributes. (ie. query_include_items, query_exclude_items and query_[item]_alias for alias) This would follow the approach used in configuring WMS and WFS services. If you have a better prefix in mind than "query_*" then send your ideas along. We decided this solution because we do not want modify any widget for this mapserver feature and we do not want to expose mapfile information to the client (JavaScript?? code) as a good practice for security reasons.(ie. the metadata name for the attributes to be displayed)
