Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ContentReference

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private connection

connection: ClientConnection

message-event-channel connection

Methods

Private fetchReferences

  • fetchReferences(contentTypeIds: Array<string>, max?: number | null): Promise<any>

get

  • This method will trigger a content browser. It returns a promise that will resolve to the chosen Content Reference.

    Parameters

    • contentTypeIds: Array<string>

      list of Content Type Ids to filter the Content Browser by.

      Example

      const enums = sdk.field.schema.allOf[1].properties.contentType.enum;
      const contentRef = await sdk.contentReference.get(enums);
      
      console.log(contentRef);
      

    Returns Promise<ContentItemReference>

getMultiple

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method
  • Property
  • Inherited property
  • Protected property

Generated using TypeDoc