Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.77 KB

File metadata and controls

48 lines (27 loc) · 1.77 KB

Introduction

This readme explains how to run the Custom Value Editor sample in Docker.

Doing so, you do not need to have ODM installed. Instead we are relying on the 'ODM for developer' container image.

Before following the steps below, make sure you have built the images as explained in README.md.

Running the sample

Run ODM docker images

docker-compose -f compose-odm-dev.yml up odm-with-custom-value-editor &

Using the Sample

Log in to the Business Console at http://localhost:9060/decisioncenter using the credentials:

  • Username: odmAdmin
  • Password: odmAdmin

To activate the Custom Value Editor, after login in Decision Center as an administrator :

  • Go in the menu Administration>Settings>Custom Settings
  • Register a new setting named decisioncenter.web.core.intelliruleEditor.sample.myeditor.editor keeping blank the default value of the setting field.

Custom Settings

  • Set the value of decisioncenter.web.core.intelliruleEditor.sample.myeditor.editor to businessvalueeditor.OfferValueEditorProvider

Custom Settings

Load the ValueEditorService.zip Decision Service.

Follow Running this sample details to understand how to use the custom value editor.

Below is the Custom Value Editor display inside the Business Console :

Custom Value Editor

Stopping the Sample

docker-compose -f compose-odm-dev.yml down