cancel
Showing results for 
Search instead for 
Did you mean: 

Data Extractor + Content Model Constraints

ghernando
Champ in-the-making
Champ in-the-making
I'm using a custom data extractor and targeting the extracted information to be put into the properties of a custom document type.
It works, except I'm having an issue for properties with constraints.
Some properties use a LIST constraint with "allowedValues".
I'm using the constraint primarily for the values it makes available to the dropdown for these fields in forms.

The problem is that if the extracted value for the property doesn't match one of the allowed values, the metadata insert fails and no properties are updated.
I'd prefer the behavior to be that if a property doesn't match the value of the constraint list that it is not entered.
Is that possible to do?
1 REPLY 1

cstrom
Champ in-the-making
Champ in-the-making
Sure, just use the data dictionary api and check the allowed values yourself before inserting.