Zoho Writer document load response
Hello,
at first I have to compliment to great job that you've made with Writer, Sheet and all other Zoho apps :)
I have maybe a bit unusual questions to Zoho Remote API. I'll try to describe situation:
- in our system (Webnode), user has some uploaded doc, xls, etc. files
- after clicking doc file in web file manager, "Loading" picture appears and iframe with URL on our server is created (using Javascript)
- URL in iframe is script, which passes necessary parameters to via post to Zoho and recieves URL on Zoho server with editable document, then script redirects iframe using http header to Zoho server to document editation
- that "Loading" picture is still visible and I would like to hide it again using Javascript after everything (including Zoho editor) is fully loaded.
Now, finally, the question - is it possible to detect, that Zoho document is loaded or declare some Javascript code to be run on onLoad event on Zoho editor page? Browser doesn't allow me to modify iframe's onLoad action since it has different (Zoho) location.
And one more question is to saving process. I pass to Zoho "save url" for saving document. It works fine too, but Zoho expects no response from saving url, it only passes document and ID data to that URL. Is it possible now (or is it planned) that saving process in editor will read save url's response and show appropriate message (e.g. if something fails or so). Because now user always see "Saved" message even if document is not saved (for example due to security, because I don't want everybody to save user's documents).
So, that's all from my novel today ;)
I will be gratefull for any suggestion or answer,
regards,
shortboy
[Webnode]