Archive for the ‘Attachments’ Category

Attachments

Posted: 2016-11-13 in Attachments

Q:
I’ve created a section, based on a Attachments Section.
All work fine, but is possible to Edit the docuemnt attached?
In my case, is a Word docuemnt, I open it, but is not possible to save the changed document..
A:
Yes, you can do that. The attachments section in LianjaDemo shows how to do it. Saving the result in the blob field would require code specific to the editor you are using, of course. And it would not work in a pure web context (although on a phonegap or native mobile app there would be ways to accomplish this). This code, showing how to use bindevent and the windows api to detect a file change, could be of use:https://www.universalthread.com/Show….aspx?ID=38921 I haven’t tested it in Lianja, so if you use it, let us know how it works out.