I tried to add those functions to my HTML widget, but IE reminded me the “osapi” was undefined while I debuging.
What I want to ask is:
Can I use those functions within HTML widget? If yes, how can I make it?
If no, is there anyother solution to let me create and save docuemt (create and save in content of one group) within HTML widget? For example, click the button and call the backgroud function to finish the create and save behaviours.