close

Filter

loading table of contents...

Blueprint Developer Manual / Version 2210

Table Of Contents
5.6.2.4.1 GetDerivedContentsAction

This action retrieves all derived contents from a given list of master contents. If a content item already exists in the target site and its masterVersion equals to the current version of the master content, it will be ignored for the workflow. Content items that do not exist will be created in the corresponding folder of the target site. All derived contents will be marked as being in translation.

targetSiteIdVariable
Required yes
Description The name of the variable that contains the id of the target site
masterContentObjects
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
createdContentsVariable
Required no
Description The name of the variable into which a list of all newly created contents is stored. If the workflow is subsequently aborted, these contents can be deleted by the action described in Section 5.6.2.4.9, “RollbackTranslationAction

Table 5.30. Attributes of GetDerivedContentsAction


<Variable name="siteId" type="String"/>
<AggregationVariable name="masterContentObjects" type="Resource"/>
<AggregationVariable name="derivedContents" type="Resource"/>
<AggregationVariable name="createdContents" type="Resource"/>
...

<AutomatedTask name="GetDerivedContents" successor="FollowUpAction">
  <Action class="com.coremedia.translate.workflow.GetDerivedContentsAction"
          masterContentObjects="masterContentObjects"
          derivedContentsVariable="derivedContents"
          createdContentsVariable="createdContents"
          targetSiteIdVariable="siteId"/>
</AutomatedTask>

Example 5.39. Usage of GetDerivedContentsAction


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.