Loading
Email in Marketing Cloud Engagement
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Server-Side JavaScript Activity

          Server-Side JavaScript Activity

          Use server-side JavaScript activities to host and run resources for landing pages. Server-side JavaScript allows you to customize and run these activities flexibly with Marketing Cloud Engagement.

          Create a Server-Side JavaScript Activity

          Task information for creating a server-side JavaScript activity in Email Studio

          Before beginning this procedure, create data extensions, portfolios, or other assets to use as part of your server-side JavaScript scripts.

          1. Click Interactions.
          2. Expand the Activities tree.
          3. Select the Scripts folder.
          4. In the workspace, click Create.
          5. Complete the information in the Properties section of the workspace:
            • Name - Enter the name of your server-side JavaScript activity.
            • External Key - Enter the external key of your server-side JavaScript activity. Use this key to refer to the server-side JavaScript activity as part of an API call.
            • Description - Enter the description of your server-side JavaScript activity.
          6. Enter your server-side JavaScript in the Server-Side JavaScript section.
          7. To verify the syntax of your server-side JavaScript, click Check Syntax. .
          8. Save after entering and verifying your server-side JavaScript.
           
          Loading
          Salesforce Help | Article