hello everyone , can anyone here help me please , i have develloped an interface and i configiured the save button in this interface to do the update of a record field this is my code :
a!buttonWidget( saveInto: { /*a!save(*/ /*target: local!currentUserAccount,*/ /*value: a!update(local!currentUserAccount , 'recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}PBY account.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}Solde', local!newBalance), */ /*),*/ a!writeRecords( records: local!currentUserAccount, onSuccess: a!save( target: local!currentUserAccount, value: a!update(local!currentUserAccount , 'recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}PBY account.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}Solde', local!newBalance), ), ) }, label: if(ri!isUpdate, "Save", "Create"), submit: true, style: "SOLID", validate: true )
Discussion posts and replies are publicly visible