Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

UploadCollection for attachments on new document, what's the right way?

$
0
0

Hi folks,

I've read already all the recommended articles/blogs here and got the control to work, upload and everything.

However, I'm not sure how should I be linking the uploaded files when creating a new record/document of my app (when I still don't have the keys saved in SAP to simply link attachment to record key1, key2, etc).

 

Everything works perfectly on edition mode where the document is created already, but what about when the document still doesn't exist and I'm creating it at the same time I'm uploading its attachments?

 

Right now our temporary solution was returning for each file a unique id from the backend and store on frontend, then we send it along with the new document data to make the link, but I wonder, is that the best way? It looks faulty to me.

 

Glad to hear some ideas. Thanks!


Viewing all articles
Browse latest Browse all 2794

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>