tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > SchemasService

SchemasService class

Signature:

export declare class SchemasService

Methods

Method Modifiers Description
getAssociatedComponentTemplateLinks({ escapedSchemaId, onlyAllowedOnPage, }) static Gets a list of all Component Template links that can render Components based on the specified Schema. This operation returns an instance of ‘Link’ type.
getSchemaInstanceData({ escapedSchemaId, }) static Gets instance data of a specified Schema including default field values. This operation returns an instance of ‘SchemaInstance’ type.
synchronizeWithSchema({ requestModel, flags, }) static <p>Synchronizes the content and metadata of a given model with its Schema. The operation returns the synchronized model and the synchronization actions that were applied. This operation returns an instance of ‘SynchronizationResult’ type.</p><p>Using this operation will not persist the changes made through synchronization.</p>