Even better Config panel!


And we are back with another SSJS Manager update! This time, we are focusing on the Config panel and other quality of life improvements.

Validations

The Config panel is now more user-friendly. We have added a few validations to make sure you are setting up your project correctly.

Open your Config panel > Deploy Cloud Page & Text Resource section and see the new Validate Deployed Content button. This button will check if your Cloud Pages and Text Resources are set up correctly. If not, you will see a message with a suggestion on how to fix it!

Begone you useless “I swear I uploaded it!” checkbox!

And once you have your project set up, you can now check if SFMC connection is working correctly. Just click the Test Configuration button at the top of the Config panel. This will check if your Marketing Cloud credentials are correct, if the asset folder exists, and if the dev assets are set up correctly.

Handy if you troubleshoot your connection or if you are changing your config!

Oh, and if you did not like checking that checkbox in Develop section… it’s gone! Just promise me, you will Read the ******* Manual!

Would you like to work with other files?

I have added a new preference to the extension. You can now deploy any file type to your Marketing Cloud. Just go to your VSCode Preferences > Extensions > SSJS Manager and add to the Additional File Types setting. This will allow you to develop files like .js or .json in SFMC.

Get Path or Open Page Button

Preview improvements

In the v0.6.7, we have added the ability to switch the language in the Text Resource preview. Also the new command SSJS: Change Script Options allows you to change the Preview option for the script.

And for those pesky bugs…

And last but not least, you can now upload your script to Marketing Cloud directly from the Preview window. Just click the Upload to Dev button next to the Play button.

Enjoy the new features and let me know if you have any suggestions for the next version!