SFCC-DW-HelperSmall extension to help the SFCC (SalesForce Commerce Cloud) developers, to edit the dw.json file, run commands of Prophet and control the environment Code Versions.
Why this Extension?Simplify the life to SFCC developers, with an extension that provides direct edition of dw.json and the possibility of run Prophet commands on the same sidebar. The extension validates the mandatory fields that the dw.json require to connect with an SFCC environment, that are necessary for Prophet uploads the code and to start a debug.
The main commands Clean Project/Upload All, Enable Upload and Disable Upload, are present on the sidebar, for quick execution of them. For simplify the work of the developers, it's possible to enable until two custom buttons, configured on settings on section SFCC DW Helper. These buttons will only run terminal commands. Interact with environment present on dw.json, to get, create, and delete Code Versions.
FeaturesEdit the dw.json file with modern designEdition of dw.json directly on the sidebar with a refresh and simplicity design
New Status bar information for the connection statusNow we can check directly on Status bar the status of our connection to environment. When clicked, the SFCC DW Helper sidebar we be focused.
Hiding the user's passwordPossibility of hide and show the password field
Basic Prophet commandsThe three Prophet commands present on sidebar, without requiring the execution of these commands by the Command Palette of VS Code.
Schema validationJSON schema validation at start of the extension activation, when the sidebar SFCC DW Helper icon is clicked for the first time on a VS Code window. It check if all fields are of string type and if the field name is the correct.
Controls to compilersPossibility to render until two buttons, for building code, per example, with custom label text and custom terminal commands, all configured on Settings, on SFCC DW Helper section. The button only will be rendering if the toggle is enabled and both text fields fulfilled.
History of inputted data on settingsThe history of Hostname and Code Version inputted data, will be saved on settings.json on an arrays (Hostname History and Codeversion History respectively)
Interact with environment Code VersionsPossibility to connect to SalesForce Commerce Cloud, via OCAPI, to get all Code Versions of the environment configured on dw.json to do:
All necessary fields, Client ID and Client Password should be fulfilled to an successful connection to the environment. For more information, the SalesForce Commerce Cloud documentation can be accessed here. In your environment, should be configured the GET method to On Business Manager, search by OCAPI settings, later select the Data API and include the following object on your Client ID configuration:
With this feature you can see the current active Code Version on the environment. When an Code Version is choose, this one will be saved on your Codeversion History, like the original feature. In case of any error to get the Code Versions via OCAPI, the original feature of access to Codeversion History will be automatically set. For more information, please see the SalesForce Commerce Cloud documentation can be accessed here List of Code Versions to selectCreate a new Code VersionSelect a Code Version to delete
Extension SettingsAll necessary configurations of the extension will be automatically updated on the user's
Known IssuesNone, until now.
Release Notes[0.0.34]
[0.0.33]
[0.0.32]
[0.0.31]
[0.0.30]
[0.0.29]
[0.0.28]
[0.0.27]
[0.0.26]
[0.0.25]
[0.0.24]
[0.0.23]
[0.0.22]
[0.0.21]
[0.0.20]
[0.0.19]
[0.0.18]
[0.0.17]
[0.0.16]
[0.0.15]
[0.0.14]
[0.0.13]
[0.0.12]
[0.0.11]
[0.0.1] - [0.0.10]
|