Update data after upload callback
- Single Page
Posted 10 May 2016 - 05:25 AM
I need update some fields (in detail view) after upload, but before showing detailview.
F.ex.
I upload zip file on server, in callback function I unpack this archive and read information inside, update few fields, then show detail view
Is it possible?
Posted 12 May 2016 - 05:50 AM
yes - this is quite possible and simple ...
u can achieve the same using callback_after_insert / callback_before_update / after_update
Thats where what you can do is - unpack the file uploaded... and pick / update all the information required in whatever fields required.