Difference between revisions of "Document Locator"

From PresenceWiki
Jump to: navigation, search
(Advanced Tab)
(Advanced Tab)
Line 25: Line 25:
 
Specify whether this should be a GET request or a POST request. The difference is whether parameters are sent as part of the URL (in the case of GET requests) or part of the header (POST) requests. POST requests allow for larger amounts of data to be sent, and the behaviour of the server may differ depending on the method.
 
Specify whether this should be a GET request or a POST request. The difference is whether parameters are sent as part of the URL (in the case of GET requests) or part of the header (POST) requests. POST requests allow for larger amounts of data to be sent, and the behaviour of the server may differ depending on the method.
  
In addition you can specify name/value pair parameters, which can include Presence [[Variables]], [[Data Table]] references and [[Function Calls]].
+
In addition you can specify name/value pair parameters, which can include Presence [[Variables]], [[Data Table]] references and [[Function Call]]s.

Revision as of 12:44, 14 July 2010

The Presence File Chooser allows users to pick local or remote documents and is used in several Task Elements.

http://www.international-presence.com/wikidocs/images/document_locator.png

Local Network Files

Selecting this option will launch a minimal file chooser dialog prompting the user to enter the file location. Clicking "Browse" will launch a file browser.

On The Internet

This option launches the HTTP File Locator dialog:

http://www.international-presence.com/wikidocs/images/http_locator.png

General Tab

Here you should specify the URL of the document you wish Presence to retrieve and a username and password in case HTTP authentication is required to retrieve the document.

Cookies Tab

Presence Tasks can maintain session state between HTTP requests by receiving and sending cookies. This may mean that a web server remembers Presence's identity between requests. You can enable or disable this feature using the "Send cookies..." and "Accept cookies..." check boxes.

Advanced Tab

Specify whether this should be a GET request or a POST request. The difference is whether parameters are sent as part of the URL (in the case of GET requests) or part of the header (POST) requests. POST requests allow for larger amounts of data to be sent, and the behaviour of the server may differ depending on the method.

In addition you can specify name/value pair parameters, which can include Presence Variables, Data Table references and Function Calls.