Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PFPCS-7944

...

Code Block
languagejson
{
  "name": "strategy-designer",
  "label": "Strategy Designer",
  "url": "https://apps.pricefx.com/visual-configuration/1-0-0/#/strategy-designer",
  "businessRole": "StrategyDesigner",
  "configuration": {
    "advancedConfigurationStateEntry": "visual_configuration_psp_state",
    "stateLookupTableName": "StrategyDesignerState",
    "dependencyConfigurationTable": "DependencyConfiguration",
    "priceListLogicName": "IndependentPriceListLogicPSP_PricingLogic",
    "priceSettingDimensionsTable": "PriceSettingDimensions",
    "strategyDefinitionTable": "StrategyDefinition",
    "livePreviewDependencyLevel": "Global",
    "groovyLibraryName": "CustomPricingStrategiesLib",
    "customBlocksGroovyLibraryName": "StrategyDesignerCustomBlocks",
    "excludedParameters": [],
    "additionalParameters": {}
  }
}

...

Here is a list of options you can specify within the configuration object, with their default values and a description. A default value is used when you omit the option.

Option

Default Value

Description

advancedConfigurationStateEntry

"visual_configuration_psp_state"

Key in the Advanced Configuration Options where the deployed state of the Strategy Designer is stored. Change this if you want Strategy Designer to store its deployed state elsewhere, or load it from elsewhere.

stateLookupTableName

"StrategyDesignerState"

Company Parameter where the draft state of the Strategy Designer is stored.

dependencyConfigurationTable

"DependencyConfiguration"

PSP table where dependencies are configured. Unless you have a custom PSP deployment, you should not need to change this.

priceListLogicName

"

IndependentPriceListLogic

PSP_PricingLogic"

Name of the PSP’s

IndependentPriceListLogic

pricing logic. Unless you have a custom PSP deployment, you should not need to change this.

priceSettingDimensionsTable

"PriceSettingDimensions"

PSP table where dimensions are configured. Unless you have a custom PSP deployment, you should not need to change this.

strategyDefinitionTable

"StrategyDefinition"

PSP table where strategy definitions are configured. Unless you have a custom PSP deployment, you should not need to change this.

This is where the custom strategies are written when they are deployed.

livePreviewDependencyLevel

Status
colourYellow
titleobsolete

"Global"

Default dependency level for the Live Preview. It became obsolete in version 1.0.0 where you can pick the level yourself from a drop-down.

groovyLibraryName

"CustomPricingStrategiesLib"

Name of a Groovy Library which contains the custom strategies' generated code.

It does not have to exist; it will be created during the first deployment.

customBlocksGroovyLibraryName

"StrategyDesignerCustomBlocks"

Name of a Groovy Library which contains definitions of custom blocks.

Learn how to define custom blocks in Create Custom Blocks in Groovy (Strategy Designer).

excludedParameters

[]

List of default PSP parameters you want to exclude. Specifying them will hide the blocks from the workspace. For details see Exclude Out-of-the-box PSP Parameters (Strategy Designer).

additionalParameters

{}

List of additional PSP parameters you want to see as blocks. Typically, you would need to specify any additional parameters you created in your customized PSP logic. For details see Include Additional PSP Parameters (Strategy Designer).