Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

enabled

Specifies if content shall be synchronized into the Flex container or not.

bool, Mandatory

isPreviewMode

Optional boolean, default is false. If true then the system simulates the update and returns all the details but it will not actually update the Flex container.

bool, Optional

translationssyncToFlexMode

Optional, default is false.

  • false: Update only the source texts from the file into the Flex container. Do not push but only pull translations.

  • true: Update content in target languages from the file into the Flex container. Push and pull source and translations.

The use of true only makes sense for the very initial push of a file or in combination with timestamp. Otherwise, you would overwrite any changes to translations done in the TMS.

bool, Optional

timestamp

Optional date/time.

If specified, then the system will only update source texts or translations if those were last modified prior to this date.

The use case is to prevent erasing changes in the Flex container that are more recent than the changes in the file.

For proper two-way synchronization of translations, this property must be set.

datetimeSourceAndNewTranslations

This field specifies how content is synchronized from the uploaded file to the Flex container. In many scenarios you want to sync source text changes from the file to Flex and translation changes from Flex back into the file.

The options are:

  • SourceAndNewTranslations: Sync source texts as well as translations from the file. Translations are only transferred from the file to Flex, if there is no translation yet. (Recommended mode)

  • SourceOnly: Sync source text changes only. Never transfer translations from the file to Flex (only the other way round).

  • SourceAndTranslation: Copy all content from the file to Flex. Typically this would be used when uploading content the very first time to Flex.

string, Optional

RESULTS