Updating custom GCF script to GCF 2012

The following procedure is appropriate if a prior version of the Global Collaboration Framework is installed, you have not customized the GCF VBScript code, and you want to update the existing code to work with GCF 2012. If you have already customized the GCF VBScript code and you want to integrate your custom code with the GCF 2012 VBScript code, see Integrating custom GCF script with GCF 2012.

Notes

To update the existing VBScript code of a vault, read what to change below and modify your custom script accordingly:

  1. In Meridian Enterprise Configurator, edit the vault's event procedures code as described in the BlueCielo Meridian Enterprise VBScript API Reference
  2. Remove the following function definitions:

GCFCallRemote

GCFInitiateTransfer

  1. Rename the following function definitions:
  1. Modify the following function definitions:

GCFCallRemote

MergeDelimitedStrings

GCFInitiateTransfer

GCFClearTransit

GCFDocumentStatus

GCFDocumentWpID

SetModifiedBy

GCFGetLog

GCFSetLog

SetLock

SetLockRemote

Replace the following line:

Set objGCFSupport = AMCreateObject("BlueCieloECM.GcfSupport")

with:

Set objGCFSupport = AMCreateObject("BlueCieloECM.GcfSupport", False)

Add the following new line before the line that reads Set to Nothing:

objGCFSupport.Dispose
  1. Modify the function GCFCallRemote:

Old line:

objGCFSupport.CallRemote3

New line:

objGCFSupport.CallRemote
  1. Modify the function GCFClearTransit:

Old line:

objGCFSupport.ClearInTransitMain(GlobalIDs, RemoteShare, bInWA)

New line:

objGCFSupport.ClearInTransit(GlobalIDs, RemoteShare)
  1. Remove the function OnTransferOwnershipScheduled. It is obsolete and not used anymore.
  2. Add a new function SetLockRemote using the following code:
Function SetLockRemote(LockID, Comment)
Dim objGCFSupport
Set objGCFSupport = AMCreateObject("BlueCieloECM.GcfSupport", False)
SetLockRemote = objGCFSupport.SetLockIDRemote(Document.ID, LockID, Comment)
objGCFSupport.Dispose
Set objGCFSupport = Nothing
End Function
  1. Click OK to save your changes.

Related concepts

Configuring with VBScript

Related tasks

Integrating custom GCF script with GCF 2012

Understanding common conflicts

Suppressing custom code during GCF operations

Hiding the Collaboration property page

Confirming deletion of documents

Replicating workflow logs


www.bluecieloecm.com