ContentArea

Retrieve content from a specified content area.

Syntax 

ContentArea(1, 2, 3, 4)

Function Properties 

OrdinalTypeDescription
1numericRequiredID for content area
2stringImpression region for content
3BooleanIndicates whether a call proceeds if it fails to retrieve content. A value of true returns an exception and terminates the call. A value of false allows the call to proceed.
4stringDefault content to display if the call does not return content from the specified content area

Example 

1<script runat="server">
2     var content = Platform.Function.ContentArea("123456","impressionRegion",false,"defaultContentHere");
3</script>