Customization Tools for the Properties Tab

Administrators can modify the content and organization of the Properties tab of the Information widget or panel thanks to various tools, such as mask files, or ER generic server openings.

This also applies to the property comparison in Compare, see Social and Collaborative | Structured Collaboration & Collaborative Content | Compare | Compare | Comparing the Properties, Classification, and Effectivities of Objects.

Unless otherwise specified, these customization tools also apply to the Instance tab.

Notes:

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
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 Properties tab. You can also specify the behavior of each property (for example: mandatory, editable, or restricted values), and the order in which they are displayed. Customizing the Display of the New … Dialog Box and the Properties Tab with Mask Files
ER generic server openings Modify Attribute precommit opening Applies when users edit a property. 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 | Modify Attribute (modifyattribute)
Change Owner precommit opening Applies when users change the owner of the object from the Properties tab. 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 | Change Owner (changeowner)
Add Interface precommit opening Applies when users add an extension to the object. 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 | Add Interface (addinterface)
Remove Interface precommit opening Applies when users remove an extension from the object. 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 | Remove Interface (removeinterface)
Properties Initialization UX opening Lets you customize the properties displayed in the dialog box, and define messages displayed to users.

This opening is triggered when building the Properties tab.

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 | Properties Initialization (compute_edit_properties_init)
Properties 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 Properties tab.

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 | Properties Modify (ux_init_edit_properties_modify)
enoAttributesOptions.properties file Lets you specify:
  • The maximum number of objects that users can select to view and modify their properties
  • Whether PLMParameter attributes are displayed
  • Whether you want to use the Properties Initialization and Properties Propagation business logics

Note: This customization tool does not apply to the Instance tab.

Downloading and Uploading Configuration Files from the Options Tab

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.