HFMwWorkspace Component

The HFMwWorkspace component exposes Financial Management’s task list feature. For example, the following functionality is exposed:

Task lists themselves are documents stored in the document repository, meaning that the HFMwManageDocuments component applies to task lists. For example, to get an existing task list you use GetDocument, and to save a task list you use SaveDocumentEx.

HFMwWorkspace members are described in HFMwWorkspace Methods and HFMwWorkspace Properties.

Obtaining an HFMwWorkspace Object Reference

Create an HFMwWorkspace object with Server.CreateObject. After creating the object, call SetWebSession to associate the object with the HFMwSession object for the application with which you are working:

cHFMDocuments.SetWebSession cHFMSession
Set cHFMWs =  Server.CreateObject("Hyperion.HFMwWorkspace")
' cHFMSession is a previously set HFMwSession object
cHFMWs.SetWebSession cHFMSession

Initializing an HFMwWorkspace Instance

After obtaining an HFMwWorkspace object reference, you must initialize the object by passing the XML string that represents the task list to either the ParseWorkspaceDocument method or the xml property. You get the task list’s XML string from one of the following methods: