Hey there! If you're knee-deep in Salesforce development with Vlocity (OmniStudio), you know how fiddly managing datapacks can be. Exporting, deploying, and keeping everything organized? It's a hassle without the right tools. That's why I built OmniPack Toolkit – a straightforward VS Code extension that streamlines exporting right from your editor. No more jumping between terminals and UIs; just smooth, integrated workflows.
It is not a complete package, but there should be a starting point always and this is it(^_~).
I created this because I got tired of the manual grind during my own projects. It's designed to feel intuitive, to browse datapacks and quick exports (with or without dependencies). Let's dive in!
-
Native CLI: Uses native Vlocity-CLI to export and fetch the datapacks.
-
Datapack Explorer Tree View: Browse categories like OmniScripts, DataRaptors, Products, and more in a clean sidebar tree. Expand to see available datapacks from your org, and export them with a right-click.
-
Export with Flexibility: Choose to export a single datapack or grab all its dependencies. It uses the Vlocity CLI under the hood for reliable results.
-
Smart Configuration: Set up your SFDX username (or alias), and you're good. It even pulls org aliases from your SFDX setup for easy selection.
-
Status Bar Integration: See your selected SFDX org at a glance in the status bar – click to reconfigure on the fly.
-
Refresh and Reload: Keep your datapack list fresh with a simple refresh command.
-
CLI Checks Built-In: On activation, it verifies if Vlocity CLI is installed and prompts you if not. No surprises!
This extension focuses on the essentials without bloating your VS Code. It's perfect for developers who want to stay in their flow.
-
Open VS Code.
-
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on Mac).
-
Search for "OmniPack Toolkit".
-
Click Install – done!
Or, if you're feeling adventurous, sideload it from a .vsix file (grab it from the releases page if available).
-
Node.js: Version 18 or higher (the Vlocity CLI needs it).
-
Vlocity CLI: Install globally with
npm install -g vlocity
. If it's not there, the extension will nudge you with install options. -
Salesforce CLI (SFDX): For org authentication and aliases.
-
A Vlocity-enabled Salesforce Org: Obviously!
Pro tip: Make sure your project folder is open in VS Code – that's where the magic happens.
Once installed, you'll see the Vlocity DataPack Explorer in your sidebar. If it's empty, hit the refresh button or run the "Vlocity: Refresh Datapacks" command.
-
Run the command "Vlocity: Configure Settings" (Ctrl+Shift+P or Cmd+Shift+P, then type it).
-
It'll prompt for your SFDX username or alias (it auto-detects aliases already logged in).
-
Boom – your status bar now shows the selected org!
-
In the tree view, expand a category (e.g., "OmniScript" or "Product2").
-
Right-click a datapack item and select "Export DataPack".
-
Choose the path where you want to export the datapack.
-
Choose "No Dependencies" for a quick export or "All Dependencies" for the full chain.
-
Watch the progress in notifications – success messages and logs appear in an output channel.
If something goes wrong (hey, Salesforce can be picky), check the output channel or error notifications for details.
Tweak these in VS Code's Settings (JSON or UI):
vlocityDatapackManager.sfdxUsername
: Your SFDX org username or alias.
I kept the configs minimal – no fluff.
-
No datapacks showing? Double-check your SFDX auth and refresh the tree.
-
CLI errors? Ensure Vlocity is installed and your Node version is up to snuff.
-
Export fails? Look at the output channel for CLI logs. Sometimes it's a dependency issue or org permission thing.
-
If you're stuck, open an issue on the repo – I'm here to help!
As a dev who's wrestled with Vlocity, I wanted something that just works without using any manifest file to extract a datapack everytime. No overcomplicated features, just the core stuff to speed up your day. It's open-source, so if you spot a bug or have an idea (like adding more datapack types), fork it and PR away!
If OmniPack Toolkit saves you time and makes your dev life easier, consider buying me a coffee! ☕ Your support helps me maintain this extension, add new features, and keep improving the Salesforce developer experience.
Every coffee fuels late-night coding sessions and keeps me run longer. Thanks for your support! 🙏
Love it? Hate it? Want to improve it?
-
Clone the repo.
-
npm install
to set up. -
Hack away in
/src
. -
Test with
F5
in VS Code (launches a debug instance). -
Submit a pull request – I'll review ASAP.
MIT – use it freely, but if you build something cool on top, let me know!
Thanks for checking out OmniPack Toolkit. Happy coding! 🚀 If this saves you time, drop a star on the repo or share it with your team. Questions? Hit me up in the issues.