tridion-sites-extensions-api-docs

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

SynchronizeFlags enum

Specifies how the Repository Local Object should/can be synchronized with its Schema.

Members: * Basic - Use only basic option, which includes re-ordering fields.

* FixNamespace - Fix the namespace of content and metadata element as per the schema.

* RemoveUnknownFields - Remove any fields which do not exist in the schema.

* RemoveAdditionalValues - Remove fields which occur more than allowed in MaxOccurs.

* ApplyDefaultValuesForMissingMandatoryFields - Apply default values to mandatory fields which are missing.

* ApplyDefaultValuesForMissingNonMandatoryFields - Apply default values to non-mandatory fields which are missing.

* ApplyFilterXsltToXhtmlFields - Apply Xslt transformation to Xhtml fields.

* ConvertFieldType - Convert field types as specified in schema.

* UpdateRegions - Update nested regions structure of the page.

* SyncNonLocalizableFields - Ensure that non-localizable fields in a Local Copy are in sync with the Primary BluePrint Parent Item.

* SyncNonLocalizableRegions - Ensure that non-localizable Page Regions in a Local Copy are in sync with the Primary BluePrint Parent Item.

* All - Apply all possible transformations.

* UnknownByClient - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version. Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.

Signature:

export declare enum SynchronizeFlags

Enumeration Members

Member Value Description
ALL "All"  
APPLY_DEFAULT_VALUES_FOR_MISSING_MANDATORY_FIELDS "ApplyDefaultValuesForMissingMandatoryFields"  
APPLY_DEFAULT_VALUES_FOR_MISSING_NON_MANDATORY_FIELDS "ApplyDefaultValuesForMissingNonMandatoryFields"  
APPLY_FILTER_XSLT_TO_XHTML_FIELDS "ApplyFilterXsltToXhtmlFields"  
BASIC "Basic"  
CONVERT_FIELD_TYPE "ConvertFieldType"  
FIX_NAMESPACE "FixNamespace"  
REMOVE_ADDITIONAL_VALUES "RemoveAdditionalValues"  
REMOVE_UNKNOWN_FIELDS "RemoveUnknownFields"  
SYNC_NON_LOCALIZABLE_FIELDS "SyncNonLocalizableFields"  
SYNC_NON_LOCALIZABLE_REGIONS "SyncNonLocalizableRegions"  
UNKNOWN_BY_CLIENT "UnknownByClient"  
UPDATE_REGIONS "UpdateRegions"