Detail pages

Open311 can also be used to gather data for any detail pages that your agency has defined. The data is entered in the Open311 client app, so the Open311 site must map the data to the agency business object so it can be added to the agency table in the database.

You can define detail pages globally for all service request types, or individually for specific request types. For global detail pages, add a Detail Pages node to the Global Settings node in the Open311 configuration. For an individual service request type, add a Detail Pages node to the request type node.

Each detail page is defined in a Business Object node that specifies the name of the detail page and the moniker of the agency business object.

Each Business Object node has one or more Field nodes as children. Each Field node maps a field on the detail page to a property of the agency business object. When a client app sends a service request, it uses one or more attribute fields to represent the agency data, such as attribute[COLOR]=red.

The Code attribute of the Field node specifies the code used for the field in the service request, such as COLOR in the example above. The Bind attribute specifies the corresponding property of the agency business object. If the name of the property matches the code, you can leave the Bind attribute blank.