Async Interfaces allow users to listen for events and update the contents of a page without refreshing the page.
From the Async Interface List screen, you can edit, copy, and delete existing Async Interfaces, or add new ones.
This filter allows the user to display All, Unused, or Used objects in the List.
Click Add and the Async Interface Properties dialog box displays. It includes the following fields:
This is the async interface name.
Clicking the setup button will cause an outline of an async interface to be created. You then must assign the appropriate listener and data fields to the interface.
When you select either the listener or data tag, an Add button displays at the bottom of the screen. This allows the user to assign fields to the tags.
Clicking Add allows you to specify listener or data fields.
Adding a listener field to the interface will cause the Async Listener Field dialog box to appear. The drop-down list contains fields of these types: listener, string, multiline text, numeric, date and time. If the Automatically Assign Listener Name check
box is selected, the selection that you make in the Field drop-down list
appears automatically in the Name field. |
|
This is the tag name as it appears in the Async Interface.
This is the name of the listener field to be added.
Adding data fields causes the XML Tag window to appear. For more details about the XML Tag window, see XML Interface section.
Once the listener and data fields have been added to the interface, you have the ability to add new ones, as well as edit or delete ones that have already been added.
The edit button allows you to edit listener or data fields that are already a part of the interface.
The delete button allows you to remove listener or data fields from the interface.
Note: Be careful when using the same fields on pages and in Async Interfaces. Forms are processed after the async values are received. Because of this, the values updated by the Async Interface will be overwritten by the field’s value in the form.
Use the Edit button to modify existing Async Interfaces. To edit an Async Interface, you must select one from the Async Interface List and click Edit. When this option is selected, the Async Interface Properties window will appear. You can then edit any item on this screen.
This option allows you to make a copy of an Async interface.
Use delete to remove a Genesys Agent Scripting Interface from the list.
To delete an Async Interface, you must select an Async Interface from the Async Interface List and click Delete.
Click No to cancel the delete.
Click Yes to continue.
You may select multiple Async Interfaces to be deleted by holding the Shift key while selecting the Async Interfaces.
Asnyc commands are available in the Code for Action screen.