@umbraco-cms/backoffice
    Preparing search index...

    The data supplier for a Element Property Dataset

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    Data manager for the workspace.

    UmbEntityWorkspaceContextBase

    _detailRepository?: UmbDocumentDetailRepository
    _getDataPromise?: Promise<
        | UmbRepositoryResponse<UmbDocumentDetailModel>
        | UmbRepositoryResponseWithAsObservable<
            UmbDocumentDetailModel,
            UmbDocumentDetailModel,
        >,
    >
    _internal_createUnderParent: Observable<undefined | UmbEntityModel> = ...

    The parent entity that the new entity will be created under. Internal property. Use UMB_PARENT_ENTITY_CONTEXT to get the parent entity.

    _internal_createUnderParentEntityType: Observable<undefined | string> = ...

    The entity type that the new entity will be created under. Internal property. Use UMB_PARENT_ENTITY_CONTEXT to get the parent entity.

    _internal_createUnderParentEntityUnique: Observable<undefined | UmbEntityUnique> = ...

    The entity unique that the new entity will be created under. Internal property. Use UMB_PARENT_ENTITY_CONTEXT to get the parent entity.

    _workspaceEventUnique: string = ...
    contentTypeHasCollection: Observable<boolean> = ...
    contentTypeIcon: Observable<null | string> = ...
    contentTypeUnique: Observable<undefined | string> = ...
    data: Observable<undefined | UmbDocumentDetailModel> = ...
    entityType: Observable<undefined | string> = ...
    forbidden: UmbStateManager<UmbState> = ...
    IS_CONTENT_WORKSPACE_CONTEXT: true = ...
    IS_ENTITY_DETAIL_WORKSPACE_CONTEXT: true
    isNew: Observable<undefined | boolean> = ...
    isTrashed: Observable<undefined | boolean> = ...
    loading: UmbStateManager<UmbState> = ...
    modalContext?: UmbModalContext<{ preset: object }, any>
    parentEntityType: Observable<undefined | string> = ...

    Will be removed in v.18: Use UMB_PARENT_ENTITY_CONTEXT instead to get the parent both when creating and editing.

    parentUnique: Observable<undefined | UmbEntityUnique> = ...

    Will be removed in v.18: Use UMB_PARENT_ENTITY_CONTEXT instead to get the parent both when creating and editing.

    persistedData: Observable<undefined | UmbDocumentDetailModel> = ...
    propertyViewGuard: UmbVariantPropertyGuardManager = ...
    propertyWriteGuard: UmbVariantPropertyGuardManager = ...
    publishingRepository: UmbDocumentPublishingRepository = ...

    The publishing repository for the document workspace.

    Will be removed in v17. Use the methods on the UMB_DOCUMENT_PUBLISHING_WORKSPACE_CONTEXT instead.

    UmbDocumentWorkspaceContext

    readOnlyGuard: UmbReadOnlyVariantGuardManager = ...
    templateId: Observable<null | string> = ...
    validationContext: UmbValidationContext = ...

    The base validation context for the workspace. This ensures that at least one validation context is always present.

    try {
    await this.validationContext.validate();
    } catch (error) {
    console.error(error);
    }
    this.validationContext.setDataPath('path.to.data');
    
    values: Observable<undefined | UmbElementValueModel<unknown>[]> = ...
    varies: Observable<undefined | boolean>
    variesByCulture: Observable<undefined | boolean>
    variesBySegment: Observable<undefined | boolean>
    view: UmbViewContext = ...
    workspaceAlias: string

    Accessors

    Methods

    • The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

      MDN Reference

      Parameters

      • type: string
      • callback: null | EventListenerOrEventListenerObject
      • Optionaloptions: boolean | AddEventListenerOptions

      Returns void

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

      MDN Reference

      Parameters

      • event: Event

      Returns boolean

    • The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.

      MDN Reference

      Parameters

      • type: string
      • callback: null | EventListenerOrEventListenerObject
      • Optionaloptions: boolean | EventListenerOptions

      Returns void