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

1 comments

Hello Fulgen.
Thank you for your question.

In order to assist you i would like you to provide me with some details: in which environment or location is this code being executed? Also could you please provide whole file where you implement your logic?
 

Show all comments