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:

  1. Perform procedure Create custom fields » Step 1 to Step 5.
  2. 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.
  3. In the Type dropdown box, select Array of GUIDs.
  4. 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.
  5. 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.
  6. 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.
  7. Click Done.
    The new field appears in the Custom fields section.
    If you want to delete a custom field, click Delete.
  8. Click Finish.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

GUID custom field