Implementation of sync.api.Dialog

Post here questions and problems related to oXygen frameworks/document types.
hatchjk
Posts: 16
Joined: Tue Nov 13, 2007 6:02 pm

Implementation of sync.api.Dialog

Post by hatchjk » Thu Jun 28, 2018 11:08 pm

Please forgive the simple question ... does the Javascript API for Web Author (20.x) provide for retrieving user input data (primarily multi-field text input) from an implementation of sync.api.Dialog, either through use of JQuery or otherwise? If so, could you point me to some documentation?

mihaela
Posts: 205
Joined: Wed May 20, 2009 2:40 pm

Re: Implementation of sync.api.Dialog

Post by mihaela » Fri Jun 29, 2018 12:25 pm

Hi,

There is no API method to automatically retrieve the input data from the dialog.
What you can do is to use the getElement() method from sync.api.Dialog to obtain the HTML dialog element and then iterate through its content elements to retrieve the user data.

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com

Post Reply