If you or your company enjoy using this project, please consider supporting my work and joining my discord. 💖
Context Menu to make Developing for Salesforce Commerce Cloud Easier:
- Quickly Search SFCC Docs for Selected Text from ISML and JS Files
- Open Content Assets in Business Manager from ISML Files
- Open Slots in Business Manager from ISML Files
You probably already have everything else you need, though we do add a new
sitecodeproperty to thedw.jsonas it is required for opening Slots & Content Assets in Business Manager.
- Make sure you install Prophet Debugger
- Edit the
dw.jsonfile in your VS Code Workspace Root Folder - Add a new
sitecodeproperty ( Administration > Sites > Manage Sites then copy theIDattribute for the one you use most )
Final JSON should look something like this:
{
"hostname": "dev01-web-sandbox.demandware.net",
"username": "[email protected]",
"password": "supersecret",
"code-version": "version1",
"sitecode": "myclient-us"
}This works in any
.ismlof.jsfile. Select the text you want to lookup, right click it, and select Search SFCC Docs.
This works in any
.ismlfile. Select the entireisslotoriscontentassetHTML node ( tripple click to select an entire line ), right click it, and select Open in BM
Here is how you can work on this extension on your local machine:
- Clone this repo to your local machine
git clone https://github.com/sfccdevops/sfcc-vscode-extension.git - Open
sfcc-vscode-extensionfolder in VS Code - Open the
extension.jsfile - Press the
F5key to build & launch a new instance of VS Code - This extension will be installed the new instance for you to play with
The trademarks and product names of Salesforce®, including the mark Salesforce®, are the property of Salesforce.com. SFCC DevOps is not affiliated with Salesforce.com, nor does Salesforce.com sponsor or endorse the SFCC DevOps products or website. The use of the Salesforce® trademark on this project does not indicate an endorsement, recommendation, or business relationship between Salesforce.com and SFCC DevOps.


