Skip to content

An open-source library that takes the repetitive and complex tasks and simplifies them, enabling you to get the most out of Salesforce Marketing Cloud.

License

Notifications You must be signed in to change notification settings

coastalcloud/ssjs-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

email360 logo

A sleek and powerful library for faster and easier development in Salesforce Marketing Cloud ©.

Explore the Docs · Get in touch · email360 Blog

Table of contents

Quick start

To install the Email360 ssjs-lib into your project create a Cloudpage and insert the following code:

%%=TreatAsContent(HTTPGet('https://raw.githubusercontent.com/email360/ssjs-lib/master/setup/setup.js'))=%%

If that URL is erroring for some reason, here's a link that's specific to this CoastalCloud fork (note: may be out of date)

%%=TreatAsContent(HTTPGet('https://raw.githubusercontent.com/coastalcloud/ssjs-lib/master/setup/setup.js'))=%%

Now open the URL of your new Cloudpage, if you experience a timeout refresh the page.

Details of the script that is run for installation can be found at https://raw.githubusercontent.com/email360/ssjs-lib/master/setup/setup.js

What's installed

After executing the installation process you'll find the following directories and files, logically grouping common assets.

Marketing Cloud/
├── Data Extensions/
│   └── email360 SSJS Lib/
│       ├── email360 SSJS Lib - Auth Users
│       ├── email360 SSJS Lib - Authentication
│       ├── email360 SSJS Lib - Log Error
│       ├── email360 SSJS Lib - Log Warning
│       ├── email360 SSJS Lib - SFMC Api Token
│       └── email360 SSJS Lib - WSProxy Cols
└── Content Builder/
    └── email360 SSJS Lib/
        │   └── email360 SSJS Lib
        ├── CloudPages/
        │   ├── Error/
        │   │   └── email360 Error Page
        │   └── Login/
        │       └── email360 Login Page
        └── Lib/
            ├── email360 SSJS Lib - settings
            ├── email360 SSJS Lib - cloudpage
            ├── email360 SSJS Lib - amp
            ├── email360 SSJS Lib - wsproxy
            ├── email360 SSJS Lib - core
            ├── email360 SSJS Lib - polyfill
            ├── email360 SSJS Lib - einstein
            └── email360 SSJS Lib - sfmcapi

Documentation

Email360's SSJS Lib documentation can be found at https://docs.email360.io

Code

Email360's SSJS Lib can be found at https://github.com/email360/ssjs-lib

Creators

Sascha Huwald

Colin Pringle-Wood

Contributing

We welcome all who want to contribute to this repository, to contribute please follow these guidelines.

  1. Fork the repo and create your branch from master. A guide on how to fork a repository can be found here.

  2. Make your changes, test where/if possible.

  3. If your changes alter the behaviour of any of the code, update the corresponding comments within the codebase. The updated comment will then be used to update the documentation found within our docs

  4. Open a pull request against the master branch at https://github.com/email360/ssjs-lib.

  5. Leave a comment on the pull request stating the reason for the change.

  6. One of the administrators of email360/ssjs-lib will review your code, merge it or ask for changes.

Thanks

This library would not have been possible without the Salesforce Marketing Cloud © community. Ohana!

Special thanks to the following people for their active contribution to the community:

Ivan Razine, Adam Spriggs, Zuzanna Jarczynska, Eliot Harper

Copyright and license

Code and documentation copyright 2020 the email360 SSJS Lib under the MIT License.

About

An open-source library that takes the repetitive and complex tasks and simplifies them, enabling you to get the most out of Salesforce Marketing Cloud.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%