Customizable Unlimited AttributeExtension Fields
Attribute Extension fields are customizable fields for existing tables which allow you to:
Add any number of additional attributeExtension fields to the tables. Remember that non-analyzer tables have a fixed pre-defined set of fields.
Avoid the size limit of text fields which is normally set for text fields (because of storage and speed effeciency).
Attribute Extensions are much slower and less efficient than native columns, e.g. when filtering. Use them sparingly and cautiously.
The attributeExtension fields are available in the following objects:
Work with attributeExtension Fields
Create/Add attributeExtension Fields
While on the page of the table (e.g. Quote list page), use the column menu and select Customize Attribute Extensions to add a new field.
Once added, use the column menu Rename and Customize and set the Name, Label and Type as you would do for any other attribute# field.
Access/Read attributeExtension Fields
The name of the field will be created from your provided field name and will prepend the word attributeExtension___
, for example the field name will be attributeExtension___MyLongProductDescription
.
So when referring to your field in:
Filter
api.find()
api.stream()
etc.
use the long name, e.g. attributeExtension___MyLongProductDescription
.
Update Value of attributeExtension Fields
In general, you can update the value of the attributeExtension field in the same way as for attribute# fields, for example:
In logics which can modify objects (e.g. Calculation Flow, Calculated Field Set, etc.) you can use standard data modification functions, like
api.update()
.To modify the Quote/Contract/Rebate Header object within the Quote/Contract/Rebate header logics, you can use a function on the processor object, e.g.
quoteProcessor.updateField("attributeExtension___myFieldName", 12345)
.
Found an issue in documentation? Write to us.
Â