Add extended attributes to a pop-up
You can add extended attributes to a pop-up.
About this task
To add extended attributes to a pop-up:
Procedure
- Copy the install_dir/repository/entity/extensions/Extensions.xml.sample file as install_dir/extensions/global/entities/your_filename.xml file OR modify your existing extension XML file.
- Edit the your_filename.xml file and specify a DataType attribute for your new column. The new attribute should be a new data type that has not been defined previously in the datatypes.xml file.
- Edit your datatypes.xml file in install_dir/repository/datatypes
directory and add an entry for your new data type using the following
attributes:
- DisplayInUI - Required. Specifies whether the field should automatically display in the new pop-up screen.
- DisplayGroup - Optional. Groups the display of extended fields on the new pop-up screen. When this field is specified, all extended fields with the same DisplayGroup attribute are grouped together and displayed in alphabetical order beneath a title that is set to the value of the DisplayGroup attribute.
For example, attributes for the newly added ExtnMyField data type are specified as follows:
<DataType Name='ExtnMyField' Type='CHAR' Size='35'> <UIType Size="30" UITableSize="30" DisplayInUI="true" DisplayGroup="My_Group"/> </DataType>