Tool Lifecycle
The tool lifecycle describes how to install, configure, update and uninstall the BaaS extension in Visual Studio Code. See the section Manual/Setup/Installation for how to install Visual Studio Code.
Install Tool
When Visual Studio Code is up and running it's time to install the BaaS extension tool. The BaaS Extension appears as an icon in the VS Code Activiy Bar and when selected opened in the Side Bar.
How to obtain and install the tool:
- Visual Studio Code Marketplace
- Launch Visual Studio Code and launch its Extensions view in the Activity Bar or by pressing CTRL+SHIFT+X keys. Search for Infor or BaaS and click Install in the result list.
- Infor Portal
- Launch and log in to the tenant portal and navigate to the BaaS section. There is a download button available there.
- Infor Portal BaaS Widget
- Launch the BaaS Widget in the portal and download the VSIX file. Install it as described for a distributed file. (NOT AVAILABLE YET)
- Distributed Install File
- If you have obtained a distributed BaaS extension VSIX file, you install it
via the Extensions view in Visual Studio Code. Press CTRL+SHIFT+X keys or open
Extensions in the Activity Bar. In the upper right corner of the Extensions view, click
the '...' and select the option 'Install from VSIX...'. It opens a file selection
dialog. Select the BaaS extension VSIX file and click the 'Install' button. Verify the
installation by selecting it in the Installed list in the Extensions view.
Another option is to install the VSIX file from the command line.
>code --install-extension baascore-1.0.20211221.vsix
Configure Tool
Running the BaaS extension for the first time prompts for the Portal URL when it requires an authentication. The URL must point to a Tenant where the BaaS feature has been enabled using CSP. The URL can also be added by running a command in VS Code. Press F1 and select 'BaaS: Add a new Portal URL'.
Multiple URL:s can be added pointing to different Tenants. There is a command for easy switching between Tenants. Authentication status is securely stored for each Tenant. Press F1 and select 'BaaS: Change Portal URLs'.
Update Tool
The default behavior of the BaaS extension is that it checks for updates when launched and authenticated. The behavior can be changed in the extension settings. Press F1 and select 'BaaS: Open Settings'.
The update check also includes the BaaS Framework libraries required by services built with BaaS. If any updates are found, a notification appears with the option to perform the update action. If the update action is ignored, it can be triggered again by running the update check command. Press F1 and select 'BaaS: Check for Updates'.
Disable/Enable Tool
The BaaS extension can be disabled and enabled in the Extensions view of Visual Studio Code. Press CTRL+SHIFT+X keys or open Extensions in the Activity Bar. Search for the BaaS extension and select it in the result list. There you find an enable or disable button depending on the current state.
Uninstall Tool
The BaaS extension can be uninstalled in the Extensions view of Visual Studio Code. Press CTRL+SHIFT+X keys or open Extensions in the Activity Bar.
Search for the BaaS extension and select it in the result list. An uninstall button is available. Uninstall requires a reload/restart of VS Code. Another option is to uninstall the BaaS extension by using the VSIX file from the command line.
> code --uninstall-extension baascore-1.0.20211221.vsix