Array of GUIDs custom field
Overview
The GUID custom field enables you to use GUIDs in your dynamic type. You can use the GUID custom field to interface with external systems which require GUIDs.
RECOMMENDATION: We recommend you not expose the GUID custom field to the content creators or end users and use them only programmatically.
PREREQUISITES: The Array of GUIDs custom field is available only when you create dynamic content types. For more information, see Dynamic modules.
Create an Array of GUIDs custom field
To add an Array of GUIDs field, perform the following:
- Perform procedure Create custom fields » Step 1 to Step 5.
- Enter the name of the GUID field.
The name of the field is different from its label. The field's name serves as a reference for that field in the backend.
- In the Type dropdown box, select Array of GUIDs.
- If you deselect This is a hidden field checkbox, the custom field is visible on the website or in the backend. By default, the GUID field is hidden and you can only use it in the code.
IMPORTANT: Once you create a hidden field, you cannot edit its properties. Make sure you have configured all its properties before finishing creating it.
- In the Interface widget for entering the data dropdown box, you select the widget that the content item editor will use to complete the field.
The default widget is Custom.
This dropdown is hidden by default and shows only when you deselect This is a hidden field checkbox.
- Under Type or Virtual path of the custom widget, enter the custom widget which you are using to enable the users to enter GUIDs. You can use the full class name, such as
CustomControls.MyCustomControl
or the virtual path, such as ~/UserControls/MyUserControl.ascx
.
- Click Done.
The new field appears in the Custom fields section.
If you want to delete a custom field, click
.
- Click Finish.