Create a Deployment Extension
You can create a deployment extension by selecting a DS type or another customer specialization type from the current package. Such extensions are used by apps to add behaviors and attributes to objects.
- From the sidebar, select Administrate Data Model.
- From the List of Deployment Packages, click the package for which you want to create a deployment extension.
- In the Extensions tab, click New Deployment Extension .
-
In the Create New Deployment Extension panel, define the
extension as follows:
-
In the Name field, enter a name for your extension.
Note: Names can only contain alphanumeric characters and the underscore character.
-
Next to the Types field, click ...
to display the Types List. This list shows the types to which you can apply the extension.
The Types List window opens.
-
Select at least one type or one instance.
Note: You can either select a type (even a specialized one) or an instance.
- Click Submit.
-
From the Automatic addition list, select one of the
following options:
Option Description true When you create a new object that uses the type or a sub type of the type you selected in step c, the deployment extension is automatically added to this object.
Notes:- A type can be associated with several deployment extensions. As a result, when you create a new object that uses the type or a sub type of the type you selected in step c, this object is automatically extended by all the automatic deployment extensions that are associated with the type.
- Existing objects that use the type or a sub type of the type you selected in step c are not automatically updated with the new deployment extension. For information on how to manually extend existing objects with the new deployment extension, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Administration | 3DSpace | Collaborative Spaces Control Center | Collaborative Spaces Control Center | Configuring Content for the 3DEXPERIENCE Platform | Deploying a Configuration | Propagating Attributes for New Extensions.
- Formerly created deployment extensions can become automatic by changing the property Automatic addition to true in the edit extension panel.
false When you create a new object that uses the type or a sub type of the type you selected in step c, the deployment extension is not automatically added to this object.
You must implement a business rule for the Deployment Extension Choice (INFRADeploymentExtensionComputation) opening as described in the Tutorial: Administrating the Data Model.
For more information about this opening, see Deployment Extension Choice (INFRADeploymentExtensionComputation).
- Optional: Enter a comment.
- Optional: When working with references and representations, you can select the instance to be used from the Instance name list.
- Click Done when you are finished with the extension creation.
-
In the Name field, enter a name for your extension.
Result: The extension is created and appears in the List of Extensions window:
- Name corresponds to the extension name.
- Scopes corresponds to the list of types the extension can be applied to. You can select all public types and relations including specialized types.
- Deployed shows the deployment information (yes, no, or partial).
- Attributes shows the number of attributes.
- Comment shows the comments you entered.