Customization Tools for New... Commands

Administrators can modify the default behavior of New... and Insert New... commands and modify the content and organization of some dialog boxes thanks to various tools, such as options defined in Collaborative Spaces Control Center, ER generic server openings, or business logics.

Notes:

In addition to the tools listed in these tables, the Permission Rules tab in Collaborative Spaces Control Center lets you manage which responsibilities can view and modify content in collaborative spaces, depending on the maturity of objects. For more information, see Configuring Permission Rules.

This page discusses:

List of Customization Tools

Tool Description Reference
Collaborative Spaces Control Center Attribute Management tab Lets you configure additional attributes on types, and map attributes between apps. Extending Content Types with Attributes
Content Naming Rules tab Lets you define the naming rules for each object type. Configuring Naming Rules for Content
Lifecycle and Collaboration tab Lets you select the revision format used on the 3DEXPERIENCE platform. Configuring Lifecycle and Collaboration Commands
Revision Naming Rules tab Lets you select the revision sequences you want to use for the different content types. Configuring Revision Sequences
Permission Rules tab Lets you define the maturity when creating content Create Objects and Revisions in In Work Maturity
Enterprise IP Schema Specialization
On the cloud only: Lets you create specialization types and subtypes, attributes, and extensions.
Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | 3DSpace Data Model | Enterprise IP Schema Specialization
Model Customization
On the cloud only: Lets you create specialization types and subtypes, attributes, and extensions.
Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | 3DSpace Data Model | Data Model Customization
Mask files Lets you define the properties you want to display in the New … dialog box. You can also specify the behavior of each property (for example: mandatory, editable, or restricted values), and the order in which they are displayed.

Customization with mask files is not available for all object types. For more information, see the app's guide.

Customizing the Display of the New … Dialog Box and the Properties Tab with Mask Files
ER generic server openings Initialization at creation init opening Lets you customize the attribute valuation of new objects.

Customization with precommit business rules is not available for all object types. For more information, see the app's guide.

Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Data Setup | Data Setup | List of Resource Set IDs | Infrastructure Business Logics | ER Generic Server Openings | Creation | Initialization at Creation (init_create)
Create precommit opening With Insert New, applies to the new object only.

Customization with precommit business rules is not available for all object types. For more information, see the app's guide.

Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Data Setup | Data Setup | List of Resource Set IDs | Infrastructure Business Logics | ER Generic Server Openings | Creation | Precommit at Create (create)
Connect precommit opening Available for Insert New only. Applies to the new object and to the parent object.

Customization with precommit business rules is not available for all object types. For more information, see the app's guide.

Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Data Setup | Data Setup | List of Resource Set IDs | Infrastructure Business Logics | ER Generic Server Openings | Connect (connect)
New Initialization UX opening Lets you customize the properties displayed in the dialog box, and define messages displayed to users.

This opening is triggered before the dialog box opens.

Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Data Setup | Data Setup | List of Resource Set IDs | Infrastructure Business Logics | ER Generic Server Openings | UX Openings | New Initialization (compute_new_init)
New Modify UX opening Lets you customize the properties displayed in the dialog box, and define messages displayed to users.

This opening is triggered when the user modifies a property in the dialog box.

Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Data Setup | Data Setup | List of Resource Set IDs | Infrastructure Business Logics | ER Generic Server Openings | UX Openings | New Modify (ux_init_new_modify)

General Considerations for ER Generic Server Openings

ReportUXMessage EKL Function in ER Generic Server Openings

When implementing an ER generic server opening with EKL functions, the reportUXMessage function should only be called when an operation is blocked, to explain why the operation failed. The message displayed to users is an error.

Using the reportUXMessage function without blocking the operation is not supported for collaboration, lifecycle, and new commands, as well as properties.

For more information, see 3DEXPERIENCE | Enterprise Knowledge Language | Enterprise Knowledge Language | Server Types and Functions | EKL Functions by Modeler | ER Generic Server EKL Functions.

This is an example of how to use the reportUXMessage function:

if (blockOperation==true)
{
  // Blocking the operation and explaining to the user why the operation fails
  Validation = FALSE
  
  // Error message displayed to users  
  reportUXMessage("EKL Test precommit " + event + " KO") 
}

UX Openings and Other Customization Tools

The properties displayed in the New... dialog boxes or Properties and Instance tabs of the Information panel are defined at three different levels: schema, masks, and UX openings.

The schema corresponds to the default attribute rules defined for an object type, that you cannot modify. You can use masks and UX openings to customize the properties that you want to display.

Important: To ensure a satisfactory user experience, if your Enterprise Knowledge Language (EKL) script associated with UX openings takes longer than 2 seconds to complete, the user receives an error and the rules defined in the script are ignored.

At each level, you cannot remove a restriction imposed by a lower level: you can only restrict the existing scope of properties or property values allowed by the previous level. These customization tools are enforced in this order:

  1. Schema
  2. Mask
  3. UX opening

For example, if a property is defined as readonly=true in the schema, you cannot define this property as editable in a mask or UX opening.

Notes:
  • If you specify authorized values with an UX opening that are not allowed by a lower level of customization, they are still displayed in the user interface. However, users cannot create the object or save the modifications if they select an invalid value.
  • The mandatory constraint does not apply to read-only attributes.

Recommendation: Use UX openings to guide users through the user interface only. To implement rules that must be enforced in all cases (for example, authorized values for an attribute), implement them with a low-level openness, like a precommit opening.

Deprecated Values for Custom Attributes

You can specify a list of authorized values for custom attributes with:

  • The Attribute Management tab in Collaborative Spaces Control Center
  • Enterprise IP Schema Specialization
  • Mask files
  • ER generic server openings

Any value that is not part of this list of authorized values or that you declared as disabled in the Attribute Management tab is displayed with the deprecated mention in the New ... dialog boxes and in the Properties tab of the Information panel.

This happens if:

  • The value is assigned to the object through the object type's schema at creation, or through a server opening or a mask file.
  • The value was assigned to the object before you specified or modified the list of authorized values for a custom attribute. This value can be assigned by a user, or automatically through the object type's schema, a server opening or a mask file.
  • The default value is not part of the list of authorized values.

For new objects or when editing properties, users cannot assign deprecated values. For more information, see Creating Objects and Viewing and Modifying the Properties of an Object.