Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
With the 16.3 CPC Patch 1 Release (CPC 16.0.3.73, SDK 16.0.3.28), we have introduced the ability to lock client options in the personal options tab of the CPC.
The following set of options are currently supported for lockdown
<?xml version="1.0" encoding="UTF-8"?>
<StarTeamClientOptions version="1.0">
<category name="File Component">
<option name="Clear Locks On Check-In" value="1"/>
<option name="Use MD5 To Calculate Status" value="1"/>
<option name="URL Display Template" value="Project: ~~Project~~ | View: ~~View~~ | ~~Path~~\~~Name~~"/>
<option name="CentralStatusDir" value="c:\users\username\AppData\Local\Borland\StarTeam\syncdb"/>
<option name="DefaultStatusMethod" value="1"/>
<option name="Set Active Process Item" value="1"/>
<option name="ID Based URL" value="1"/>
<option name="Use Modified Time Stamp" value="1"/>
</category>
<category name="Folder Component">
<option name="ID Based URL" value="1"/>
<option name="URL Display Template" value="Project: ~~Project~~ | View: ~~View~~ | ~~Path~~\~~Name~~"/>
<option name="Use Modified Time Stamp" value="1"/>
</category>
<category name="Requirement Component">
<option name="ID Based URL" value="1"/>
</category>
<category name="Workspace">
<option name="ComponentOrder{guid}" value="File,Folder,ChangeRequest,Requirement,Audit"/>
<option name="Confirm Move" value="1"/>
<option name="Confirm Delete" value="1"/>
<option name="Enable File System Watching" value="0"/>
<option name="Show Search Perspective" value="0"/>
<option name="Allow Multiple Editors" value="0"/>
<option name="Cache Credentials Locally" value="0"/>
<option name="Checkin Update Existing Links Selected" value="0"/>
<option name="Checkin Pin Process Item Selected" value="1"/>
</category>
</StarTeamClientOptions>
To use this feature, the customer need only check in this xml snippet (or a subset, after assigning the appropriate values to the options) into the StarFlow Extensions project, root folder. The file name for checkin needs to be locked.starteam-client-options.xml. Follow the next set of steps...
To lock down client options through StarFlow Extensions.
Check in a file called locked.starteam-client-options.xml into StarFlow Extensions.
This file has the exact format and structure as starteam-client-options.xml, and should actually be derived
from it. However, it should only contain those options and their values that need to be locked down. Boolean Values are either 0 or 1.
The only exception to this is DefaultStatusMethod, which uses 1 for Central, 2 for Per Folder.
When the client (CPC) starts up, any options found in this file are used by the client for the life of its runtime,
and the graphical controls used to manage these option values are disabled in the CPC Personal Options UI.
All users need to have access right permissions to see the StarFlow Extensions
project and to see and check-out the files in order to use the functionality.
For example, if locked.starteam-client-options.xml contains this…
<?xml version="1.0" encoding="UTF-8"?>
<StarTeamClientOptions version="1.0">
<category name="Workspace">
<option name="Enable File System Watching" value="0"/>
</category>
</StarTeamClientOptions>
Then it means that the File System Watching checkbox on the Personal Options TAB will be unchecked and disabled.
Customers using or intending to use this feature, but desiring other options UI elements to be disabled should contact customer support and raise an Enhancement Request.