Question
GridPlus Component Error
Hi All,
I set up the Grid Plus component using the code provided in https://docs.appian.com/suite/help/25.2/grid-plus.html. However, when I try to submit the changes, I receive the following error: "class [Lcom.appiancorp.suiteapi.type.TypedValue; cannot be cast to class [Ljava.util.Map; ([Lcom.appiancorp.suiteapi.type.TypedValue; is in unnamed module of loader com.appiancorp.tomcat.loader.AppianWebappClassLoader @14151bc5; [Ljava.util.Map; is in module java.base of loader 'bootstrap')". Any suggestions?
a!localVariables(
local!submitChanges: {},
local!creates: {},
local!edits: {},
local!deletions: {},
gridPlusLayoutField(
queryRuleName: rule!RE_queryRule,
queryRuleInputs: {
recordFields: gridrecordfield( < RecordField > , < RecordField > ),
batchSize: 25
},
columnConfigs: rule!RE_columnConfig(),
createDataValue: local!creates,
createDataSaveInto: local!creates,
editDataValue: local!edits,
editDataSaveInto: local!edits,
deleteDataValue: local!deletions,
deleteDataSaveInto: local!deletions,
submitChangesValue: local!submitChanges,
submitChangesSaveInto: a!save(
target: local!submitChanges,
value: gridsubmitchanges(
queryRuleName: rule!RE_queryRule,
colConfigRuleName: rule!RE_columnConfig,
createData: local!creates,
editData: local!edits,
deleteData: local!deletions,
createModel: cons!RE_CREATE_OR_UPDATE,
editModel: cons!RE_CREATE_OR_UPDATE,
deleteModel: cons!RE_DELETE
)
)
)
)
Thanks & Regards,
Someshwar
