I have configured the plug-in but every time I try to submit changes I get the following error: Incorrect configuration: Please set up the ‘submitChangesValue’ and ‘submitChangesSaveInto’ parameters. Kindly refer to the documentation for configuration details. I assumed that the problem was due to the rule configuration entered in the ‘colConfigRuleName’ parameter. Does anyone know how to configure the parameter?
Discussion posts and replies are publicly visible
Looks like the issue is with 'queryRuleName' and 'colConfigRuleName' configuration in your code. Those should have rule! prefix. Please refer below for syntax reference.
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 )
i see the configuration in other thread. Nevermind i change but now the result it's this (i'l do the creation, the other action if you see it's disabled).
I think that the real problem, it's how to configure the rule instead colConfigRuleName (i don't have information abut appian in the documentation). Can you help me?
In line 13 of your code you have columnConfigs, try to replace the expression there with rule!TNSM_columnConfig() . Also is it possible do share the code if the rule if the above doesn't work and errors out still!
I have now this situation:
the rule that i recall it's this:
But i have the error :
Can you help me?
All the configurations looks good! This component has specific expectation for configuration including no extra commas or not changing the of fields in the gridcolconfig components. For now I can see only two things which are not explicitly mentioned as causing the error but might! firstly in line 14, if you do the need hidden values either remove it or make the curly braces proper there without any spaces. You can try making it null as well to see if it works. Similarly try removing validations as well as you are not using jt. Secondly in the col configs rule extra commas is there. Get rid of that too and retry
I'm seeing a similar error after clicking Submit Changes. See code below.
Also Process model contains a pv called record (multiple + parameter), fully chained
a!localVariables( local!submitChanges:{}, local!creates: {}, gridPlusLayoutField( enableCreate: true, enableEdit: false, enableDelete: false, queryRuleName: rule!FOS_getPPSBasisGridPlusWithFields, queryRuleInputs: null, columnConfigs: rule!FOS_PPSColumnConfigGridPlus(), createDataValue: local!creates, createDataSaveInto: local!creates, editDataValue: {}, editDataSaveInto: {}, deleteDataValue: {}, deleteDataSaveInto: {}, submitChangesValue: local!submitChanges, submitChangesSaveInto: a!save( target: local!submitChanges, value: gridsubmitchanges( queryRuleName: rule!FOS_getPPSBasisGridPlusWithFields, colConfigRuleName: rule!FOS_PPSColumnConfigGridPlus, createData: local!creates, editData: null, deleteData: null, createModel: cons!FOS_write_PPS_BASIS, editModel: null, deleteModel: null ) ) ) )
I have removed the null parameters in the gridPlusLayoutField(). Can you try with this
a!localVariables( local!submitChanges:{}, local!creates: {}, local!edits: {}, local!deletions:{}, gridPlusLayoutField( enableCreate: true, enableEdit: false, enableDelete: false, queryRuleName: rule!FOS_getPPSBasisGridPlusWithFields, columnConfigs: rule!FOS_PPSColumnConfigGridPlus(), 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!FOS_getPPSBasisGridPlusWithFields, colConfigRuleName: rule!FOS_PPSColumnConfigGridPlus, createData: local!creates, editData: local!edits, deleteData: local!deletions, createModel: cons!FOS_write_PPS_BASIS, editModel:null, deleteModel: null ) ) ) )
New error now using your updated code
Looks like the ediDataValue and deleteDataValue are required. I have updated code in my earlier comment. Try and update accordingly.
thanks, made those changes and now back to my original error I previously shared.
Oh wow!
In that case I would suggest to get in touch with Appian Support team. All the configuration is as per documentation and should work.