idMap

Returns the mapped ID for an input value. If no mapped ID exists, the input ID is returned.

The optional value "destination endpoint ID" must be used when the manipulator is set to apply on "write". Otherwise the returned ID value may not be the intended value.

Input Parameters:

{{ input_id | idMap: '<idPath>', '<source content type>', '<destination content type>', '<destination endpoint ID (optional)>' }}

Examples: Input

{{ id123 | idMap: 'content.id', 'sourceCT', 'destCT' }}

Output

<mapped content.id for id123 with source content type 'sourceCT' and destination content type 'destCT'>

Last updated