---
schema_version: "1"
id: 3dc0515c724c1ab4c98edfb8cb5b9866fc9675cf3902eeed90e453a2b1e914f4
title: Content Area Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_contentAreaFunctions.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_contentAreaFunctions.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2dc8d0a9c86d421e734908bf0ea9c9c79b323fe633cf0923d196e28fdf81f136
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Content Area Functions

Use these functions to create and manipulate content areas in your account. Email messages, SMS messages, and landing pages can make use of content areas.

## Load

In your server-side JavaScript code, first load the core library using the syntax below:

```
Platform.Load("core", "1");
```

The example functions in this document use the object ContentAreaObj, which returns the entire content area object. The ContentArea object returns only the content from the specified content area. Use the ContentAreaObj object with content area server-side JavaScript to prevent errors in your code.

## Initialization

To interact with a content area via server-side JavaScript, you must first initialize the object. The code below initializes an email with the external key of myCA.

```
var area = ContentAreaObj.Init("myCA");
```

After you initialize the content area, you can use the remaining functions.
