Intellij SFCC 2022.3 is available now!

Sergey Bevzuk
6 min readDec 11, 2022

--

be brave like Ukraine

Hello, it’s been a long time since the last release of Intellij SFCC.
The main reason is Russian invasion of Ukraine

As you may know, I live in Kyiv (🇺🇦 Ukraine) and I didn’t leave it since 24 Feb when russia started bombing us.

I think you already know what happened and how it goes now.
But the main point is that we continue to fight and win.

Anyway, life goes on and so does the evolution of Intellij SFCC.
Next year will bring more useful tools/services around Intellij SFCC.
Most of them will be free and some open-source.

⬇️ Let’s move to the plugin updates! ⬇️

🚨 IMPORTANT 🚨
Intellij SFCC 2022.3 will work only with 2022.3+ JetBrains IDE versions.
Old version of the plugin will be still available for previous IDE versions

Release notes

1. B2C Credentials

B2C Credentials Panel

Starting from plugin version 2022.3, dw.json and connections-source.json are deprecated and not supported anymore.

Alert when you open dw.json or connections-source.json

All your credentials and connections will be automatically synchronized to B2C Credentials storage when you open the project which has dw.json or connections-source.json for the first time.

What is B2C Credentials

B2C Credentials allows you to store all your Accounts and OCAPI credentials in one secure storage and use them everywhere in the plugin.
It also possible to sync credentials between different IDEs even on different machines(Windows/Mac/Linux etc.).
All credentials are case sensitive. So it’s possible to have following type of accounts at the same time:

  • Serhii.Bevziuk@gmail.com
  • serhii.bevziuk@gmail.com

Make sure you use same case as in your SFCC account or account on target instance.

Add new connection pop-up

As you can see on the screenshot we have now two new select ui elements: Account and OCAPI Settings. These comes from B2C Credentials storage.

Now it’s much easier to manage your credentials between projects and instances. Also, it’s much easier to create new connections now.

For example: when you change your password in SFCC, you will need update it only once in the B2C Credentials.

Support for Access Keys

B2C Credentials also supports Access Keys:

How to add Access Keys

If you’ve specified Access Key, it will have priority over your password / OCAPI creds etc. (depends on the scope of the key).

You can add as many hosts with access keys as you need:

Account edit pop-up

2. On-Demand Sandboxes Control Panel

Now it’s possible to control all your On-Demand Sandboxes right from the IDE.

On-Demand Sandboxes Control Panel overview

To use this panel you will need to add OCAPI credentials which has permissions to control On-Demand Sandboxes.

More features and updates to this ODS control panel will be delivered in future releases.

3. Search by Routes in Search Everywhere

Search by Routes in Search Everywhere

Use ⇧⇧ (macOS), or Shift+Shift (Windows/Linux) to open Search Everywhere pop-up and start typing route name.

4. B2C Site Scopes (beta)

It can be found at the Status Bar (right bottom)

How to find B2C Site Scopes widget
B2C Site Scopes

This is one of the most complex features in terms of implementation.

It scans your project and looks for site.xml files which contains site name, id, cartridge path etc.

Once site.xml found it will be parsed and added to Sites (see on the screenshot above)

When you select one of the sites, logic for all autocompletions, code references etc. will be based on cartridge path in site.xml for that site.

For now such logic only applies only to module.superModule and couple of other places.

Example:

With My Store selected

My Store scope selected

With Global Scopeselected

Global scope selected

As you can see, for My Store scope, plugin parses superModule scripts in correct order, based on cartridge path in site.xml .

For Global Scope it will work as before, all scripts in the project will be parsed.

In the next releases this feature will be polished and used everywhere in the plugin.

5. B2C Explorer

B2C Explorer also got new features and UI updates.

Visual and UX updates:

B2C Explorer improvements

Now it’s possible to group your connections and move them in the list or inside group.

See how it works in the following video:

B2C Explorer new features overview

As you can see, any changes regarding groups and changing order are reflected in the Connections Selector (toolbar)

Connections Selector pop-up

Also, in case you didn’t know… you can do quick search on all of these pop-ups.
Just open it and start typing:

Search in Connections Selector Pop-up

Bulk File Upload

There are not much tools that allows you to upload a lot of files quickly via WebDAV.

Now Intellij SFCC is capable to do that, which makes it one of the best tools to upload files via WebDAV to Salesforce B2C Commerce.

Sometimes you need to upload a lot of files (product images or images for the content etc.) to the instance STG/DEV/Sandbox.

You can prepare folder structure on your machine and then just select the root folder which needs to be uploaded and that’s it.

Plugin will scan and upload all your folders/files in concurrent threads
(number of threads can be defined before you start upload).
The speed also depends on your internet connection and how close you located to the target instance. Sometimes it’s better switch to VPN to be closer to the target instance. For example: you’re in Europe and STG/DEV is in the USA.

See how it works in the following video:

Bulk File Upload

6. Connection Selector/Code Version Selector improvements

Connection Selector

Connections Selector allows you switch between instances on the fly or create a new one.
It’s also got some UI/UX improvements:

Connection Selector UX improvements.

Code Version Selector

Code Version Selector allows you switch between code version.
Now it also allows you create code versions:

Code Version Selector UI/UX improvements

Known issues

  • Sometimes IDE can’t index all files correctly. If you noticed such behaviour, it’s recommended to Invalidate Caches
    This issue introduced in all 2022.3 IDEs

Summary

The plugin will continue to evolve next year, with the next release scheduled for January 2023.

Also, Intellij SFCC site https://intellijsfcc.com/ will be updated soon with new features, documentation and other tools.

Stay safe. Stay tuned.

--

--

Sergey Bevzuk

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