on ‎2020 Apr 07 3:50 PM
Hello, everyone.
I am working on create dialog. In this dialog I also have attachments.
For saving we use changesets. But I cannot understand how to put request from UploadCollection in the batch, especially in the changeset.
Request with file is separated from batch request.
Some of my code:
oModel.create("/SomeObjectCollection", oObjectData, { // create change for different object
groupId: "createSomething",
changeSetId: "createChangesetID"
});
oUploadCollection.upload(); // Create upload request.
oModel.submitChanges({
groupId: "createSomething",
success: function (oData) {
// Other code here
}.bind(this),
error: function (oError) {
// Other code here
}.bind(this)
});
Request clarification before answering.
Hi freshhead,
I'm trying the same thing but also stuck, did you find any solution for this and maybe you can share?
Thanks & Regards,
Cuong Luc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.