Access Microsoft Exchange

From DISE KnowledgeBase

Jump to: navigation, search

A javascript is used to retrieve data from a Microsoft Exchange 2003/2007 server, via WebDAV. The sample javascript fetches todays meetings.

  • Open the file Exchange2003.js / Exchange2007.js in a text or source editor.
  • Go to the section starting from line 458/459.

Example.png Settings:

var settings=
{
	server: "",
	username: "",
	password: "",
	// Where to put the resulting text files
	outputPath: "",
	// Where to put the cookie file
	cookiePath: ""
};

These are the settings that the script will use. The "server" settings should be the base URL to the server (if for example you connect to the Outlook Web Access at "https://myserver.com/exchweb/bin/auth/owalogon.asp" then enter "https://myserver.com").
The "outputPath" and "cookiePath" are paths to directories on the computer. Backslashes in the paths must be escaped as such: "E:\dir1\dir2" -> "E:\\dir1\\dir2"
  • Starting with the following lines are settings for which calendar to access.

Example.png Resource calendars:

var resources=
{
	"resourceName": "resourceAccount"
};

The "resourceName" is what the produced text file will be called and the "resourceAccount" is the account to connect to.
  • The sample javascript can be modified as you wish. If you need further customization, please contact support.
  • To include in Dise Parser, click the "+" button and select the General > Script modifier. In the Script modifier settings, browse to the javascript file.



All items on this website are copyright Klocktornet AB 2012, all rights reserved.
All trademarks are property of their respective owners.