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