Blueprint Developer Manual / Version 2204
Table Of Contents
This Action will calculate the data for the TranslationTree.ts
Studio component. As a result
two maps will be created and stored in the process:
A map that groups the derived content by its locale
A map that groups each derived content by its master version
translationTreeDataVariable
| |
Required | yes |
Description | The name of the process variable where the map of the derived contents, grouped by their locale is stored as a blob. |
premularConfigDataVariable
| |
Required | yes |
Description | The name of the process variable where the map of the masterVersions, grouped by their derived content is stored as a blob. |
masterContentObjectsVariable
| |
Required | yes |
Description | The name of the variable that contains the list of content objects in the master site. |
derivedContentsVariable
| |
Required | no |
Description | The name of the variable into which a list of all derived contents is stored. |
Table 5.31. Attributes of CreateTranslationTreeData
<AggregationVariable name="masterContentObjects" type="Resource"/> <AggregationVariable name="derivedContents" type="Resource"/> <Variable name="translationTreeData" type="Blob"/> <Variable name="premularConfigData" type="Blob"/> ... <AutomatedTask name="CreateTranslationTreeData" successor="CheckIfSelfAssigned"> <Action class="com.coremedia.translate.workflow.CreateTranslationTreeDataAction" masterContentObjectsVariable="masterContentObjects" derivedContentsVariable="derivedContents" translationTreeDataVariable="translationTreeData"/> </AutomatedTask>
Example 5.40. Usage of CreateTranslationTreeDataAction