Modifying PModel File

You can edit the properties, logic, documentation, presentation of elements in a PModel file. You can also create new elements in a PModel file.

Editing Element Properties

Each element in a PModel file has many defined attributes and each element corresponds to the properties in an AB Suite project.

The types of these attributes are predefined. You can only assign a value that corresponds to a datatype specified in the XSD. The values of XML attributes are validated against the XSD during the import.

Note: The XSD lists a complete set of supported XML attributes against which the values of XML attributes are validated. Therefore, you cannot create your own XML attributes.

Editing Logic, Documentation, or Presentations

PModel files contain all model elements in clear text unlike the AB Suite .model file. This includes logic, documentation, and presentations. This allows you to easily make any modifications to your AB Suite project.

Creating New Elements

You can add new elements to your project efficiently by using PModel. To add new elements you can key in substitution tags prefixed by ID in the PModel file, for example, ID_NewElement. The substitution tag is replaced with the newly generated GUIDs during Import. The importer specifies the generated GUID for each substitution tag in the log file.

You can create new elements for Classes, Attributes, Methods, Parameters, Logic, and Folders. The creation of new Presentations, Dependency, Value, and Configurations is not permissible and therefore the import aborts when you try to create any of these objects.