How to use the Element names for rule mapping files in Spectrum/Portrait Miner

UPDATED: August 7, 2017

If, when using pssmappingpublish in Spectrum/Portrait Miner 7.0 to publish a mapping xml file to Portrait Dialogue or Interaction Optimizer, the following error is generated:

***An error occurred in PSS server, following message and error code are returned.
Error message: Failure setting mapping
Error code UnspecifiedError

Check the rule input mapping file is in the correct format, with the required elements and attributes and their names in the correct case.

The correct names are:
  •    inputMap
  •    inputName
  •    inputType
  •    mapping
  •    source
  •    sourceType
  •    system

For example, given a mapping file:

<?xml version="1.0" encoding="UTF-8"?>
<mapping system="IO">
<inputMap sourcetype="FIELD" source="CurrentParty.Age" inputType="integer" inputName="Age"/>
<inputMap sourcetype="FIELD" source="CurrentParty.Gender" inputType="String" inputName="Gender"/>
<inputMap sourcetype="FIELD" source="CurrentParty.AnnualGrossIncome" inputType="real" inputName="AnnualGrossIncome"/>
<inputMap sourcetype="FIELD" source="CurrentParty.NetWorth" inputType="real" inputName="NetWorth"/>

the 'sourcetype' element has the wrong case.  The correct mapping file would be:

<?xml version="1.0" encoding="UTF-8"?>
<mapping system="IO">
<inputMap sourceType="FIELD" source="CurrentParty.Age" inputType="integer" inputName="Age"/>
<inputMap sourceType="FIELD" source="CurrentParty.Gender" inputType="String" inputName="Gender"/>
<inputMap sourceType="FIELD" source="CurrentParty.AnnualGrossIncome" inputType="real" inputName="AnnualGrossIncome"/>
<inputMap sourceType="FIELD" source="CurrentParty.NetWorth" inputType="real" inputName="NetWorth"/>


Environment Details

Product Feature: Integration with Dialogue


  • No Downloads