Class CreateHeadlessItemCreateCommandResult
Command result used as a response for the Create(CreateHeadlessItemCreateCommandArguments, CancellationToken) command.
public class CreateHeadlessItemCreateCommandResult
- Inheritance
-
objectCreateHeadlessItemCreateCommandResult
- Extension Methods
Constructors
CreateHeadlessItemCreateCommandResult()
public CreateHeadlessItemCreateCommandResult()
Properties
BreadcrumbLabel
Localized breadcrumb label of the creation page, used to restore the page breadcrumb when the wizard is reopened.
Set only when CreateAnother is true.
public string BreadcrumbLabel { get; set; }
Property Value
- string
CreateAnother
Indicates that the headless item was created and the creation wizard should be reopened for another item of the same content type.
When true, Items contains the first-step form items with the content type preselected.
public bool CreateAnother { get; set; }
Property Value
- bool
HeadlessItemId
Created headless item identifier.
public int HeadlessItemId { get; set; }
Property Value
- int
Items
In case of failure or failed validation contains edited page form fields with data.
public ICollection<IFormItemClientProperties> Items { get; set; }
Property Value
- ICollection<IFormItemClientProperties>
RedirectUrl
If not empty, contains url to redirect to in case of successful validation.
public string RedirectUrl { get; set; }
Property Value
- string
Status
Command result status.
public HeadlessItemCommandResultStatus Status { get; set; }