All Classes Namespaces Functions Properties Pages
Using a sessionId in a form
Creating the form

Create a blank form, named UserLogOn, in the Form Designer. Add text boxes for the name of the user to log on and the returned session id along with a button to perform the log on:

LogOnForm.png
Adding actions to the form

In order to make the form work an action that makes a call to Logon3 and stores the returned session id in the relevant textbox:

FormAction.png
Add the action to the form

The action then needs to be attached to the button by going to the Events tab of its properties and adding it:

AddActionToButton.png
Result of loading the form

Loading the form, typing in a user and clicking the button results in the sessionId text field being populated:

FormUsed.png