To Add Attributes in the Spread Sheet Editor (DELSSEListCustomizedAttributes_ID)

An opening ID is an entry point used to customize business logic. To Add Attributes in the Spread Sheet Editor specifies the opening ID run to add attributes in the Spread Sheet editor.

Notes:
  • The list of retrieved attributes is not automatically displayed. To display it, click Refresh :
    • If one or more lines are selected, only these lines are updated.
    • If no line is selected, the entire list is updated.
  • For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

The table below provides you with information related to the definition of the opening ID.

PLM Opening ID: DELSSEListCustomizedAttributes_ID
Customization intent: Execution
Execution context:Client

Input Objects

Input objects must be of the following types:

  • ThisObject: Item or system
  • Parameters: Corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
AttributesKeysList WriteIdentifier of the attributes to add.
AttributesValuesListWrite Values of the attributes to add.
AttributesTitlesListWriteNLS identifier of the attributes to add.
AttributesEditableListWriteDetermines whether the attributes are editable or not.

Sample

The following sample determines the attributes to add in the Spread Sheet editor.

/* -------------------------------------------------------------------------*/
/* Variables declaration                                                    */
/* -------------------------------------------------------------------------*/
/* ---- output ---- */
Let AttributesKeys(List)
Let AttributesValues(List)
Let AttributesTitles(List)
Let AttributesEditable(List)

if (true == Parameters.HasAttribute("AttributesKeys") and true == Parameters.HasAttribute("AttributesValues") and true == Parameters.HasAttribute("AttributesTitles") and true == Parameters.HasAttribute("AttributesEditable"))
{
	/* Fill list with attributes */
	AttributesKeys.Append("MyAttribute")
	AttributesValues.Append("My Value")
	AttributesTitles.Append("My Attribute Title")
	AttributesEditable.Append(true)

	/* Set list as output values of the BL */
	Parameters.SetAttributeObject("AttributesKeys", AttributesKeys)
	Parameters.SetAttributeObject("AttributesValues", AttributesValues)
	Parameters.SetAttributeObject("AttributesTitles", AttributesTitles)
	Parameters.SetAttributeObject("AttributesEditable", AttributesEditable)
}