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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s