Metastorm BPM Release 7.6

Similar documents
No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

EMC Documentum Connector for Microsoft SharePoint

keyon Luna SA Monitor Service Administration Guide 1 P a g e Version Autor Date Comment

CA ERwin Data Modeler

Gplus Adapter 8.0. for Siebel CRM. Developer s Guide

Endeca RAD Toolkit for ASP.NET. Developer's Guide Version March 2012

Authoring for System Center 2012 Operations Manager

Connector for Microsoft Office SharePoint Server. ados.com Therefore Corporation, all rights reserved.

Improving Performance of Microsoft CRM 3.0 by Using a Dedicated Report Server

Choosing a Development Tool

Microsoft Dynamics GP. econnect Installation and Administration Guide Release 9.0

TIBCO Spotfire Metrics Prerequisites and Installation

Polar Help Desk Installation Guide

Microsoft Dynamics GP econnect Installation and Administration Guide

SAML v2.0 for.net Developer Guide

EMC Documentum Repository Services for Microsoft SharePoint

Qlik REST Connector Installation and User Guide

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Collaboration Technology Support Center Microsoft Collaboration Brief

WatchDox SharePoint Beta Guide. Application Version 1.0.0

Deciding When to Deploy Microsoft Windows SharePoint Services and Microsoft Office SharePoint Portal Server White Paper

TIBCO ActiveMatrix BPM - Integration with Content Management Systems

Project management integrated into Outlook

+ <xs:element name="productsubtype" type="xs:string" minoccurs="0"/>

[MS-DVRD]: Device Registration Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Internet Information Services Integration Kit. Version 2.4. User Guide

Perceptive Intelligent Capture Solution Configration Manager

TIBCO Spotfire Automation Services Installation and Configuration

Configuration Guide. SafeNet Authentication Service AD FS Agent

A SharePoint Developer Introduction

Using EMC Documentum with Adobe LiveCycle ES

ThirtySix Software WRITE ONCE. APPROVE ONCE. USE EVERYWHERE. SMARTDOCS SHAREPOINT CONFIGURATION GUIDE THIRTYSIX SOFTWARE

Microsoft Dynamics GP SQL Server Reporting Services Guide

Universal Management Service 2015

Citrix EdgeSight for Load Testing Installation Guide. Citrix EdgeSight for Load Testing 3.5

TIBCO ActiveMatrix BPM Integration with Content Management Systems Software Release September 2013

Single Sign-on Configuration for SharePoint Integration

Installation and Upgrade Guide

Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports Server 6i

StreamServe Persuasion SP5 Control Center

Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials

Interworks. Interworks Cloud Platform Installation Guide

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports

Glyma Deployment Instructions

Novell ZENworks 10 Configuration Management SP3

Sophos Endpoint Security and Control How to deploy through Citrix Receiver 2.0

Admin Quick Start Guide

DEVELOP. Choosing a Development Tool. Microsoft Dynamics GP. White Paper

metaengine DataConnect For SharePoint 2007 Configuration Guide

TIBCO Spotfire Automation Services 6.5. Installation and Deployment Manual

Using the vcenter Orchestrator Plug-In for vsphere Auto Deploy 1.0

Oracle Financial Services Data Integration Hub Foundation Pack Extension for Data Relationship Management Interface

Integrating Business Portal 3.0 with Microsoft Office SharePoint Portal Server 2003: A Natural Fit

BizTalk Server Business Activity Monitoring. Microsoft Corporation Published: April Abstract

Creating and Deploying Active Directory Rights Management Services Templates Step-by-Step Guide

Lab 05: Deploying Microsoft Office Web Apps Server

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

IBM Business Process Manager Version IBM Business Process Manager for Microsoft SharePoint Add-On Installation Guide

Sophos Enterprise Console server to server migration guide. Product version: 5.1 Document date: June 2012

TIBCO Spotfire Web Player 6.0. Installation and Configuration Manual

SafeGuard Enterprise Web Helpdesk. Product version: 6.1

Item Audit Log 2.0 User Guide

FOR SHAREPOINT. Quick Start Guide

Software Distribution Reference

Project management integrated into Outlook

StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes

McAfee One Time Password

Citrix EdgeSight for Load Testing Installation Guide. Citrix EdgeSight for Load Testing 3.8

New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008

Integrating Siebel CRM with Microsoft SharePoint Server

User manual for e-line DNB: the XML import file. User manual for e-line DNB: the XML import file

Sophos Enterprise Console server to server migration guide. Product version: 5.2

Silect Software s MP Author

DRAFT. Standard Definition. Extensible Event Stream. Christian W. Günther Fluxicon Process Laboratories

Configuring and Integrating JMX

Secure Messaging Server Console... 2

Business Process Management IBM Business Process Manager V7.5

File Share Navigator Online 1

Oracle Java CAPS Message Library for EDIFACT User's Guide

SOA Software: Troubleshooting Guide for Agents

HP Application Lifecycle Management

Installation Guide. Version 5.0

MicrosoftDynam ics GP TenantServices Installation and Adm inistration Guide

Microsoft Active Directory Oracle Enterprise Gateway Integration Guide

IBM WebSphere Application Server Version 7.0

Microsoft Dynamics GP. Business Analyzer

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

Configuring and Integrating Oracle

SMART Sync Windows operating systems. System administrator s guide

Lab Answer Key for Module 1: Installing and Configuring Windows Server Table of Contents Lab 1: Configuring Windows Server

Installing and Running the Google App Engine On Windows

Cluster Guide. Version: 9.0 Released: March Companion Guides:

Deploying System Center 2012 R2 Configuration Manager

Windows Server Update Services 3.0 SP2 Step By Step Guide

IBM Information Server

Business Interaction Server. Configuration Guide Rev A

2.0. Quick Start Guide

Transcription:

Metastorm BPM Release 7.6 DMS Provider Framework Developer Guide May 2008 Metastorm Inc. email: inquiries@metastorm.com http://www.metastorm.com

Metastorm BPM Release 7.6 Copyrights and Trademarks 1996-2008 Metastorm Inc. All Rights Reserved. Copyright Notice Metastorm, Metastorm BPM, e-work, Process Pod, Enterprise Process Advantage, ProVision, The Best Process Wins, Proforma, Metastorm Knowledge Exchange, Metastorm DNA, Metastorm Discovery, STAR, Insight, Envision, and Metastorm Enterprise are either registered trademarks or trademarks of Metastorm in the United States and/or other countries. Microsoft, Outlook, SQL Server, Windows, Vista, Active Directory, Visual Basic, JScript, SharePoint and BizTalk are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe is a registered trademark of Adobe Systems, Inc. Netscape is a registered trademark of Netscape Communications Corporation. Other trademarks are the property of their respective owners. Disclaimer Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However, Metastorm accepts no responsibility, and offers no warranty whether expressed or implied, for the accuracy of this publication. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the express written permission of Metastorm, Inc. The information in this document is subject to change without notice. Metastorm Inc. email: inquiries@metastorm.com http://www.metastorm.com ii May 2008 Metastorm Inc., 2008

CONTENTS Metastorm BPM Release 7.6 DMS Provider Framework Developer Guide Contents 1 Introduction...5 1.1 Acronyms...5 1.2 Getting Further Information...6 2 What is the Metastorm DMS Provider Framework?...7 2.1 Architecture...8 2.2 Metastorm SSO...8 2.3 Metastorm Web Client...9 2.4 Metastorm Web Extensions...9 2.5 DMS Provider...9 3 Getting Started...10 3.1 Files and Dependencies...10 3.1.1 Metastorm.Dms.dll...10 3.1.2 Metastorm.Dms.SharePoint.dll...11 3.1.3 DMS Common Library.xel...11 3.1.4 SharePoint DMS Library.xel...11 4 Writing a DMS Provider...12 4.1 Document Identifier...12 4.2 Metastorm DMS Schema...12 5 Deployment...14 5.1 DMS Provider Assembly...14 5.1.1 Engine Machine...14 5.1.2 Web Extensions Machine...15 5.2 DMS Provider Library...16 Appendix A - The DMS Provider Interface...17 Declaration Syntax...17 Methods...17 Properties...18 Events...18 Appendix B - The DMS Provider Library...19 Upload Document...19 Browse DMS...20 Check In Document...20 Check Out Document...20 Delete Document...21 Download Document...21 Get Document Metadata...22 Set Document Metadata...22 Undo Document Check Out...23 Metastorm BPM Release 7.6 May 2008 iii

Metastorm BPM Release 7.6 Verify Document...23 Verify Folder...24 Appendix C Metastorm DMS Schema...25 iv May 2008 Metastorm Inc., 2008

Metastorm BPM Release 7.6 DMS Provider Framework Developer Guide 1 INTRODUCTION This guide is intended to describe: What the Metastorm DMS Provider Framework is. How to create a DMS provider to use in Metastorm BPM. How to deploy a DMS provider in Metastorm BPM. 1.1 Acronyms The following table lists the acronyms used in this guide: Acronym Meaning DMS COM+ HTTP MOSS SSO Document Management Support Component Object Model HyperText Transfer Protocol Microsoft Office SharePoint Server Windows Single Sign-On Table 1: Acronyms Metastorm BPM Release 7.6 May 2008 5

Metastorm BPM Release 7.6 1.2 Getting Further Information The following table lists where to find detailed information on these topics: For Information on See Metastorm DMS Provider Framework Functions DMS Multi clip and Single Clip Client Guide Designing DMS Multi clip and Single Clip DMS Installation Prerequisites DMS Configuration DMSProviderFramework.chm Metastorm BPM Concepts Designer User Manual Installation Prerequisites Guide Adminsitration Guide Table 2: Getting further information 6 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide 2 WHAT IS THE METASTORM DMS PROVIDER FRAMEWORK? The Metastorm DMS Provider Framework is a concept that provides a generic way of accessing and managing documents in Document Management Support (DMS) systems from within Metastorm BPM. Support for individual DMS is provided in the form of the following components: DMS Provider Assembly This is a.net assembly that implements the Metastorm.Dms.IMetastormDmsProvider interface. DMS Provider Designer Library This is a Metastorm Designer library, activated using the Metastorm Process Orchestrator for.net, and exposes the DMS functionality in the DMS Provider Assembly in the form of Metastorm Designer Integration Wizard functions. Metastorm BPM Release 7.6 May 2008 7

Metastorm BPM Release 7.6 2.1 Architecture The following diagram illustrates how a DMS Provider assembly interacts with the other components in Metastorm BPM: Cluster Component Services Metastorm Process Engine Metastorm SSO DMS Provider Executes Integration Wizard functions in the DMS Provider library Cluster Web Client Metastorm Web Extensions DMS Handler DMS Provider configured in web.config DMS Provider Document Management System Figure 1: Document Management Support in Metastorm BPM 2.2 Metastorm SSO In order to flow users credentials all the way to the DMS Provider, it is envisaged that Metastorm BPM will be configured in a Windows Single Sign-On (SSO) environment. In the Metastorm Web Client, all calls to the DMS Provider will be made using the current logged on user s credentials. 8 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide For DMS Provider Library functions executing in the Metastorm Process Engine, these calls will be made using the Metastorm Process Engine COM+ application identity. The DMS Provider must deal with any credential mapping if the DMS does not support Windows SSO. 2.3 Metastorm Web Client DMS support in the Metastorm Web Client is provided through the new DMS clip field and DMS multi-clip field in the Metastorm BPM forms. 2.4 Metastorm Web Extensions A new HTTP Handler, edms.ashx, has been added to the Metastorm Web Extensions to enable the Metastorm web client to communicate with the DMS using the configured DMS Provider. 2.5 DMS Provider This.NET assembly implements the Metastorm.Dms.IMetastormDmsProvider interface to enable the Metastorm Web Client and Metastorm Process Engine to talk to DMS. Metastorm BPM Release 7.6 May 2008 9

Metastorm BPM Release 7.6 3 GETTING STARTED 3.1 Files and Dependencies The following files are delivered as part of the Metastorm Document Management Support System installation feature: /Engine/dotnetbin/ Metastorm.Dms.dll /Web/bin/ Metastorm.Dms.dll Metastorm.Dms.SharePoint.dll /Administrative Tools/Administrative Procedures/ DMS Common Library.xel SharePoint DMS Library.xel Typically these files can be found in the default location: C:\Program Files\Metastorm BPM. 3.1.1 Metastorm.Dms.dll This is the DMS Provider Framework base assembly. The mandatory Metastorm.Dms.IMetastormDmsProvider interface that every DMS provider must implements is defined in this assembly. 10 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide 3.1.2 Metastorm.Dms.SharePoint.dll This is the Microsoft Office SharePoint Server (MOSS) 2007 DMS provider that ships with Metastorm BPM Release 7.6. 3.1.3 DMS Common Library.xel This is a Metastorm Designer library containing the following Integration Wizard functions to help Process Designers to create procedures to invoke DMS commands in the Process Engine via server script: Get Document Id From Clip: Retrieves the document id in a DMS clip. Get Selected Document Id: Returns the document id of the currently selected document in a DMS clip field or DMS multi-clip field. Get Folder Document Ids: Returns a delimited list of document ids attached to the current folder 3.1.4 SharePoint DMS Library.xel Each specialized DMS provider must be accompanied with its own Metastorm Designer library to enable process designers to invoke DMS commands in the Metastorm Process Engine via server scripts. The SharePoint DMS designer library file, SharePoint DMS Library.xel, has the following Integration Wizard functions, some are mandatory and some are specific to SharePoint: Mandatory Functions See Appendix B for details. SharePoint Specific Functions Get Document Author: Gets the author (creator) of a specified document. Get Document Checked Out By: Gets the user who currently has a specified document checked out. Get Document Creation Date: Gets the date when a specified document is created. Get Document Editor: Gets the editor (modified by) of a specified document. Get Document Last Modified: Gets the date when a specified document is last modified. Get Document Title: Gets the title of a specified document. Metastorm BPM Release 7.6 May 2008 11

Metastorm BPM Release 7.6 4 WRITING A DMS PROVIDER Writing a DMS Provider for Metastorm BPM is fairly straightforward. The two components to implement are the DMS Provider Assembly and the DMS Provider Designer Library. Let s look briefly at each of these components. DMS Provider Assembly. This is a.net assembly that implements the mandatory Metastorm.Dms.IMetastormDmsProvider interface, see Appendix A for details. DMS Provider Designer Library. This is a Metastorm Designer library, activated using the Metastorm Process Orchestrator for.net, that exposes the DMS functionality in the DMS Provider Assembly in the form of Metastorm Designer Integration Wizard functions, see Appendix B for details. 4.1 Document Identifier Most of the methods defined in the IMetastormDmsProvider interface require a document identifier as an input parameter. A document identifier is simply a string value to enable the DMS provider to identify the document in the DMS document repository. For the SharePoint DMS Provider, the document identifier is a URL, but other DMS Provider implementations are free to use whatever they want to identify documents in the DMS document repository. 4.2 Metastorm DMS Schema With the exception of BrowseDms, most of the methods in the IMetastormDmsProvider interface are fairly straightforward. The BrowseDms method takes a string value, representing a location in the DMS repository, as input and returns an XML fragment to represent the specified 12 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide location as output. The XML fragment the BrowseDms method must conform to the Metastorm XML schema, see Appendix C for details. As the DMS support in Metastorm BPM is designed to be generic, a simple folder and file hierarchy has been adopted to represent DMS document repositories. The XML fragment below is a sample output from the SharePoint DMS Provider: <?xml version="1.0" encoding="utf-16"?> <DMSStore Location="http://localhost/Lists/Links"> <DmsItem Name="AllItems.aspx" Location="http://localhost/Lists/Links/AllItems.aspx" /> <DmsItem Name="DispForm.aspx" Location="http://localhost/Lists/Links/DispForm.aspx" /> <DmsItem Name="EditForm.aspx" Location="http://localhost/Lists/Links/EditForm.aspx" /> <DmsItem Name="NewForm.aspx" Location="http://localhost/Lists/Links/NewForm.aspx" /> <DmsContainer Name="Link" Location="http://localhost/Lists/Links/Link" /> </DMSStore> In the above sample, the <DmsItem> element represents a document and the <DmsContainer> element represents a part of the DMS repository that can hold documents within its hierarchy. For SharePoint, a <DmsContainer> element could represent, a site, list, document library or a library folder. Metastorm BPM Release 7.6 May 2008 13

Metastorm BPM Release 7.6 5 DEPLOYMENT This section provides details on deploying custom DMS providers that conform to the Metastorm DMS Provider Framework in Metastorm BPM. 5.1 DMS Provider Assembly As illustrated in Figure 1, both the Metastorm Process Engine and the Metastorm Web Extensions depend on the DMS Provider to deal with DMS related requests. Therefore, additional DMS providers must be deployed in the following locations: Engine Machine Web Extensions Machine 5.1.1 Engine Machine The Metastorm Process Engine uses its existing Process Orchestrator for.net to process DMS related requests. As such, all custom DMS Providers and dependent assemblies must be deployed in the Metastorm Process Engine s JScript.NET library path. The Metastorm Process Engine s JScript.NET library path is defined in the following registry setting: HKEY_LOCAL_MACHINE\SOFTWARE\Metastorm\e-work\Engine\JScriptLib The default value for the above registry key is as follows: C:\Program Files\Metastorm BPM\Engine\dotnetbin;C:\Program Files\Metastorm BPM\Engine\dotnetlib 14 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide The out of the box SharePoint DMS Provider is deployed in the dotnetbin directory. It is recommended that custom DMS Provider assemblies are deployed in the same location. There is no need to install Metastorm Process Orchestrator for.net to use the new DMS support feature. The Metastorm BPM core installation has been updated to deploy all the dependent files if the Metastorm Document Management Support option is selected. 5.1.2 Web Extensions Machine The Metastorm Web Extensions use a configured DMS provider to execute most of the document commands in the new DMS clip and DMS multi-clip fields. The configured DMS provider is also used to render the DMS document repository browser window. If the Metastorm Document Management Support option is selected during installation then a SharePoint DMS provider will be configured and deployed, by default, in the following location: C:\Program Files\Metastorm BPM\Web\bin Any custom DMS provider and dependent assemblies must also be deployed in the above location. The Metastorm Web Extensions are designed to support any DMS provider that conforms to the Metastorm DMS Provider framework. This is achieved through a web configuration setting, illustrated in the following Metastorm Web Extensions web.config file snippet: <configuration> <configsections>... <section name="dms" type="metastorm.dms.metastormdmssection, Metastorm.Dms" /> </configsections>... <!-- SharePoint DMS Provider --> <dms provider="metastorm.dms.sharepoint, Version=7.0.0.0, Culture=neutral, PublicKeyToken=0fa3cc64eebf4c8b" type="metastorm.dms.sharepoint.spdmsprovider" /> </configuration> Metastorm BPM Release 7.6 May 2008 15

Metastorm BPM Release 7.6 If the Metastorm Document Management Support option is selected during installation then the above highlighted settings will be added to the Metastorm Web Extensions web.config file. The Metastorm Web Extensions is designed to run only one DMS provider at a time. To support a custom DMS provider, the <dms> element in the web.config file must be reconfigured as follows: 1. Specify the custom DMS provider s full assembly name in the provider attribute value. 2. Specify the DMS provider class name in the type attribute. The DMS provider class is the.net class the implements the Metastorm.Dms.IMetastormDmsProvider interface. 5.2 DMS Provider Library The custom DMS provider designer library should be copied to the following directory on the Metastorm Designer machine, along with the other Metastorm administrative procedures: C:\Program Files\Metastorm BPM\Administrative Tools\Administrative Procedures The above location assumes Metastorm BPM is installed in the default C: drive. 16 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide APPENDIX A - THE DMS PROVIDER INTERFACE Each specialized DMS Provider must implement the mandatory interface, Metastorm.Dms.IMetastormDmsProvider. Declaration Syntax public interface IMetastormDmsProvider Methods Member AddFile(Byte[], String, String) AddFile(String, String, String) BroweseDms(String) CheckIn(String, String) CheckOut(String) DeleteFile(String) GetDocument(String, out String) GetDocument(String, String) GetDocumentMetaData(String, String) SetDocumentMetaData(String, String, String) UndoCheckOut(String) UpdateFile(Byte[], String) Description Adds a new file to the document store. Adds a new file to the DMS form the local file system. Allows the user to browse a DMS location. The XML must comfort with the DmsProviderStoreSchema. Check In an already checked out file. Check Out a file for editing. Delete a file from the store. Retrieves a file from SharePoint. Retrieves a file from the DMS and saves it at the specified path. Retreives the a single metadata value of a delimited list of metadata values for a file. Updates document metadata with the specified value. Removes the checked out flag from a document. Updates a file in the document store. Metastorm BPM Release 7.6 May 2008 17

Metastorm BPM Release 7.6 VerifyFile(String) VerifyFile(String, String) Verifies that the specified file exists. Verifies that the specified file exists. Overloaded method to allow the document location and file name to specify separately. Properties Member Description IsDirectlyBrowsable Name SupportedDms Description Gets the description of the provider. Gets whether the Dms can be directly accessed outside the Provider. Gets the name of the provider. Gets the name of the supported DMS. Events Member Error FileAdded FileCheckedIn FileCheckedOut FileDeleted FileUndoCheckedOut Description Raised when an operation error occurs. Raised when a file is added to the document store. Raised when a file is checked in the document store. Raised when a file is checked out from the document store. Raised when a file is deleted from the document store. Raised when a file's check out state is discarded. Please refer to the Metastorm DMS Provider Framework reference document for a full description of the IMetastormDMSProvider interface. 18 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide APPENDIX B - THE DMS PROVIDER LIBRARY Each DMS Provider must be accompanied by its own Metastorm Designer library to enable Process Designers to use the Integration Wizard to create DMS commands to execute in the Metastorm Process Engine. The Integration Wizard functions DMS Provider library must implement, at a bare minimum, the following functions: Upload Document This function is used to upload a document to the Document Management System (DMS). Arguments Server File Name. The file name as it will be saved on the server. Local File. The full path to the file to upload. Server Location. The location in the DMS where the document is to be uploaded. Return Value Metastorm BPM Release 7.6 May 2008 19

Metastorm BPM Release 7.6 A document identifier allocated by the DMS. Browse DMS This function returns the content of a specified DMS location in XML format. Arguments DMS Location. A location within the DMS repository. Return Value Text An XML fragment to represent the specified DMS location. Check In Document This function enables a document to be checked back into the DMS. Arguments File Name. A string containing the document identifier. Comments. Comments to include with the document being checked in. Return Value Integer. A value of 0 if sucessful; otherwise 1. Check Out Document This function enables a document to be checked out from the DMS. Arguments 20 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide File Name. A string containing the document identifier. Return Value A value to indicate success or failure. Delete Document This function deletes a document from the DMS. Arguments File Name. A string containing the document identifier. Return Value Integer. A value of 0 if sucessful; otherwise 1. Download Document This function downloads a specified document to the local file system. Arguments File Name. Text A string containing the document identifier. Local File Name. The full path where the document is to be saved on the local file system. Return Value Integer. A value of 0 if sucessful; otherwise 1. Metastorm BPM Release 7.6 May 2008 21

Metastorm BPM Release 7.6 Get Document Metadata This function retrieves the value(s) of the specified document metadata. Arguments File Name. A string containing the document identifier. Metadata Names. A comma-separated list of document metadata names. Return Value A comma-separated list of document metadata values. Set Document Metadata This function assigns a value to a specified document metadata. Arguments File Name. A string containing the document identifier. Metadata Name. The name of the document metadata to modify. Custom Variable. Option. Selects the custom variable whose value is to be assigned to the document metadata. Return Value Integer. 22 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide A value of 0 if sucessful; otherwise 1. Undo Document Check Out This function undoes a document check out. Arguments File Name. A string containing the document identifier. Metadata Name. The name of the document metadata to modify. Custom Variable. Option. Selects the custom variable whose value is to be assigned to the document metadata.. Return Value Integer. A value of 0 if sucessful; otherwise 1. Verify Document This function determines if a specified document exists in the DMS repository. Arguments File Name. A string containing the document identifier. Return Value Check. A value to indicate if the specified document exists. Metastorm BPM Release 7.6 May 2008 23

Metastorm BPM Release 7.6 Verify Folder This function determines if a specified location exist in the DMS repository. Arguments File Name. A string containing the DMS repository location. Return Value Check. A value to indicate if the specified location exists in the DMS repository. 24 May 2008 Metastorm Inc., 2008

DMS Provider Framework Developer Guide APPENDIX C METASTORM DMS SCHEMA The Metastorm DMS provider framework represents DMS repositories internally in a hierarchical structure that conforms to the following XML schema: <?xml version="1.0" encoding="utf-8"?> <xs:schema id="dmsproviderschema" targetnamespace="http://schemas.metastorm.com/dmsproviderbrowse. xsd" elementformdefault="qualified" xmlns="http://schemas.metastorm.com/dmsproviderbrowse.xsd" xmlns:mstns="http://schemas.metastorm.com/dmsproviderbrowse.xsd" xmlns:xs="http://www.w3.org/2001/xmlschema" version="7.6"> <xs:element name="dmsstore"> <xs:complextype> <xs:sequence> <xs:element ref="dmscontainer" maxoccurs="unbounded" minoccurs="0" /> <xs:element ref="dmsitem" maxoccurs="unbounded" minoccurs="0" /> </xs:sequence> <xs:attribute name="location" type="xs:string" /> </xs:complextype> </xs:element> <xs:element name="dmsitem"> <xs:complextype> <xs:sequence /> <xs:attribute name="name" type="xs:string" /> <xs:attribute name="location" type="xs:string" /> </xs:complextype> Metastorm BPM Release 7.6 May 2008 25

Metastorm BPM Release 7.6 </xs:element> <xs:element name="dmscontainer"> <xs:complextype> <xs:sequence> </xs:sequence> <xs:attribute name="location" type="xs:string" /> <xs:attribute name="name" type="xs:string" /> </xs:complextype> </xs:element> </xs:schema> 26 May 2008 Metastorm Inc., 2008