進階自訂 > Business Logic Customization > Product Family Management Customizations > Custom Actions in Variant Specification Structure
Custom Actions in Variant Specification Structure
You can extend and add custom actions to the context menu of the part structure in the variant specification structure. To add the action in the Matrix Editor, add the following in the context menu of the matrix BOM tree:
<action name="customURLActionGWT" type="psb" />
Model name: psbVariantSpecRelatedPartsTreeContextMenu
JSP class for the custom action UI: customURLAction.jsp
JAVA class for the custom action: LaunchCustomURLAction
The following information is available in the custom action:
Field
Description
Root Name
Name of the root part assembly displayed in the Variant Spec structure.
Module Name
Name of the application where the action is launched from.
Navigation Criteria ID
In-session navigation criteria for the variant specification structure.
Selected OID
OID for the selected row in the variant specification structure.
Selected Name
Identity of the selected row.
Selected Paths
Structure paths for all the row selections.
Variant Specification OID
OID of the variant specification for the variant specification structure.
這是否有幫助?