SmarTeam - Development Suite


General, Open & Documentation Issues

General Issues

Hooking a script When hooking a script on the Before Promote system operation, the next state of the current object can be retrieved as follows:

The value of the RESULT_STATE should be retrieved.
If the value of RESULT_STATE is empty, the value of STATE from the TaskList should be retrieved.
If this value of STATE is empty, the value of the STATE from the ObjectList should retrieved.

Finally, call the function SmSession.MetaInfo.GetNextPartState(SourceState) and retrieve the next state.

 

Visual Components


When SmarTeam Visual Components SDK (from V5R19 GA or from V5R19 service packs) is installed on a machine which includes SmarTeam, all .dll files are installed to the \Bin folder.

However, if VC SDK is installed on a machine that does not include SmarTeam, the VC .dll is not installed in the proper location, but is installed to the C:\Program Files\SMARTEAM\VisualComponents\Bin folder.

Open Issues

None

Documentation

None

STComRefGuide.chm 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