sfmc-servicecloud-customsplit | Salesforce Marketing Cloud - Custom journey builder split

 by   mslabina JavaScript Version: Current License: MIT

kandi X-RAY | sfmc-servicecloud-customsplit Summary

kandi X-RAY | sfmc-servicecloud-customsplit Summary

sfmc-servicecloud-customsplit is a JavaScript library. sfmc-servicecloud-customsplit has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This is a basic example of a custom journey builder split activity that reads data from Salesforce Service Cloud and is ready to be deployed to heroku. As of April 2017 this is necessary as a workaround as decision split evaluation for changes in Service Cloud don't evaluate correctly if there are multiple instances of the queried object for one single contact (contact and object have a one-to-many relationship) and even if there are multiple paths to one attribute in Contact Builder / Data Designer. I debugged and tested this issue together with Dave Hacker, who is Sr. Technical Product Manager, Data Products at Salesforce Marketing Cloud. He confirmed that his team is working on a fix, where the desired path in contact model can be selected in the Marketing Cloud user interface. However this fix won't be released before the end of the 2017. Furthermore the team at Salesforce Marketing Cloud is currently working on documenting the issue and known workarounds in this Salesforce Success Article. As mentioned in the Marketing Cloud documentation under Create Custom Activities, it is possible to build custom splits, so I thought I'll just go ahead and give it a shot and as it turned out this solved the problem and can be used as a workaround until the path selection feature is released.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sfmc-servicecloud-customsplit has a low active ecosystem.
              It has 41 star(s) with 51 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of sfmc-servicecloud-customsplit is current.

            kandi-Quality Quality

              sfmc-servicecloud-customsplit has 0 bugs and 0 code smells.

            kandi-Security Security

              sfmc-servicecloud-customsplit has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              sfmc-servicecloud-customsplit code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              sfmc-servicecloud-customsplit is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              sfmc-servicecloud-customsplit releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.
              sfmc-servicecloud-customsplit saves you 23 person hours of effort in developing the same functionality from scratch.
              It has 63 lines of code, 0 functions and 9 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed sfmc-servicecloud-customsplit and discovered the below as its top functions. This is intended to give you an instant insight into sfmc-servicecloud-customsplit implemented functionality, and help decide if they suit your requirements.
            • setup event handlers for injection
            • remove event listeners
            • utility for creating an object
            • Convert i . e to dot notation
            • Iterates over all properties of an object .
            • Mix one object properties into one object
            • wrap a function
            • get all scripts
            • Default error handling .
            • gets global object
            Get all kandi verified functions for this library.

            sfmc-servicecloud-customsplit Key Features

            No Key Features are available at this moment for sfmc-servicecloud-customsplit.

            sfmc-servicecloud-customsplit Examples and Code Snippets

            No Code Snippets are available at this moment for sfmc-servicecloud-customsplit.

            Community Discussions

            No Community Discussions are available at this moment for sfmc-servicecloud-customsplit.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sfmc-servicecloud-customsplit

            Prepare deployment (gather knowledge of the URL the application will be hosted, etc.) to a server you manage or any Node.js-ready cloud service like heroku.com. (Note: this example-application is already prepared to be deployed to heroku, so this is the easiest option. Furthermore you don't have to worry about SSL-setup when using heroku.)
            Before this example can be used, a package containing a Journey Builder Activity needs to be created in Salesforce Marketing Cloud App Center. A documentation for this task can be found here: Create a Marketing Cloud App. Important: The activity's "Public Extension"-setting needs to be set to "This application and other installed Applications" and the example needs to be available via HTTPS which has to be running on the default port 443.
            To secure the backend and make sure only requests from your marketing cloud instance are processed, you need to create a salt key in marketing cloud. Information can be found in the documentation on Key Management and Encode with Customer Key. Follow these steps and add your salt key's ascii representation to package.json under options.salesforce.marketingCloud.jwtSecret, as well as the external key seen in Key Management to all the customerKey-properties in public/config.json. Important: According to the documentation the salt key can be converted by piping it to xxd -p and adding 0x as prefix. However in my tests on MacOS and CentOS the last two characters 0a had to be removed, so I propose to use echo "Hello world" | xxd -p | sed 's/^/0x/;s/0a$//' instead, where Hello world would be your salt.
            The unique key of the created Journey Builder Activity needs to be added to public/config.json properties key and configurationArguments.applicationExtensionKey
            Replace <URL OF THE SERVER RUNNING THE BACKEND> in public/config.json with the URL where your split's backend can be reached (unless deployed to heroku or a similar service, you need to make sure this express app is eihter altered to run using https on port 443 or proxy it on your own (e.g. using nginx)).
            Adapt the outcomes of the split in public/config.json according to your needs.
            Add your Service Cloud credentials to package.json under options.salesforce.serviceCloud.username and options.salesforce.serviceCloud.password.
            Adapt backed/lib/sfdc.js and backend/server.js so the desired object and field from Service Cloud is read and the outcome is returned accordingly.
            Change the module name of the backend in package.json
            Optional: Replace the icons for the custom activity in public/images.
            Deploy the application to the service you selected in step 1.
            Make sure the server hosting the backend is allowed to access to your Service Cloud instance (Setup -> Administration Setup -> Security Controls -> Network Access). Otherwise you will get an error as soon as the backend tries to login.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mslabina/sfmc-servicecloud-customsplit.git

          • CLI

            gh repo clone mslabina/sfmc-servicecloud-customsplit

          • sshUrl

            git@github.com:mslabina/sfmc-servicecloud-customsplit.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by mslabina

            sf15to18

            by mslabinaJavaScript

            sfmc-chrome-devtools

            by mslabinaJavaScript