All Projects → email360 → ssjs-lib

email360 / ssjs-lib

Licence: other
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.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ssjs-lib

HTTPCalloutFramework
HTTP Callout Framework - A light weight callout framework for apex HTTP callouts in Salesforce
Stars: ✭ 43 (+53.57%)
Mutual labels:  salesforce, salesforce-developers, salesforce-api, salesforce-rest-api
sfmc-devtools
Fast-track your developers and devops engineers by allowing them to programmatically copy-paste / deploy changes and work offline
Stars: ✭ 94 (+235.71%)
Mutual labels:  salesforce, marketingcloud, sfmc
Salesforce-Short-Hands
The main purpose of this repository is to put all the utilities in one place so that other developers can get help and they can also contribute to this repo.
Stars: ✭ 31 (+10.71%)
Mutual labels:  salesforce, salesforce-developers, salesforce-api
apex-fp
Functional programming for Salesforce Apex
Stars: ✭ 231 (+725%)
Mutual labels:  salesforce, salesforce-developers, salesforce-api
texei-sfdx-plugin
Texeï's plugin for sfdx
Stars: ✭ 99 (+253.57%)
Mutual labels:  salesforce, salesforce-developers
Apex-Integration-Services
Apex REST Callouts, Apex SOAP Callouts, Apex Web Services
Stars: ✭ 36 (+28.57%)
Mutual labels:  salesforce, salesforce-rest-api
canvas-starter-kit
A template for developing on the Salesforce Canvas platform in Javascript.
Stars: ✭ 23 (-17.86%)
Mutual labels:  salesforce, salesforce-developers
SFMC-Cookbook
How to survive as a developer for Salesforce Marketing Cloud
Stars: ✭ 70 (+150%)
Mutual labels:  sfmc, ssjs
awesome-lwc
A list of interesting on platform Lightning Web Components resources and code examples
Stars: ✭ 124 (+342.86%)
Mutual labels:  salesforce, salesforce-developers
R.apex
Functional utility library for Apex
Stars: ✭ 80 (+185.71%)
Mutual labels:  salesforce, salesforce-developers
node-swagger-salesforce
auto generate a node/express swagger CRUD API for your Salesforce
Stars: ✭ 17 (-39.29%)
Mutual labels:  salesforce, salesforce-rest-api
apex-mocks-stress-test
Testing out FFLib versus Crud / CrudMock
Stars: ✭ 47 (+67.86%)
Mutual labels:  salesforce, salesforce-developers
Apex-Code-Conventions
Apex conventions and best practices for Salesforce Developers
Stars: ✭ 28 (+0%)
Mutual labels:  salesforce, salesforce-developers
apex-dml-mocking
DML mocking, CRUD mocking, dependency injection framework for Salesforce.com (SFDC) using Apex
Stars: ✭ 38 (+35.71%)
Mutual labels:  salesforce, salesforce-developers
apex-rollup
Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.
Stars: ✭ 133 (+375%)
Mutual labels:  salesforce, salesforce-developers
spaghetti-cmd-loader
Salesforce Custom Metadata Type Loader, designed for Lightning Experience
Stars: ✭ 13 (-53.57%)
Mutual labels:  salesforce, salesforce-developers
lwc-redux
Integrate Redux with Lightning Web Component
Stars: ✭ 35 (+25%)
Mutual labels:  salesforce, salesforce-developers
NebulaFramework
A development framework for Salesforce's Apex language & the Force.com platform
Stars: ✭ 28 (+0%)
Mutual labels:  salesforce, salesforce-developers
Script.apex
Evaluate Javascript expressions in Apex
Stars: ✭ 18 (-35.71%)
Mutual labels:  salesforce, salesforce-developers
apex-tmLanguage
Salesforce Apex Language syntax grammar used for colorization
Stars: ✭ 27 (-3.57%)
Mutual labels:  salesforce, salesforce-developers

email360 logo

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

Explore the Docs · Get in touch · email360 Blog . email360 Youtube


Support

This library is open source and free to use for the community. If you find this library helpful and want to support me, please feel free to grab me a coffee for the late night grinds. Your support is greatly appreciated.

Buy Me a Coffee at ko-fi.com


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.ssjs'))=%%

Please watch the following video for a full guide on the installation of the SSJS Library.

Instal the SSJS LIB

All steps are optional and 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.ssjs



After the installation add the following code at the top of your script to get started. Change the prefix and version as desired. Default is email360 and version 1.0.1

    Platform.Load("Core", "1");
    Platform.Function.ContentBlockByKey('[prefix]-ssjs-lib-[version]');

What's installed

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

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

Changelog

Version 1.01
  1. Introducing versions. Versions will be added to customer keys and DataExtension names. This will allow you to install newer versions of the library without any possible issues on existing code due to backward compatibility.
  2. Added JWT support. A new script has been added: var jwt = new jwt();
    • jwt.encode();
    • jwt.decode();
    • jwt.verify();
  3. Introducing log4ssjs to the SSJS library. Similar to log4js but different...
    • var log = new logger('name');
    • log.level = "DEBUG";
    • Additionally you can set appenders.
      • log.configure = {appenders:[ {type:"dataExtension",level:"INFO"}, {type:"console",level:"TRACE"}]}
    • Currently supported
      • console
      • json
      • html
      • DataExtension
      • HTTPRequest
      • TriggeredSend
  4. Removed script tags from library files for better lint support in vs-code
  5. Introduce a setup wizard to assist with installation

Documentation

Email360's SSJS Lib documentation can be found at https://docs.email360.io
For any tips and tricks please head over to the email360 youtube channel


Code

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


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, Mateusz Dąbrowski, Gregory (Gortonington) Gifford


Copyright and licence

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].