Possible Customization with UX OpeningsWith UX openings, you can:
UX Openings and EKL FunctionsUX openings use specific EKL functions to create the scripts. For more information, see 3DEXPERIENCE | Enterprise Knowledge Language | Enterprise Knowledge Language | Server Types and Functions | EKL Functions by Modeler | ER Generic Server EKL Functions for UX Openings.
For dimension attributes in The UX openings let you customize attributes in UX components (New... dialog boxes and Properties and Instance tabs of the Information panel. The EKL script can access the attributes of the object only, but cannot navigate to other objects (child objects, for example). Therefore, you can use only EKL functions that manage attributes (either generic or modeler-specific) in your UX opening scripts. Any other generic or modeler-specific EKL function is not supported with UX openings; they either fail or return nothing. Access to Attributes from EKL ScriptsThe attributes available for an object and the properties available for an attribute depend on the UX component. All attributes are not always available for an object, and all properties are not always available for an attribute. In UX openings dedicated to the Properties and
Instance tabs of the Information panel, the
script can usually access all attributes. In UX openings dedicated to New
dialog boxes, the script can access fewer attributes: it can only access the
attributes displayed in the dialog box, and the ones initialized at low level (by default,
or with the Note:
In case of multiselection:
The attributes that have UX properties are the attributes displayed or that can be displayed to users (that is, the attributes that would be displayed if no script was deployed to manage the attributes dynamically). Always use the UX Openings and Other Customization ToolsThe 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.
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:
For example, if a property is defined as
Notes:
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.
For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Collaborative Lifecycle Web App | Collaborative Lifecycle Web App | Administration | New and Insert New Commands | Customization Tools for New... Commands and 3DEXPERIENCE | 3DEXPERIENCE Web Apps | 3DEXPERIENCE Web Apps | Properties and Information | Administration | Customization Tools for the Properties Tab. UX Openings with MultiselectionYou can decide to have a business logic based on criterias like it is single selection or multi selection or same/different type of objects multiselection, etc. Recommendation:
Check that the script is appropriate for both single selection and
multi selection of different object types (possibly common or different attributes, with
same or different values).
In case of multiselection, the business logic is executed once for all the selected objects if:
If an attribute has multiple values, you (admin) can read attribute values only if they are
the same for all the selected objects. The Note:
In the EKL method, you can only set a unique value for an attribute.
| ||||||||||