Response from invokeOperation
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 23
- Joined: Wed Jan 16, 2019 5:16 am
Response from invokeOperation
Post by nstensland »
Is there a way to get a parameter back from the result of an
"editor.getActionsManager().invokeOperation('com.classname'', {parameter: value}, callback)"
call?
Similar to a function returning a result. Need to know the result of the invoke operation.
Thanks again,
Nat
"editor.getActionsManager().invokeOperation('com.classname'', {parameter: value}, callback)"
call?
Similar to a function returning a result. Need to know the result of the invoke operation.
Thanks again,
Nat
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Response from invokeOperation
Hi,
The third parameter of the "invokeOperation" method is "callback", that receives the operation result. The following is the the documentation[1] of this parameter:
Best regards,
Mihaela
The third parameter of the "invokeOperation" method is "callback", that receives the operation result. The following is the the documentation[1] of this parameter:
[1] https://www.oxygenxml.com/maven/com/oxy ... nager.htmlThe Node-style callback to call when the operation finished executing. The callback's first argument is the error object or null; the second one is the actual result. In order to return a result from an operation one has to implement ro.sync.ecss.extensions.api.webapp.AuthorOperationWithResult .
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service