SmarTeam - Development Suite


General, Open & Documentation Issues

General Issues

Flow server

When hooking a script on the Before Promote system operation, the target state of the current object can be retrieved from the value of the RESULT_STATE of the First Parameter of the function.

Open Issues

None

Documentation

API

STComRefGuide.chm has been updated as follows:

1. SessionUtil.AddReferencetoFileCopy description updated to "OBSOLETE".
2. Example added to SmClientContext CoClass, ISmReferences - Add Method, ISmFileCatalog - Update Method as follows:

Dim oSmClientService As SmartClientContextService.SmClientContextService
Dim oSmFileCatalog As SmartFileCatalog.SmFileCatalog
Dim oSmFiles As SmartFileCatalog.ISmFiles
Dim oSmReferences As SmartFileCatalog.ISmReferences

Set oSmClientService = Session.GetService
("SmartClientContextService.SmClientContextService")
Set oSmFileCatalog = oSmClientService.ClientContext.FileCatalog
Set oSmFiles = oSmFileCatalog.NewSmFiles
Set oSmReferences = oSmFileCatalog.NewSmReferences

oSmFiles.Add referencingFullFileName
oSmReferences.Add referencingFullFileName,referencedFullFileName

oSmFileCatalog.Update oSmFiles, oSmReferences, True