This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to save item using javascript?

ransok - Monday, June 23, 2014 6:00 AM:

Hi,

I am trying to save an Item using Javascript. I found top.onSaveUnlockAndExitCommand() to save,unlock and close the item.

But how to just save the item? Is there any other API ?

Thank you



Harsha - Monday, June 23, 2014 7:45 AM:

Hi ransok,

Use top.onSaveCommand(); to save an item. You can find more functions in formtool_window.js at this location: {InstallationLocation}ArasInnovatorInnovatorClientjavascript



ransok - Tuesday, June 24, 2014 2:01 AM:

Thank you Harsha Reddy, formtool_window.js is very helpful.