You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the code required to enable the OmniStudio Migration Tool SFDX plugin.
5
+
6
+
## Running SFDX plugin in developer mode
7
+
8
+
1. Install SFDX cli using the official documentation located [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm).
9
+
2. Authenticate your SFDX cli into the org you are going to use for development. You can follow authentication steps [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_auth_web.htm).
10
+
3. Clone this repository into your local machine.
11
+
4. Open the migration tool code folder in VSCode or your prefered editor.
12
+
5. In a new command line tool, run the following command:
We recommend using the Visual Studio Code (VS Code) IDE for your plugin development. Included in the `.vscode` directory of this plugin is a `launch.json` config file, which allows you to attach a debugger to the node process when running your commands.
63
+
64
+
To debug the `hello:org` command:
65
+
1. Start the inspector
66
+
67
+
If you linked your plugin to the sfdx cli, call your command with the `dev-suspend` switch:
Alternatively, to call your command using the `bin/run` script, set the `NODE_OPTIONS` environment variable to `--inspect-brk` when starting the debugger:
3. Click on the Debug icon in the Activity Bar on the side of VS Code to open up the Debug view.
79
+
4. In the upper left hand corner of VS Code, verify that the "Attach to Remote" launch configuration has been chosen.
80
+
5. Hit the green play button to the left of the "Attach to Remote" launch configuration window. The debugger should now be suspended on the first line of the program.
81
+
6. Hit the green play button at the top middle of VS Code (this play button will be to the right of the play button that you clicked in step #5).
This repository contains the code required to enable the OmniStudio Migration Tool SFDX plugin.
5
4
6
-
## Running SFDX plugin in developer mode
5
+
### Before You Begin
6
+
1. Confirm you have an OmniStudio Admin license.
7
+
2. Enable Standard OmniStudio Runtime in Setup > OmniStudio Settings.
8
+
9
+
## Running SFDX plugin
7
10
8
11
1. Install SFDX cli using the official documentation located [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm).
9
12
2. Authenticate your SFDX cli into the org you are going to use for development. You can follow authentication steps [here](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_auth_web.htm).
10
-
3.Clone this repository into your local machine.
11
-
4. Open the migration tool code folder in VSCode or your prefered editor.
12
-
5. In a new command line tool, run the following command:
13
+
3.In a new terminal session, install the plugin using the following command
We recommend using the Visual Studio Code (VS Code) IDE for your plugin development. Included in the `.vscode` directory of this plugin is a `launch.json` config file, which allows you to attach a debugger to the node process when running your commands.
63
-
64
-
To debug the `hello:org` command:
65
-
1. Start the inspector
66
-
67
-
If you linked your plugin to the sfdx cli, call your command with the `dev-suspend` switch:
Alternatively, to call your command using the `bin/run` script, set the `NODE_OPTIONS` environment variable to `--inspect-brk` when starting the debugger:
3. Click on the Debug icon in the Activity Bar on the side of VS Code to open up the Debug view.
79
-
4. In the upper left hand corner of VS Code, verify that the "Attach to Remote" launch configuration has been chosen.
80
-
5. Hit the green play button to the left of the "Attach to Remote" launch configuration window. The debugger should now be suspended on the first line of the program.
81
-
6. Hit the green play button at the top middle of VS Code (this play button will be to the right of the play button that you clicked in step #5).
0 commit comments