Hi,
I am trying to write back information filled in from a form to a datastore and when I click the submit button it is not writing back to the store. Here is the code for the form:
a!formLayout( label: "", contents: { a!billboardLayout( backgroundMedia: a!documentImage( document: 'cons!TRTFF_BK_LOGO_PRIMARY_®_ST_RGB' ), backgroundColor: "#000000", height: "SHORT_PLUS", showWhen: true, marginAbove: "NONE", overlay: a!barOverlay( contents: { a!richTextDisplayField( label: "", labelPosition: "COLLAPSED", value: { a!richTextHeader( text: { "Reclaim The Flame Enrollment" } ) }, preventWrapping: false, align: "CENTER" ) }, style: "NONE" ) ), a!textField( label: "Franchisee", labelPosition: "ADJACENT", value: ri!Data.RTF_Franchisee, saveInto: ri!Data.RTF_Franchisee, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "BKNumber", labelPosition: "ADJACENT", instructions: "", placeholder: "Please Enter One BK Number", value: ri!Data.RTF_BKNumber, saveInto: ri!Data.RTF_BKNumber, refreshAfter: "UNFOCUS", showCharacterCount: false, required: true, validations: {} ), a!paragraphField( label: "Comment(s)", labelPosition: "ADJACENT", value: ri!Data.RTF_Comments, saveInto: ri!Data.RTF_Comments, refreshAfter: "UNFOCUS", height: "MEDIUM", validations: {} ), a!dateField( label: "Todays Date", labelPosition: "ADJACENT", value: ri!Data.RTF_TodaysDate, saveInto: ri!Data.RTF_TodaysDate, required: true, readOnly: false, validations: today() ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidget( label: "Submit", saveInto: a!save(ri!Data), submit: true, style: "PRIMARY" ) }, secondaryButtons: { a!buttonWidget( label: "Cancel", value: true, saveInto: ri!cancel, submit: true, style: "NORMAL", validate: false ) } ))
I also have a sc of the data store configuration:
Discussion posts and replies are publicly visible
There is no process running or write to datastore to send the data to the database we need to configure it. docs.appian.com/.../recipe-use-the-write-to-data-store-entity-smart-service-function-on-an-interface.html
I highly recommend to work through the online trainings and tutorials. These will explain how to do this kind of things.