Datasource Tag Examples

Datasource AMPscript Examples

This example loads information from an AMPscript variable with collection of objects read by a Datasource tag:

This example produces this information:

Datasource Server-Side JavaScript Example

This example loads JSON data from a server-side JavaScript variable using a Datasource tag:

The example produces this information:

JSON Data Filter and Order Example

This example loads JSON data from a data extension using a Datasource tag, then filters and orders that data:

This example produces this information:

Nested Datasource Example

This example takes information from a nested JSON using the Datasource tag:

The example produces this information: