ContributionsMost RecentMost LikesSolutionsHow to load/reference online or on-disk JavaScript files to JavaScript Snap scripting Hi, I am able to load JavaScript dependency files to my JavaScript Snap scripting from SLDB. But, can I load/reference online JavaScript references (for ex: https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js) or JavaScript files on my local computer to JavaScript Snap scripting? If yes, can you provide me an example as well? Thank you! Re: Couldn't find SAS Generator Snap in SnapLogic UI Hi, anyone got a chance to respond? Thanks! Re: Azure Service Bus Integration @elesh.mistry Can I get load files (“hmac-sha256.js”, “enc-base64-min.js”) that were being used as part of SAS Key Generation script? Re: Couldn't find SAS Generator Snap in SnapLogic UI We have updated our Org to latest Binary package. But, it looks like, SAS Generator Snap only supports Azure Storage containers or blobs, but not Azure Service Bus. Please find the documentation here https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/836501724/SAS+Generator. Is there any snap that supports Azure Service Bus? Re: Couldn't find SAS Generator Snap in SnapLogic UI Thank you. I will contact my org admin. Re: Couldn't find SAS Generator Snap in SnapLogic UI I opened one of the snaps under binary pack and it’s saying snapsmrc523. I am not sure the version number of snapsmrc523. Can you confirm the version number? If we are not on the latest binary package, I will contact my org admin to upgrade the binary package to latest version. Couldn't find SAS Generator Snap in SnapLogic UI I am trying to generate a SAS Key using JavaScript Snap, but, I could’t able to do it due dependency load issues. So, I went to documentation to see if there is any direct snap to generate SAS Key. I found the following link https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/836501724/SAS+Generator to generate SAS Key using SAS Generator Snap. But, I couldn’t find the SAS Generator Snap in the Snaplogic UI. Is it registered under different name? Re: Azure Service Bus Integration I have uploaded the script files to my project`s directory. Accordingly, I have made changes to load path in the JavaScript snap. It’s not the file location issue. The JavaScript snap was able to find the dependencies, which are hmac-sha256.js, enc-base64-min.js. But, when reading hmac-sha256.js file, I am getting the below error at line 16. Cannot read property “HmacSHA256” from undefined in sldb:/hmac-sha256.js at line number 16, Resolution: Please fix the script file error at line: 16 column: -1 I am not sure, how hmac-sha256.js will initialize HmacSHA256 property. Am I missing something here? Currently, I can be able to upload only two files as new user to SnapLogic per discussion. enc-base64.txt (3.7 KB) hmac-sha256.txt (453 Bytes) Please find hmac-sha256.js, enc-base64-min.js files. Re: Azure Service Bus Integration @dmiller @elesh.mistry I implemented a pipeline as explained above and one of the pipeline steps is “Generate Token” and it’s a JavaScript Snap. The script internally using load(“sldb:///shared/hmac-sha256.js”); load(“sldb:///shared/enc-base64-min.js”) to load dependencies from project’s SLDB. I downloaded same from internet and added the load scripts to my projects SLDB. I opened the scripts and it’s again internally again using some other dependency scripts. I downloaded them as well and added to the projects SLDB. Finally, I am getting the following error. Cannot read property “HmacSHA256” from undefined in sldb:/hmac-sha256.js at line number 16, Resolution: Please fix the script file error at line: 16 column: -1 I understand, hmac-sha256.js is unable to read property HmacSHA256, because it’s not initialized by the time. But, I don’t know how to fix the error. I think it will be helpful if @elesh.mistry can provide all dependency JavaScript files that he added to his projects SLDC for the “Generate Token” JavaScript Snap. Any help on this matter is much appreciated. Also, is there any other way that I can load dependency JavaScript script files to my JavaScript Snap? Looking for Microsoft Azure Service Bus Snaps We have a business use case to read/write data from/to Microsoft Azure Service Bus using SnapLogic. So, I am looking for a Azure Service Bus Snaps to achieve this. So far, I found that, there is a way to interact with Azure Service Bus via the REST Snaps that are built in that’s described here. Azure Service Bus Integration Application Integration Patterns Created by @elesh.mistry The video that was here is no longer available. Pipelines demonstrated in this video: Azure Service Bus (Write) V3_2018_06_22.slp (12.2 KB) Azure Service Bus (Read and Delete) V2_2018_06_22.slp (12.5 KB) But, I just want to check and see if there are any built-in Azure Service Bus Snaps available to take advantage to read/write data from Azure Service Bus and build pipelines on top of it? Thanks in advance.