More magic for Salesforce B2C Commerce platform. Intellij SFCC 2020.1.6.10 release

Sergey Bevzuk
3 min readJul 29, 2020

--

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
    via Administration > Site Development > Import & Export > Meta.
    Meta data can be stored as one file or split into multiple files (see following screenshot)
Salesforce B2C Commerce XML Meta Data (Example)
  • Variable type must be correct.
    For cases like ProductMgr.getProduct('prodID') it will work out of the box because ProductMgr.getProduct returns dw.catalog.Product type.
    You can also set type manually:
Forced type for product variable to make work Custom Attributes Autocompletion/Goto

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.

Basic Autocompletion/Goto for Custom Objects

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.

Forms Autocompletions/Goto

Code Versions Selector

Now you can switch code versions on the fly (like instances).

Code Versions Select Box

To update code versions, click on the icon to the right of the select box.

Update Code Versions Action

Also new action “Change Code Version” has been added in the B2C Commerce Explorer:

Change Code Version Action

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!

--

--

Sergey Bevzuk

Author of Intellij SFCC | Salesforce B2C Commerce plugin for JetBrains IDEs