AnsweredAssumed Answered

How to use API functions within HTML widget?

Question asked by richardliu on Mar 11, 2014
Latest reply on Mar 12, 2014 by Ryan Rutan

Hi everyone:


I found two useful functions in v3 Javascript API,


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.


Thank you~~