This commit is contained in:
2020-01-20 18:37:44 +00:00
parent d815b38ebd
commit 7d92f15439
12 changed files with 82 additions and 82 deletions

View File

@@ -96,7 +96,7 @@ namespace AyaNova.Biz
}
//If it doesn't exist, vet the form key name is ok by checking with this list
if (!AyaObjectFieldDefinitions.AvailableObjectKeys.Contains(formKey))
if (!AyaObjectFieldDefinitions.AyaObjectFieldDefinitionKeys.Contains(formKey))
{
//Nope, whatever it is, it's not valid
return null;
@@ -192,7 +192,7 @@ namespace AyaNova.Biz
if ((!PropertyHasErrors("FormKey") && !string.IsNullOrWhiteSpace(inObj.Template)))
{
var ValidCustomFieldTypes = CustomFieldType.ValidCustomFieldTypes;
var ValidFormFields = AyaObjectFieldDefinitions.ObjectFieldsList(inObj.FormKey);
var ValidFormFields = AyaObjectFieldDefinitions.AyaObjectFields(inObj.FormKey);
try
{
//Parse the json, expecting something like this:
@@ -206,7 +206,7 @@ namespace AyaNova.Biz
for (int i = 0; i < v.Count; i++)
{
AyaFieldDefinition MasterFormField = null;
AyaObjectFieldDefinition MasterFormField = null;
var formFieldItem = v[i];
if (formFieldItem["fld"] == null)