ScriptContextGetOrCreateField Method (String, ChoiceFieldItemType) |
Namespace: Compiled.EDD.Scripting
public FieldItem GetOrCreateField( string fieldName, ChoiceFieldItemType choiceFieldItemType )
Exception | Condition |
---|---|
Exception | Thrown when a matching field name exists but the choice type does not match the field type. |