EndImpressionRegion
→ voidMarks the end of an impression region opened with BeginImpressionRegion. Optionally closes all nested regions in one call.
Available in:
Email
CloudPage
Automation
Triggered Send
Syntax
Platform.Function.EndImpressionRegion([closeAll])
0–1 arguments
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
closeAll |
boolean | No | When true, closes every nested impression region still open |
Examples
Platform.Function.BeginImpressionRegion("sidebar");
Write(sidebarBlocks);
Platform.Function.EndImpressionRegion();
Platform.Function.BeginImpressionRegion("outer");
Platform.Function.BeginImpressionRegion("inner");
Write(nestedContent);
Platform.Function.EndImpressionRegion(true);