Context XML Nodes

From PresenceWiki
Revision as of 12:58, 19 January 2010 by Mattpryor (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Context XML Nodes

These Nodes allow you to save and restore the Presence Context. This is exceptionally useful if you wish to send the state of your Task to the Presence support staff for investigation, or if you want to preserve your data for later use.

Write Context To XML

This Node saves the current Presence Context to an XML file of your choosing.

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

Enter the file location in the field provided, or alternatively specify a variable to save the context to. You can opt to store global variables, task variables, local variables and the data table.

Read Context from XML

This Node loads the Presence Context from an XML file or from a variable.

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

Again you can specify a file name for the XML or a variable name (if the context was saved to a variable). Local and task variables can either be ignored, appended to the existing variables in the context (or ignored if present) or can replace all existing variables in the Context. Global variables can be ignored (do not read) or appended as Task variables.

< Back to Task Elements.