Question

MOBILE record.save() function in record page is not saving the attachment

Hi Community,

 

We are able to explicitly call the save event in mobile record page from a custom button through record.save(), however this function is not saving the attachment. Any idea how we can save also the attachment through custom button.

 

record.save({

                    queryConfig: Ext.create("Terrasoft.QueryConfig", {

                        isLogged: false,

                        modelName: record.modelName

                    }),

                    success: function() {

                        Terrasoft.MessageBox.showMessage("Success");

                    },

                    failure: function(exception) {

                        Terrasoft.MessageBox.showException(exception);

                    }

                }, this);

Like 0

Like

0 comments
Show all comments