More magic for Salesforce B2C Commerce platform. Intellij SFCC 2020.1.6.10 release
2020.1.6.10 brings a lot of new features which will save time for developers:
- [NEW] Autocompletion/Goto for Custom Attributes and Custom Preferences
- [NEW] Autocompletion/Goto for Custom Objects
- [NEW] Hooks Autocompletion/Goto
- [NEW] Forms Autocompletion/Goto
- [NEW] Code Versions Selector in top toolbar
- [NEW] Added new action “Change Code Version” (right-click on connection) in B2C Commerce Explorer
- [UPDATE] Improved UX when editing connection in B2C Commerce Explorer
Custom Attributes and Custom Preferences
2020.1.6.10 brings new awesome feature - Autocompletion/Goto for custom attributes and custom preferences.
There are two conditions to make it work:
- You must have xml meta data somewhere in your project (it really doesn’t matter where) and it must be not excluded for indexing. You can export it
viaAdministration > Site Development > Import & Export > Meta
.
Meta data can be stored as one file or split into multiple files (see following screenshot)
- Variable type must be correct.
For cases likeProductMgr.getProduct('prodID')
it will work out of the box becauseProductMgr.getProduct
returnsdw.catalog.Product
type.
You can also set type manually:
See video of how it works
Custom Objects
Starting from 2020.1.6.10 you have basic Autocompletion/Goto for Custom Object. This functionality also based on XML Meta Data in your project (it must be placed somewhere in your project).
Autocompletion/Goto works for CustomObjectMgr.getCustomObject
method, for first argument which is ID of custom object.
Hooks
2020.1.6.10 provides new experience for hooks.
Now you Autocompletion/Goto not only for hook IDs but also for hook methods!
See video
Forms
Basic Autocompletion for forms. More forms related features will arrive in 2020.1.7 release.
Code Versions Selector
Now you can switch code versions on the fly (like instances).
To update code versions, click on the icon to the right of the select box.
Also new action “Change Code Version” has been added in the B2C Commerce Explorer:
So now there are multiple places where you can change your code version
Summary
2020.1.6.10 is the last release in 2020.1.6 phase.
Next release will be 2020.1.7 and it will bring more outstanding features to make your work much easier. Thanks!
Resources
- Website https://intellijsfcc.com
- Join to Intellij SFCC Slack Chat
- Documentation Intellij SFCC Wiki