/bm_nodeinterpreter

A Node interpreter for Business Manager

Primary LanguageJavaScript

Node Interpreter for Business Manager

⚠️ Before usage ⚠️

This product is intended for technical people who knows how to properly code in SFCC.

Unintended usage (like big queries or object deletion) may cause disruption in the system. This solution and its effects are NOT eligible for Salesforce Support. Use at your own risk.

Overview

When it is not possible to enter to debug mode or make custom queries without the help of a Support Ticket, a Node interpreter is useful to solve problems fast and precisely. The first case is difficult to handle in production environment and the second case may require a lot of time and exhausting back-and-forth. In the meantime the situation is getting worse and worse 🔥

This tool provides an efficient way to execute custom code that can help developers to understand the root of a problem, to fix data without deploying a new job, export objects, etc.

All the standard SFCC functions are availabke, along with SFRA and custom ones developed by the team.

Installation

Move to your cartrdiges folder and create a shallow submodule:

git submodule add --depth 1 git@github.com:davidbertoldi/bm_nodeinterpreter.git

The bm_nodeinterpreter folder will be added. The submodule will be pointed to branch main, that always contains the last stable version.

Then add the cartridge to your site's path in Administration > Manage Sites > Settings (better if you do it for all the sites).

Usage

This module must be restricted to admin users.

Move to Administration > Node Interpreter.

Put in the editor your code and click Run!

example

Something is not working?

Open an issue in this repository to discuss the issue.