Disponible con licencia de Production Mapping.
As you are building your product library, you can add more than one product class to your solutions. If you are going to be working with several different types of products in each solution, this provides a way for you to easily find each product.
The process for adding a product class is as follows:
- Creating the product class and defining general properties (required)
- Defining the default product class version (optional)
- Defining the default data model version (optional)
- Specifying a product definition (optional)
- Configuring a product class definition (optional)
- Adding template instructions (optional)
When you are adding a product class, only the product class properties on the General pane of the New Class dialog box are required. The properties in the other panes are optional.
The General pane
The General pane contains basic properties for the product class and is divided into two sections: General and Class. The General section contains information such as the name, alias, description, and visibility status. The Class section contains information such as the product definition file and version information.
General properties
The properties in the General section allow you to define basic information about the product class and its state and include the following:
Property name | Description |
---|---|
Name | The name of the product class (limited to 16 characters; special characters are not valid) |
Alias | The name displayed for the product class in the Product Library tree view |
Description | A description for the product class |
Visible | Indicates whether the product class is visible to other users when an enterprise database is used as the product library (By default, the value is False. When it is set to True, other product library users can see the product class in the Product Library tree view.) |
Class properties
The properties in the Class section allow you to define the product definition file and version information. There are also properties that display the solution name and indicate whether geographic extents are being used with the product class.
Class properties include the following:
Property name | Description |
---|---|
Default Product Class Version | The product class version number to be associated with the product class by default. The properties appear with a default value of 1.0.0.0. |
Default Data Model Version | The name and version number of the data model version associated with the product class by default. |
Parent Solution | The name of the solution associated with the product class. |
Product Definition | The name and current status of the product definition file. |
Spatial Reference | The name of the AOI Spatial Reference that was set when the solution was created. If the solution AOI Spatial Reference is changed after the product class is created, the product class cannot be used with that solution; a new product class will have to be created that defaults to the solution's new AOI Spatial Reference. |
Template MxD | The name and current status of the template MXD file. When a product class is created, a blank template MXD is created with the name of the new product class. |
Use Geographic Extent | Indicates whether the shape of the extent is significant in determining its inclusion on charts in the product class. This parameter is used by the Carto Commander geoprocessing tool to determine whether a spatial query is used to determine which features fall on a given chart. The default value is True. If this is set to False, only features that are specifically included will have cartographic features. |
Use Relational Query | Indicates whether a relational query can be used when queries are defined at or below the product class, for example, extraction queries. The default value is False. |
You can change the Default Product Class Version properties in the New Class dialog box when you are creating a new product class. However, the Default Product Class Version property in the Class Properties dialog box only allows you to choose an existing product class version.
Property name | Description |
---|---|
Default Product Class Version | The starting version of the product class, which is composed of the major, minor, edition, and revision numbers |
Major | The major version number of the product class |
Minor | The minor version number of the product class |
Edition | The edition number of the product class |
Revision | The revision number of the product class |
Comment | Remarks about the current version of the product class |
Date | The date and time the product class version was created |
Learn how to define the Default Product Class Version
Default Data Model Version properties include the following:
Property name | Description |
---|---|
Default Data Model Version | The name and version number of the data model version associated with the product class by default |
Set Model Versions | The data model versions associated with the product library |
Data Model Version | The name and version number of the data model associated with the product class |
Learn how to define the Default Data Model Version
Product Definition properties include the following:
Property name | Description |
---|---|
Product Definition | The name and current status of the product definition file |
File | The name of the product definition file associated with the product class |
Name | The name of the product definition file |
Description | A description of the product definition file |
File Type | The file type associated with the product definition in the product library (For example, this could be an Extensible Markup Language [XML], Microsoft Access database [MDB], or other type of file.) |
Status | The current status of the product definition file |
Author | The user name of the person who has associated the product class with the file |
Check Out Location | The path to the directory to which the product definition file is going to be copied when it is checked out |
Last Modified | The date and time the product definition file was last modified |
Username | The user name of the person who has modified the product definition file |
Learn how to specify the Product Definition file
Template MxD properties include the following:
Property name | Description |
---|---|
Template MxD | The name and current status of the template MXD file |
File | The name of the template MXD file associated with the product class |
Name | The name of the template MXD file |
Description | A description of the template MXD file |
File Type | The file type associated with the template MXD in the product library |
Status | The current status of the template MXD file |
Author | The user name of the person who has associated the product class with the file |
Check Out Location | The path to the directory to which the template MXD file is going to be copied when it is checked out |
Last Modified | The date and time the template MXD file was last modified |
Username | The user name of the person who has modified the template MXD file |
The Definition pane
The Definition pane allows you to view product class versions. The product class definition indicates what version number is associated with the product class as well as which tables and feature classes are included.
Template instructions
Template instructions allow products to be more dynamic, allowing them to perform actions during key events like a checkout. There are three types of template instructions controlled by file types: data frame rules, layout rules, and Python scripts.
The Map Document (MxD) properties are populated from the Template .mxd properties on the General pane.
Property name | Description |
---|---|
Map Document (MxD) | The name and current status of the template MXD file |
Name | The name of the template MXD file |
Description | A description of the template MXD file |
File Type | The file type associated with the template MXD in the product library |
Status | The current status of the template MXD file |
Author | The user name of the person who has associated the product class with the file |
Check Out Location | The path to the directory to which the template MXD file is going to be copied when it is checked out |
Last Modified | The date and time the template MXD file was last modified |
Username | The user name of the person who has modified the template MXD file |
The Data Frame Rules properties allow products to have their data frame settings, such as scale, extent, coordinate system, and rotation, updated based on a product's associated instance AOI(s).
Property name | Description |
---|---|
Data Frame Rules | Data frame settings based on a product's associated instances AOI(s) |
File | The name of the data frame rules file |
Description | A description of the data frame rules file |
File Type | The file type |
Status | The current status of the file |
Author | The user name of the person who has associated the data frame rules with the file |
Check Out Location | The path to the directory to which the file is going to be copied when it is checked out |
Last Modified | The date and time the file was last modified |
Username | The user name of the person who has modified the file |
Data Frame Type | The data frame(s) to which rules are applied |
Data Frame Name | The specific data frame the data frame rules are applied to when using the custom option under the Data Frame Type property |
The Layout Rules properties enable a product map document's layout size and orientation and the relative placement of elements on that layout to react to changes that happen on dynamic cartographic products.
Property name | Description |
---|---|
Layout Rules | The name and current status of the file containing the layout rules |
File | The name of the layout rules file |
Name | The name of the layout rules file |
Description | A description of the file |
File Type | The file type |
Status | The current status of the file |
Author | The user name of the person who has associated the layout rules with the file |
Check Out Location | The path to the directory to which the file is going to be copied when it is checked out |
Last Modified | The date and time the file was last modified |
Username | The user name of the person who has modified the file |
The Python Scripts properties allow custom business logic to be executed on a product. A single Python file can be saved as part of template instructions.
Property name | Description |
---|---|
Python Scripts | The name and current status of the Python script |
File | The name of the Python script |
Name | The name of the Python script |
Description | A description of the Python script |
File Type | The file type |
Status | The current status of the file |
Author | The user name of the person who has associated the script with the file |
Check Out Location | The path to the directory to which the Python script is going to be copied when it is checked out |
Last Modified | The date and time the script was last modified |
Username | The user name of the person who has modified the script |