1. Page components

Creation

The Creation component allows users to create entities. There must be a Search component available on the page because these two components work together. For the Creation button to be visible on the page, you must turn on at least one of the creation switches. When you enable several creation options, the Creation button displays as a list.

Note

The Link Items and Paste from clipboard options are only available for details pages. For additional information on Excel imports, see Excel import configuration.

Tip

You can create multiple values for an entity field using a pipe | to separate the values. For additional information, see Import users example.

To add a Creation component:

  1. On the menu bar, click Manage .
  2. On the Manage page, click Pages.
  3. On the Pages page, select the page you want to modify.
  4. On the Layout tab, add the page component.
  5. Click the component to open its details page and modify the settings on the following tabs, and then click Save.
FieldTypeDescriptionValueMandatory
Label typeListButton type.Default/CustomYes
LabelStringSets the Custom button label.Label of the button.No
Refresh page entityToggle switchIf enabled, refreshes the page upon an entity creation.Enabled/DisabledNo
Button styleListVisual aspect of the Creation button.Primary / Secondary / Default / LinkYes
RolesSelection listThe component is only visible to users with at least one of the selected roles. Only available for detail pages.All roles defined in your solution.No
FieldDescriptionValue
Ignore permissionsIgnores the default security check that only displays the component if a user or user group has the required permissions to files.Enabled/Disabled
Label typeButton type.Default/Custom
LabelSets the Custom button label.Label of the button
RepositoryDefines the new created files repository.Standard(default) / Avatar / Chili / Content / DRM / Import / KPI / Packages / Portal / Print / Processing / Product / Project / Subtitle / Template
Life cycleDefines the uploaded files status.Created(default) / Approved / Archived / Rejected / UnderReview
Media processing flowDefines the media processing flow used to process the uploaded files.Portal / Print / Project / Vision / Chili
Allowed extensionsLimits the accepted file types.Only + accepted extensions / All except + rejected extensions. The extensions must not begin with a dot. For example, png jpg svg, not .png .jpg .svg.
Life cycle relationDefines the lifecycle flow.All available lifecycle flows defined in your solution. Final lifecycle status is the default value.
Life cycle status propertySets the lifecycle status property.Available values vary with the Lifecycle relation.
Default valuesSets default values of the newly created file.All asset relations and file properties defined in your solution.
Note

If there are multiple entity definitions available, you need to select the correct definition when creating a new entity.

FieldDescriptionValue
Ignore permissionsIgnores the default security check that only displays the component if a user or user group has the permission to create the desired entity.Enabled/Disabled
Label typeButtonDefault/Custom
LabelSets the Custom button label.Label of the button.
Detail pageDefines the detail page to which the newly created entities are linked.Available detail pages in your solution.
Window typeSets the window type.Small modal / Medium modal / Large modal / Extra large modal / Drawer
Has fixed modal widthSets the modal to its maximum size regardless of its content.Enabled/Disabled
Use the detail page title as the modal titleNames the modal after the defined detail page title.Enabled/Disabled
Redirect pageDefines a detail page to which the newly created entities will be redirected if required.Available detail pages in your solution.
Default valuesSets default values linked to the newly created file.All asset relations and file properties defined in your solution.
Note

At least one NESTED Search component needs to be created on the page to use the Link items option of the Creation component.

FieldDescriptionValue
Label typeButton type.Default/Custom
LabelSets the Custom button label.Label of the button.
Search componentLinks the Search component to be used.Nested Search components available on the page.
RelationSpecifies the entity definitions that are allowed to be added using the Link items option.Available entities in your solution.
FieldDescriptionValue
Label typeButton type.Default/Custom
LabelSets the Custom button label.Label of the button.
RelationSpecifies the relations authorized to use the Paste from clipboard option.Available relations in your solution.

Excel files are used to create or update entities.

FieldDescriptionValue
Label typeButton type.Default/Custom
LabelCustom button label.Label of the button
Enable migration modeEnables migration between Sitecore Content Hub versions through an Excel import, in order to persist timestamps and content creator information. This mode lets you update the Created by, Modified by , Created on, and Modified on system properties.

For Created by and Modified by, you must provide a username value.

For Created on and Modified on, you must provide a date value in one of the following formats:

  • 2018-10-04T10:13
    .8881042Z
  • 2020-10-16 10
    :40 AM GMT+02:00


The format of the Excel spreadsheet is as follows:

migration-mode-excel.png
Important

These properties can only be set during entity creation. You can update only the properties you are interested in and do not need to override all properties.

Enabled/Disabled
Add definitionSpecifies default values for uploaded entities.Available entities in your Sitecore Content Hub solution.

Format

In the following example, the Import Excel option is set to import M.Assets entities with the DEFAULT VALUES of:

  • Area of Origin set to EMEA.
  • Description set to Added through Excel Import.

If you import the following Excel workbook, Area of Origin and Description are updated with default values because they are not included in the worksheet. This means that the Area of Origin for the asset is updated from North American to EMEA.

identifierTitleFileNameFinalLifeCycleStatusToAssetContentRepositoryToAsset
nl6bV-87dkKwkD63FUp03Abundo-kim-558517.jpgbundo-kim-558517.jpgM.Final.LifeCycle.Status.ApprovedM.Content.Repository.Standard
If you have suggestions for improving this article, let us know!