ClearQuest Dynamic List Editor

From cqwiki
Revision as of 03:26, 22 November 2012 by Paul (talk | contribs) (Dynamic List Editor)
Jump to navigationJump to search

ClearQuest Dynamic List Editor

Created by ClearQuest admin for ClearQuest admins.

Dynamic List Editor

It is NOT a solution that is provided and supported by IBM-Rational. Dynamic list editor is an add-on to your existing ClearQuest schema, VBScript or Perl based, that provide unified interface to administer Dynamic Lists for Windows, Eclipse, UNIX clients, and (most important) Web client. The enhancement is distributed as a ClearQuest schema integration, and it can be easily removed from the schema when it is no longer required.

In the Editor, all dynamic lists are represented by correspondent stateless records of the Dynamic_List record type.

Dynamic List Editor.png

Dynamic List administrators are working with the stateless records, and when update is completed and records are submitted to the database, correspondent dynamic lists are updated automatically.

Installation Instruction

The package is an add-on to your existing ClearQuest schema. In order to install it, you will need ClearQuest administrative access and administrative tools (ClearQuest designer). When configuration is completed, users with "Dynamic List Admin" privilege or super users can modify content of the Dynamic Lists using editor interface.

Installing ClearQuest Schema Update

It is highly recommended to test the procedure in your development environment, and backup master and user databases before you start.

Download and Unpack Schema Integration

Save downloaded archive to your administrative machine hard drive and unpack it. The integration is a text file that can be easily scanned or inspected.

Apply Integration to ClearQuest Schema

  • Verify that ClearQuest schema is checked in, and there are no pending changes that have not been applied to the user database.
  • Open command line tool, (Start->Run "cmd") and change directory to the location where integration package was unpacked
  • Import integration using "cqload importintegration" command. For example:
cqload importintegration -dbset <db_connection_name> <admin_user> <admin_password> <ClearQuest_Schema_Name> "" "Dynamic List Editor" 1.0 Dynamic_List_Editor.txt ""
  • Verify that schema update was imported and no issues were detected
Cqload completed.png

Upgrade User Database

Now, you can apply changes to the user database using ClearQuest Designer. In the ClearQuest Database Admin section, right click on the user database that you are going to apply changes to. and select "Upgrade Database" from the context menu.

Upgrade db.png

Apply the change that you imported on the previous step by clicking "OK" button. Verify that user database was upgraded successfully.

Upgrade db completed.png

Import First Dynamic List

The rest of the configuration can be done from a ClearQuest client. You can use any client of your choice. In the instructions we will be using ClearQuest Web client, version 8.0. Login as an administrator, and submit new record of the "Dynamic_List" type

Submit Dynamic List 1.png

Select one of the list names in the "Name" drop-down list.

Submit Dynamic List 2.png

Dynamic list will be populated automatically.

Submit Dynamic List 3.png

click "Save" to commit record to the database

Creating Dynamic List Administration Query

Now, you need to create a simple query that will be used by the Dynamic Lists administrators. Right click on the folder were you are going to save the query and select "New Query" from the context menu.

Dynamic List Query 1.png

Select "Dynamic_Query" as a record type

Dynamic List Query 2.png

Provide query name, for instance, "Dynamic Lists", add "Name" field to the presentation/display section, and specify "Ascending" (A-Z) sort order. Save the query.

Dynamic List Query 3.png

Importing Dynamic Lists

Run "Dynamic Lists" query that we created on the previous step. Verify that the first Dynamic List record is in the result set. Open the record. In the "Utilities" section, select "SyncAllLists" action. By default, the action is opened for ClearQuest administrators only.

Dynamic List Sync 1.png

The action syncs ClearQuest records with the correspondent dynamic lists:

  • when ClearQuest record already exists, its content is updated from the dynamic list
  • when ClearQuest record does not exist, new record is created
  • when dynamic list for existing ClearQuest record does not exist, the record is deleted.
Dynamic List Sync 2.png

If no errors occur, a confirmation is displayed. Otherwise, you would see an error message. Refresh the query to verify that all dynamic lists with proper content are loaded.

Dynamic List Sync 3.png


Support

ClearQuest Dynamic List Editor is supported by CQAdmin, inc. Three levels or support agreement are currently offered, starting with free community support at http://forum.cqadmin.org. Consulting services are also available.