Transaction Protocol v6 Sample Using JScript

 

The information in this article applies to product: e-Work 6.x

Discussion

  • The attached zip file contains an example of using the e-Work XML Transaction Protocol v6 that a) uses XML parsing for the message management and b) implements the most often used Transaction Protocol messages and functions. See the comments at the beginning of the TPTest.js file for information on setting it up.
  • The following are demonstrated:
    Login
    Query of the ToDo list with the results being mapped into an ADO Record set for easy manipulation and display
    Creating a folder
    Opening the new folder
    Reading folder data
    Taking an action
    Attaching a document
    Submitting the folder
    Canceling a request
    Logging out
  • Although this should work for e-Work 6.0 and later, the procedure requires the v6.5 or v6.6 Designer to open.
Tagged: