Table of contentsNo headers
Sample 117 is a simple vertical application module that contains the minimum requirements for a functional module. It contains the following features:
- A structure update plugin that creates a basic data model for a water utility and modifies it in a series of four version updates. This plugin is located in the files StructureUpdatePlugIn.cs, Version10000.cs, Version10001.cs, Version10002.cs, Version10003.cs, and Version10004.cs.
- An acquisition workflow for the creation of new network pipes. This plugin is located in the AcquisitionWorkflows.cs file. The sample also adds three categories of workflows using the AddOrUpdateWorkflow API method during the version update in the Version10003.cs file.
- A feature rules plugin enforcing the module’s business rules - in this case, filling in attributes whenever a feature is created or modified. This plugin is located in the FeatureRules.cs file.
- A document plugin that creates a new menu item that links to the pipe creation workflow. This plugin is located in the DocumentPlugIn.cs file.
For more information about defining and manipulating the data model and a more complete description of vertical application modules, see Creating Application Modules.