GUID 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 GUID custom field is available only when you create dynamic content types. For more information, see Dynamic modules.

Create a GUID custom field

  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 GUID (Globally unique identifier).
  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 data dropdown box, you select the widget which the content item editor will use to complete the field.
    The default widget is Textbox. It displays an input field with labels and instructions.
    NOTE: This dropdown is hidden by default and shows only when you deselect the This is a hidden field checkbox.
  6. Expand the Advanced section if you want to change the SQL database type of the custom field or the name of the database table column where the custom field is added.
    If you select the Allow empty values checkbox, the field is not required and can be left empty. If you deselect it, the field becomes mandatory.
  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

Yes / No custom field