UserGuide E30
UserGuide E30
UserGuide E30
USER GUIDE
Edition 30
Copyright Notice
This User Guide documents the entire Teamstudio product suite, including:
Teamstudio Analyzer Teamstudio CIAO! Teamstudio CIAO! Server Teamstudio Configurator Teamstudio Delta Teamstudio Design Manager Teamstudio Profiler Teamstudio Undo Teamstudio Validator
Please read the section(s) of the guide that relates to the Teamstudio tool(s) you use.
This document, as well as the software described in it, is furnished under license, the terms of which are contained in the license agreement. This document may be used or copied only in accordance with the terms of such license. The information contained in this document is subject to change without notice. We make no commitment to update the information contained in this document. Teamstudio assumes no responsibility or liability for technical or editorial errors or omissions that may appear in this document, or for the use of this document.
Copyright 2013 Teamstudio, Inc. All Rights Reserved. Teamstudio and CIAO! are registered trademarks of Teamstudio, Inc. IBM, Lotus Notes, Notes and Domino are registered trademarks of IBM Corporation. Windows is a registered trademark of Microsoft Corporation. All other trademarks are trademarks or registered trademarks of their respective owners.
Contents
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 2
Teamstudio Analyzer . . . . . . . . . . . . . . . . . . .
Analyzers Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Reviewing Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Disabling or Activating Filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Editing or Creating Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Editing or Creating Severity Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Editing or Creating Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Filter Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
ii
Chapter 3
Teamstudio CIAO! . . . . . . . . . . . . . . . . . . . . .
57
iii
Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Versioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Working with Templates and Template-linked Elements . . . . . . . . . . . . . . . . . . . . 125 Requiring Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Assigning CIAO! Feature Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Chapter 4
Teamstudio Configurator . . . . . . . . . . . . . .
141
Viewing the Configurator Output Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Building Configurable Database Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Chapter 5
Teamstudio Delta . . . . . . . . . . . . . . . . . . . .
169
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
How Delta Works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Using Delta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
iv
Chapter 6
213
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213
Starting Design Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 About the Design Manager Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Organizing Actions in a Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Making Actions Shared or Unshared. . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Moving Actions on the Action Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Deleting Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Comparing Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 Adding Comments and Changing Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 Previewing Visual Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Viewing Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 Viewing Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 Selecting Child Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Chapter 7
Teamstudio Profiler . . . . . . . . . . . . . . . . . .
249
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Client and Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Chapter 8
Teamstudio Undo . . . . . . . . . . . . . . . . . . . .
269
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 About the Undo Log Database(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 Configuring Undo to Track Changes to Your Databases . . . . . . . . . . . . . . . . . . . . 270
vi
Chapter 9
Teamstudio Validator . . . . . . . . . . . . . . . . .
275
Chapter 10
Contacting Teamstudio . . . . . . . . . . . . . . .
301
vii
INTRODUCTION
Introduction
Congratulations on your purchase of Teamstudio software. You can use the Teamstudio tools for IBM Lotus Notes and Domino application development individually or together. Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools.
Chapter
Description About this book Using Analyzer The Analysis Output Database The Audit Function Analyzers Audit Filters Auditor Filters for Advanced Users Using CIAO! Client Building Promotion Paths Administering CIAO! Using Configurator Viewing the Configurator Output Log Building Configurable Database Designs Introduction Comparing Elements or Documents Sharing Design Changes through Merging Creating Difference Reports
Chapter 3: CIAO!
Chapter 4: Configurator
Chapter 5: Delta
INTRODUCTION
Chapter
Description Introduction Building a Library You Can Share Organizing a Library Working with Databases and Libraries Using Other Tools from Design Manager Using Profiler Client Using Profiler Server Troubleshooting Using Undo Working with Validator
Chapter 7: Profiler
Chapter 8: Undo Chapter 9: Validator Chapter 10: Contacting Teamstudio Appendix A: ACL Settings
Refer to the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. Once you install the tools you want, read the relevant chapter(s) of this manual to learn how to use those tools.
Remember, if you need help, we are just a phone call away. Technical Support is provided free of charge for the life of the then-current Maintenance Agreement. We welcome your feedback! Tell us what you like and dislike about our products. Tell us what new features or new products you want to see. That way we can continually improve our product, and help you achieve your development goals.
Please send us your feedback via [email protected]. Thank you for using Teamstudio products!
TEAMSTUDIO ANALYZER
Teamstudio Analyzer
Introduction
Congratulations on your purchase of Teamstudio Analyzer! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. You can test, debug and document your database design using Teamstudio Analyzer. Analyzer highlights functional dependencies within the design, verifies compliance with design standards, and uncovers compatibility issues before an upgrade. How does Analyzer work?
It reads the design of your Notes database or template. It analyzes this design. It builds a separate Notes database that represents the design.
The new database contains a document for each design element (such as a form, view, subform or field). Each document contains the fields that represent the properties or attributes of the related design element. Analyzer can audit your design by testing it against a pre-defined set of criteria called filters. The Analyzer audit function identifies design elements that match the filter criteria and writes these audit results to an output database. This audit testing helps flag standards violations and potential performance problems for further review.
USING ANALYZER
Using Analyzer
Starting Analyzer
To start Analyzer 1. 2. In Designer, open the database you want to analyze. Click the Analyzer button on the toolbar. You see the Teamstudio Analyzer window.
3.
On the Teamstudio Analyzer tab, enter the server name and file name of the analysis output database that will store the analysis of your database design, or optionally create a new database by selecting the Create new Database check box and filling in the new database title, template server and template. When you click OK, Analyzer examines all design elements and stores the results in the database you have specified. See Analyzing the Database Design, on page 7, for more information. You can use the Design Notes tab to tell Analyzer which design elements you want to analyze. See Using the Design Notes Tab, on page 16, for more information.
4.
On the Audit tab, enable Auditor which tests your design elements against a pre-
TEAMSTUDIO ANALYZER
defined set of filters. See Auditing a Design, on page 12 for more information about the Audit function.
Typically, there is one analysis output database and one audit output database for each project. There may be a number of different database designs represented in each output database.You may organize the output databases differently.
Tip Design analysis databases become huge if they contain information about several database designs. If you select a large number of design elements for review by an audit run, the audit output database can also become quite large. Consider using more than one output database for analysis and/or audit runs, and decide in advance how to split design information among different output databases.
USING ANALYZER
2. 3. 4. 5. 6. 7.
Select a Server for the output database. Enter a File name for the output database. Optionally, select a Directory for the output databse to reside in. Enter a Title for the new analysis output database. Select the template Server from the dropdown. Select the Template you want from the dropdown, or click the folder to browse your
TEAMSTUDIO ANALYZER
Note
USING ANALYZER
Note
The Select Analysis Database window shows only those databases based on the DEANTemplate. If the database you want does not display, but you know it exists, heres what to do: 1. Open the database in Notes. 2. Click Inherit design from template (shown in the oval) on the Design tab in Database Properties. 3. Enter DEANTemplate into the Template name field.
Note
Analyzer checks to make sure you have delete documents access set in the access control list (ACL) of the analysis database. If you do not have delete documents access, Analyzer may not run. To work around this issue, restart Analyzer and rename the output database.
2.
TEAMSTUDIO ANALYZER
Clear the Incremental update check box to analyze every design element and update every document even if it has not changed. This feature allows you to change the title of a database and then update the design documentation and propagate the new title into other design elements.
USING ANALYZER
Auditing a Design
On the Audit tab, you can select the Enable Auditor check box to have Analyzer determine whether any of your design elements match a pre-defined set of filters. Auditor writes the audit results to an audit output database that you specify. You can investigate issues with the design of your database. If you dont want Analyzer to check every design element in your database during the audit, specify individual design elements on the Design Notes tab. See Using the Design Notes Tab, on page 16, for more information. Each time you run the audit function, Analyzer first examines and updates the analysis file for the targeted design. When Analyzer generates audit output documents they are linked to the associated documents in the analysis database, providing full details of each design element selected by the audit.
TEAMSTUDIO ANALYZER
2. 3.
On the Select Filter Database window, click Select. You see the Open/Browse window. Select the Teamstudio Analyzer Filter Database you want.
Note
USING ANALYZER
4.
5.
From the Select Filter Set dropdown, select the filter set you want to run against your database. Rather than run Auditor multiple times against many different filter sets, you should combine the filters you want, for example, performance problems and standards violations filters, within a class to be processed together. See Analyzers Filters, on page 32, for more information on classes and the filter database.
TEAMSTUDIO ANALYZER
4.
To create a new database, enter the server and output database name, including the path. The new database is automatically based on the tmslogs.ntf template.
By default, Auditor checks every design element in your database. If you dont want Analyzer to audit every design element, specify individual design elements on the Design Notes tab. See Using the Design Notes Tab, on page 16, for more information. 5. After you select the Enable Auditor check box and a filter set, and you specify the output database, begin Analyzing your database.
Note You cannot run Auditor without also running Analyzer. When you click OK on the Teamstudio Analyzer tab to start Analyzer Audit, the database design is also analyzed. The design element subset you selected to Audit on the Design Notes tab also applies to Analyzer. See Analyzing the Database Design, on page 7, for more information.
If you are ready to begin, see Starting the Analysis, page 17.
USING ANALYZER
By default, every category and design element is selected, as indicated by the checkmarks. All of the categories are children of Everything. To see a categorys design elements without affecting currently selected or deselected items, click the plus sign beside the category. Here is how Analyzer treats selected categories and selected design elements:
If you select a design element, Analyzer analyzes it and creates a document for it in the output database. If the design element has changed, the new document overwrites the existing document. If the design element has not changed, the new document overwrites the existing document only if you have cleared the Incremental update check box on the Teamstudio Analyzer tab. If you select a category, Analyzer checks the category, identifies the elements and documents deleted since the last analysis, and moves the Analysis Document to the Deleted Documents category in the output database.
TEAMSTUDIO ANALYZER
When the analysis is complete, Analyzer opens the analysis output database you designated. 2. Expand categories to reveal Analyzers design element analysis documents within the categories.
Note
If you ran an Audit, you must open the Audit output database.
TEAMSTUDIO ANALYZER
Double-click the document to make it editable and to display the development status options within the Note area. Items such as buttons and hotspots that Analyzer creates documents for do not have a corresponding design element in the application database. Consequently, they are difficult to identify reliably from one run to the next. Accordingly, the Note field is not included on those documents. Field documents do contain the Note field since they rarely change names and aliases. You can create a separate document to record any additional information about a major design element document in the analysis database (for example, a description of a design element or maintenance history). You can access a sample document, named Additional Documentation Sample, from the Create menu.
To record additional information about a major design element 1. To create the document, select the design element you want, and select Additional Documentation Sample from the Create menu. This sample form contains a title field (fspvName_WB) and a rich text body field in which to store your information. You can modify these fields to meet your organizations documentation requirements. See Customizing the Template, on page 26, for more information. 2. Complete and save the form. The saved document will display in the All Documents view under the design element you created it for.
Note The Additional Documentation feature is only available for design elements and fields.
Deleted Items
Analyzer moves the deleted element data and any user documentation for previously deleted design elements. You can find the data under the Deleted Items category, in the All Documents view. You can identify the deleted element and any of its children documents, such as fields and buttons, by the Delete icon, a document with a red X through it.
If you no longer need the deleted element data and its documentation, simply delete
TEAMSTUDIO ANALYZER
them from the Analysis file using the Delete hierarchy button.
Tip You can drag deleted fields to the Field X-Ref folder to get a field cross reference report to show usage of the deleted field. See Finding all References to a Field, on page 27 for more information.
1. Expand the corresponding design element category with the left navigator, and open the design element document. The references are listed at the end of the document. 2. Go to the Design Aids view category and select the Dependencies view. This shows all design elements with dependencies by design element category.
The Design Aids category has several views to show the last modified dates. In the Analysis category, there is a subcategory for ACL analysis. In the Objects by Name category is a view called Columns in views that shows several settings that can often be inconsistent.
TEAMSTUDIO ANALYZER
In the design category, under Code and then Script Libraries, is a view called Subs that lists the number of lines of code and the number of variables declared. The largest numbers are the most complex subroutines and could be refactored. Simply drag any field document (under Forms in Object by Name category) and drop it in the xRef folder. Then click the Add References button. Every design element that refers to that field will be included in the view.
Summary of Views
The output database template includes the following groups of views:
View All documents Description Shows all design elements in all databases in the output database. The view is sorted by database title. The hierarchy represents the hierarchy of the database design. The first column in the activity window shows the number (count) of objects within each category. Click the button to open the database,
from which the analysis was taken, in a new Notes window. Design By Object Type Analysis Design Aids Shows views grouped by the same categories you see in Domino Designer. Also includes the Field X-Ref view that shows where a particular field is used. Analytical views of design elements. Views that help you understand the design.
TEAMSTUDIO ANALYZER
You can customize the template to create additional views or Notes agents.
To create a template you can customize 1. 2. 3. 4. From Notes, make a new copy of the Teamstudio Analyzer Template (ivesdean.ntf). Open the Database Properties window for the new file. Then click the Design tab. From the Design tab, rename the new template. In the Database Categories box, enter DEANTemplate.
When creating a new output database, you base its design on a template that you select from a list of all the templates you have created. You can add fields to the forms in the output database template. The fields can hold information, such as comments, that you add to the database. These additional fields are not overwritten when the analysis output is updated.
Caution The content of user-defined fields is only preserved between Analyzer runs for design notes and fields.
TEAMSTUDIO ANALYZER
Similarly, you can add forms to the output database template to hold any data you want to capture. You can create and edit these forms, optionally using formulas and scripts that extract data created by Analyzer into your form.
Caution While a user-defined form is not overwritten when the analysis output is updated, the documents created with user-defined forms will only be preserved between Analyzer runs for main documents and responses to design notes and fields.
Analyzers analysis function helps with these decisions by extensively documenting the attributes and contents of a design, and by providing views that help answer many of these questions. Sometimes, however, you must examine a combination of elements and their attributes to properly answer a question. The audit function can help by letting you define requirements and then test the design of the database or template to make sure it meets the requirements. Many of these requirements are reusable, such as standards or common coding errors. Others will have a unique temporary nature, such as a special change request or compatibility issues raised by upgrades to a new version of Notes. Auditor includes some predefined tests that give you a head start on defining typical tests such as locating the following:
Common coding errors Potential performance problems Violations of typical organizational standards Potential application upgrade problems Potential Web or O/S compatibility problems
TEAMSTUDIO ANALYZER
Auditor Components
Auditor uses several databases to identify the design elements you want to find, as described in the following table:
Database Filters (based on deanfltr.ntf) Analysis (for example, analysis.nsf) Audit output (for example, Description Describes the criteria to use when auditing a design. Created by Analyzer when a design is analyzed. Documents the instances of design elements selected by Auditor which match filters.
auditreport.nsf)
When Auditor runs, it retrieves the filter(s) from the Filters database and scans the analysis file looking for design elements that match those filter(s). For each match, Auditor creates a document in the audit output database.
Documents are sorted by database title, the date and time Auditor was run and design element categories. Running Audit against the same database at different times gives you results grouped for each date and time reported.
Note When you open the Audit output database, you may notice views in the navigator pane that do not apply to the Audit function. That is because the database is based on Teamstudios tmslogs.ntf template, which is a general purpose template designed for use with all of our products. Since the Auditor only creates documents that appear in its own views, you may ignore the other views when using the database for auditing purposes.
TEAMSTUDIO ANALYZER
Auditor creates a document in its output database each time it finds a design object that matches any of the filters processed during the audit run. A design element can appear more than once under its design category since a document is created for each filter a design element matches. Expand a design element category to learn which design elements matched the filters.
Design elements that matched a filter are divided into severity categories based on those defined in the Filters database. In this example, several design elements match filters assigned low and medium severity. If the item selected is a design element (for example, a form), the parent of the design element (for example, the database) is listed in the Found In column. If the item selected is a component of a design element (for example, a field within a form), its host design element is shown under the Found In column. The filter the design element matched is listed in the Filter column.
ANALYZER S FILTERS
Analyzers Filters
Filters identify design objects you want to focus on. You define filters by specifying the attributes and properties that meet your criteria. Analyzer Filter examples
Use of @dblookup in a keyword definition (potential performance problem) Editable text fields without Help text (violations of organizational standards) Non-computed fields ending in _1 (common coding errors) Existence of a certain design element (for example, Help Using, Help About or a particular form) Use of specific field properties (for example, Date/Time fields that dont display the year with four digits)
Auditor scans the analysis output looking for design objects that match the filter criteria and documents each occurrence in the audit output database. Since most development organizations have their own standards and procedures, you may want to add your own filters, modify the severity to match terms and criteria you use, and classify filters with terms you normally use. With Auditor, its easy to customize filters and their attributes to meet your organizations needs. You can find the filters and definitions of their attributes (class and severity) in the Analyzer Filter database. The Analyzer Filters database included in this release is deanfltr.ntf. Prior to Edition 24, it was deanfltr.nsf. This is so the install database does not overwrite the filter database currently on your system. If you have modified the database in any way, you will not lose any changes or customization. However, this means that you must create a new filter database if you want to incorporate the bug fixes included with this release.
TEAMSTUDIO ANALYZER
To upgrade your filters database 1. 2. 3. 4. 5. Make a copy of your current Analyzer Filters Database (deanfltr.nsf) Create a new database (File > Database > New) and name it deanfltr.nsf Select Analyzer Filters Template from the template box. Click Yes when Notes asks if you want to overwrite the existing one. (It's OK; you made a copy) Copy all your custom filters into this new database from your old one.
The attribute, Class, groups the same type of filters together. For example, filters that identify design techniques that can cause problems when you upgrade to a new Notes Release are typically categorized as Release A to Release B Upgrade Issues. Therefore, you can set up a class called Release A to Release B Upgrade or simply, Upgrade. Then, when you define a filter that fits this category, you assign it to the Upgrade class. At run-time, you tell Auditor which class of filters to use. The Severity attribute prioritizes the documents stored in the audit output database, helping you to systematically review and act on the items selected. The following sections describe how to work with filters:
Reviewing filters and their attributes Disabling or activating filters Editing or creating classes Editing or creating severity definitions Editing or creating filters
ANALYZER S FILTERS
Reviewing Filters
When you open the Analyzer Filter database, you can review the following:
Filter Classesname and description The Filters themselves by the Class they are assigned to by the Design Element they audit The Severity Definitionsname and description
TEAMSTUDIO ANALYZER
A green check mark indicates that the filter is active. A red X indicates that the filter is disabled. Remember to activate disabled filters when required.
ANALYZER S FILTERS
TEAMSTUDIO ANALYZER
To create a class 1. 2. 3. 4. Open the Analyzer Filter database. Click the Admin > Filter Classes view. Click the Create Class button .
Enter the Class Name and Class Description. The Class Name should be something brief but descriptive since it will be shown in the Filter Set selection box at run-time. The Class Definition should explain the use of the filters in the Class.
5.
ANALYZER S FILTERS
The following example shows how you can set up severity codes for filters. You can change the name or description of an existing severity level to meet your standards, or create an entirely new severity level.
To edit a severity level 1. 2. 3. 4. 5. 6. Open the Analyzer Filter database. Click the Admin > Severity Definitions view. Double-click an existing Severity Definition to open the document. Double-click the document to enter edit mode. Change the Severity Name, Value or Description to meet your requirements. Save your changes as prompted when you close the document.
TEAMSTUDIO ANALYZER
To create a severity level 1. 2. 3. 4. Open the Analyzer Filter database. Click the Severity Definitions view. Click Create Severity Definition Enter the Severity Name, Value and Description. .
The higher the severity value, the more important it is to fix the data element identified by the filter. You may assign severity levels in any numerical range. 5. Save your changes as prompted when you close the document.
ANALYZER S FILTERS
Filter description
The element the filter is focussed on The property to include in the validation formula
TEAMSTUDIO ANALYZER
To create a filter 1. 2. Open the Filter database (deanfltr.nsf). Click the Create Filter action button You see a New Filter document. .
ANALYZER S FILTERS
3.
While selecting All lets you create filters that apply to all elements within a database design, selecting All Design Elements restricts your filter to first-level elements such as page, form or view. It ignores (doesnt include as audit targets) sub-elements such as field, hotspot and column. With the Apply To field chosen, the form expands to show the Evaluate Against options, the Property field, and other filter options. Evaluate Against Select the Property option to include a property in the validation formula, or select an option to apply an existing filter against the Parent or the Children of the element in the Apply To field.
TEAMSTUDIO ANALYZER
Field Property
Description Select the property you want to test. The list generated is based on the Apply To field type. Once you select the property, the form shows options for defining a condition to use in the selection step. The condition options you see are based on the Apply To and Property fields selected.
Condition
Select the appropriate operation to define your test. The operation choices depend on the Apply To and Property selections you made previously. For example, select Button for the Apply To design element and Hide When Options for the property. To add a Condition, simply select one of the operations such as Has one of the following. Then select a Compare With value such as Web browsers. To test multiple conditions, you click AND or OR to specify the logical operator. When you have selected the elements of a single condition, click the Add Condition button to have the Validation Formula updated to include the test just completed.
Replace Condition
4.
ANALYZER S FILTERS
To edit a filter 1. 2. 3. Open the Analyzer Filter database. Double-click an existing filter to open the document. Double-click the document to enter edit mode.
4.
Edit the fields you want. If your edits require a new validation formula, Auditor automatically generates it when you select a property and add or replace a condition.
5.
Use the Validation Text field to reverse engineer how a validation formula was
TEAMSTUDIO ANALYZER
created. 6. Save your changes as prompted when you close the document.
Note
To develop a filter for a different design element, you must create an entirely new filter. To modify the Validation Formula, use the Add or Replace Condition functions to rebuild the formula.
Filter Examples
The following table shows examples of filters you can create. Procedures for creating them follow the table.
Filter Example Search for static text Description You can search your database for instances of a particular @Function such as @Do. To do this, create a filter that searches for @Do using the TMSRTContains formula. Use whole word matching, or the search result will include other functions that begin with @Do, such as @Doc, @DoChildren and @DocFields. To meet corporate standards, you must find and correct all the forms that do not include their name in the window title. To do this, you would likely pass the form name to the TMSRTContains function using a formula such as TMSRTContains( ffrmWinTitle; 0; Memo ), where Memo is a particular forms name. However, you want to find all such forms, not just Memo. To search for all such forms, pass the field name that contains the title of the form instead of a literal string of the form name. You can then apply this filter to all forms, not just a particular form. Use values from the parent One of your companys standards is that field names must start with form aliases. You can create a filter that shows all the fields in a document, where field names do not start with the alias of the form/subform they reside in.
ANALYZER S FILTERS
To create a filter that searches for use of a constant value: @Do 1. 2. 3. Open the Auditor Filter database, which is called deanfltr.nsf. Click Create Filter to open the New Filter window. From the New Filter window, enter the following:
What to enter or select Use of @Do in database Yes Medium Generic Filters Look for the use of @Do All
Field name Filter Name: Filter Active: Severity: Filter Class: Comment: Apply To:
4. 5. 6.
In the Property field, click the arrow to display the list. Then select the keyword All Code (Formula / LS / JavaScript). In the Operation field, select the RT contains option. In the Compare To field, enter @DO.
TEAMSTUDIO ANALYZER
7. 8. 9.
In the Flag field, click the arrow to display the list. Select Whole Word and click OK. Click Add Condition. You see the formula in the Validation Formula field.
ANALYZER S FILTERS
To create a filter that searches for values included within an analysis document: Forms with window titles that dont include the form name or the database name 1. 2. 3. Open the Auditor Filter database, which is called deanfltr.nsf. Click Create Filter to open the New Filter window. From the New Filter window, enter the following:
What to enter or select Form name not used in window title Yes Medium UI Standards Corporate says the name of the form must be included in the window title Form
Field name Filter Name: Filter Active: Severity: Filter Class: Comment: Apply To:
TEAMSTUDIO ANALYZER
4. 5. 6. 7. 8. 9.
In the Property field, click the arrow to display the list. Then select the keyword Window Title Formula and click OK. In the Operation field, select the RT does not contain option. In the Compare field, select Field Value. In the Compare To field, click the arrow to display the list. Select Name and click OK. Click Add Condition. You see the formula in the Validation Formula field.
If you plan to write validation formulas manually, we recommend that you familiarize yourself with the design of the Analyzer template (ivesdean.ntf). A good starting point is to analyze the Analyzer template.
Generally, filter validation formulas are standard Notes formulas. Analyzer extends these formulas for special purposes with advanced functions.
The following are the advanced filter functions: TMSRTContains TMSGetParentValue TMSGetChildValues( <Form Alias>::<field name> ) TMSIncludeChildren( UNID; LOGIC ) TMSSearchAll( Flag; Value ) TMSIncludeParent( UNID ) TMSAliasDuplicate/TMSTitleDuplicate( FieldName )
TEAMSTUDIO ANALYZER
TMSRTContains
This function searches the specified rich text field for a value.
TMSRTContains( FieldName ; Flags; Value )
Parameter FieldName Meaning Flag Flag Meaning No options
This parameter represents the name of a rich text field on the current analyzer document. If Apply To is Agent, then it includes only rich text fields that exist on the Agent form in the analyzer template. Or If this parameter is set to Rich Text, then it looks in all rich text fields on the document.
Flag
flags
This number tells TMSRTContains how to search. These flags can be ORd together 0 1 2 4 8 Normal Whole Word Case Sensitive Accent Sensitive Wildcards "<string>" Quoted text string or <fieldname> Unquoted field name
Value
This is the text to search for. It can be a quoted string or an unquoted field name. If it is a field name, Auditor gets the value to search for from that field, so it must be plain text.
TMSGetParentValue
This function gets a field value from a parent document in the Analyzer database.
TMSGetParentValue( <Form Alias>::<field name> )
Parameter <Form Alias> Meaning This parameter must indicate a parent of the current document (following the structure of the Analyzer output). For example, field cannot be a parent document of a form. However, Form can be a parent for a field. Also, the only valid parent for a design element is Database (CDBP00). <field name> This parameter must represent a valid text field on the target document. Otherwise, it will fail. The field cannot be a rich text field. If the field is not a text field, the value is converted to text.
It returns the file name of the current database. It can be embedded in the RT formula as follows:
TMSRTContains( Rich Text ; 0; TMSGetParentValue( CDBP00::fdbpFile ) )
When checking a filter, GetParentValue is evaluated first and its return value is substituted into the formula. Then the rest of the formula is evaluated. This function works on any Apply To filter except Database because Database documents do not have a parent.
TEAMSTUDIO ANALYZER
Use the Select filter(s) to evaluate against children button on the filter definition form to set up TMSIncludeChildren. For example:
TMSIncludeChildren(" FA385C79559C18308525690B006479B6";"AND")
TEAMSTUDIO ANALYZER
This number tells TMSSearchAll how to search. These flags can be ORd together 0 1 2 4 8 Normal Whole Word Case Sensitive Accent Sensitive Wildcards No options
Value
This is the text to search for. It can be a quoted string or an unquoted field name. If it is a field name, Auditor gets the value to search for from that field, so it must be plain text.
TMSIncludeParent( UNID )
This function finds the parent document of the document currently being analyzed and then runs the specified filter.
Parameter UNID Meaning This parameter is the UNID of the Filter document that you will use to run against the parent of the current Apply To.
TMSAliasDuplicate/TMSTitleDuplicate( FieldName )
This function checks for a duplicate title.
Parameter FieldName Meaning This parameter is the field name that contains the value that you want to check against the list of titles or aliases for that particular class of design elements (form/view/agent/etc).
TEAMSTUDIO CIAO!
Teamstudio CIAO!
Introduction
Congratulations on your purchase of Teamstudio CIAO! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. Teamstudio CIAO! allows multiple people to work on the design of the same database at the same time, without generating save conflicts on the particular design elements they are working on. You can use CIAO! client and CIAO! server for version control and for promoting versions of your database through the development cycle.
Note All developers must use CIAO! for design element locking to work properly.
If you have used a version control system, for example, Subversion, which is an open-source source-control system, you are likely familiar with the principle of check-in/out. By checking out design elements, you lock those elements so no one else can change them while you are working on them. CIAO! is made up of the CIAO! client, the CIAO! Config database, and the CIAO! Log database. The CIAO! client is where you check in and out the design elements you are working with. The CIAO! Config database is a list of databases that CIAO! knows about. With the CIAO! Config database, you can configure database promotion and version numbering, set up user authority for various CIAO! features, and link CIAO! with your issue tracking database. The CIAO! Log database keeps the history of every design element checked in.
USING CIAO!
Using CIAO!
To use CIAO!, you first identify a database to put under control. CIAO! keeps a list of the databases it knows about in its configuration database, the CIAO Config database. You need to tell CIAO! where its configuration database is before you tell it what databases to watch.
Note The first time you run CIAO!, you are prompted for the serial number and key pair you got with your CIAO! license. If you have not entered this information, you must do so before you can enable version control for your application database. See the Teamstudio continuing.
TEAMSTUDIO CIAO!
To start CIAO! and put a database under CIAO! control 1. 2. In Designer, open the database. Click the CIAO! button on the toolbar. If CIAO! cannot find the CIAO! Config database, you see a message asking if you want to edit the location of the configuration database. 3. 4. Click Yes to display the Teamstudio CIAO! Client Info window. Click to select the CIAO! uses configuration based on server database resides on option to force CIAO! to use the CIAO! Configuration database on the server of the target database.
Note
This configuration database must be on the same server as the watched database and be called CIAO\CIAOConfig.nsf.
You see a message telling you that CIAO! is not configured to watch the database and
USING CIAO!
asking if you want to add it to the list of watched databases. 5. Click Yes to add this database to the list of watched databases. You see the Enter Configuration Information window.
6.
Enter the configuration information and click OK. You see the Enter Version Comment window.
7.
Enter a comment, for example, Initial version under CIAO! control and click OK.
TEAMSTUDIO CIAO!
Note
Clicking Cancel puts the database under CAIO! control without a baseline version. It does not cancel putting the database under CIAO! control.
8.
Enter Initial (or a name of your choice, such as 01000T) into the Version Label field (the default is BASELINE) and click OK.
Note You can enter only letters and/or numerals in the Version Label field.
See Understanding Version Options, on page 85 for more information on field settings.
USING CIAO!
TEAMSTUDIO CIAO!
When you select a CIAO!-watched element, youll see a CIAO! section of the Properties tab which displays the elements owner, checkout comment, date/time checked out, and whether or not the element has been changed.
Additionally, by right-clicking within the Database Navigator pane, you display the shortcut menu where you can access CIAO! to Undo Check Out, Check In, Check Out or Run CIAO!.
USING CIAO!
If you are using Domino Designer versions earlier than 8.5.1 and you make changes to an element that is not checked out, CIAO! asks you to check it out when you go to save it.
You check design elements out so no other developers will overwrite your changes. You can check design elements out as follows:
1. 2. 3. In Designer, open the database you want to work with. Click the CIAO! button on the toolbar. From CIAO!, select the design elements you want to check out by clicking the design elements name.
Note If you are using Notes 8.5.1 or later, CIAO! automatically recognizes which element you have selected in designer and highlights it.
TEAMSTUDIO CIAO!
4.
To select multiple design elements in a categorized view, click their check boxes, or, if using an uncategorized view, use the SHIFT or CTRL key as you click each element.
You can right-click a design element to display the shortcut menu, and select Check Out. If a design element is template-linked, you cannot check it out. The template to which the element is linked is listed as the owner of the element. To allow template-linked elements to be checked out, open the CIAO! Configuration database and set the Watch Linked field to Yes. See Working with Templates and Template-linked Elements, on page 125 for more information. Use CTRL+A or Edit > Select All to select all design elements, or, in a categorized view, check the box beside the database name.
USING CIAO!
5.
Enter a comment describing the changes you are making to the design element.
Note If the An Issue is Required When Checking Out option is checked in the CIAO! configuration database for the database you are working on, you must assign an issue to the check-out. If the Mandatory Comment option is checked in the CIAO! configuration database for the database you are working on, you must enter a comment for the check-out.
Tips
Although you can open a design element, make changes, and only check the element out just before saving it, we do not recommended this. Since someone else may have checked the element out, made changes and checked it back in while you had the element open, you would over-write the other persons changes. Consequently, we strongly recommend that you check an element out before you change it. If someone has not checked a file in, and you change that file outside of CIAO!, then you cannot check the file in.
TEAMSTUDIO CIAO!
You view design elements checked out so you can see who is working with the design elements you are interested in. You can view the design elements checked out as follows:
1. 2. In Designer, open the database you want to work with. Click the CIAO! button on the toolbar. You see the CIAO! window with the name of the open database, the design elements, and who has each element checked out.
If you change to the non-categorized view, you can sort the information in columns.
You can sort the list by clicking a column heading. You can also resize the column widths by dragging the side of the column header. Double-clicking on the column header divider will adjust the column width to best fit the contents.
USING CIAO!
Tip
You can view an elements owner, date checked out and comment by hovering your mouse pointer over the element.
You view check-out comments to see the type of changes the current owners of the elements say they are making. You can view check-out comments as follows:
1. 2. Select the checked out element. From the View menu, choose Check Out Comment.
Note
You can edit comments for design elements that you checked out. Comments written by other owners are read-only.
TEAMSTUDIO CIAO!
You check out a design element that uses other design elements, for example, a form and its subforms, so you can make appropriate changes to related elements and you can be sure that others do not make changes to them.
1. 2. Select the main design element (for example, the form) by clicking it. Choose Select Dependencies from the Edit menu.
USING CIAO!
Any dependent design elements (for example, subforms) are also selected.
3.
From the CIAO! menu, choose Check Out. All selected elements are checked out.
Note
If CIAO! client is on your computer and you are saving a design element not checked out to anyone on a CIAO!-watched database, then CIAO! will ask you to check out that design element.
TEAMSTUDIO CIAO!
If the database is watched by CIAO! Server Edition, but you do not have CIAO! Client Edition installed locally (or you do have CIAO! installed, but it is disabled), you see a message telling you that you are not authorized to perform that operation.
Undoing a Check-out
If you have changed a design element, but change your mind, you can undo any changes you made by selecting the element in CIAO! and choosing Undo Check Out from the CIAO! menu. If CIAO! detects that you made changes to the element since the last check-in, you see the following message.
If you click No, the Undo Check-out operation will be canceled, and the element will remain checked out to you. If you click Yes, the element will be restored to its state before the check-out. Any changes made to the design element after it was checked out are lost. If you click Cancel, it is the same as if you clicked No to All.
USING CIAO!
You can avoid a difficult situation using the Grab feature. CIAO! lets you grab one or more design elements, checking them out to yourself, even though they may be checked out to someone else. Use this feature with care, since if the person who had the design elements checked out has not saved his or her changes back in the master copy of the database, those changes will be lost. When you grab a design element, CIAO! saves a copy of the checked-out element to the CIAO! log database with the Grab comment. The Grab feature can be restricted from certain users by using a grab-disabled serial key. CIAO! comes with a grab-enabled serial key. To get a free grab-disabled key, please contact Teamstudio with your product serial number. Another way to restrict access to the grab feature is through the CIAO! Config database. See Assigning CIAO! Feature Access, on page 126 for more information.
TEAMSTUDIO CIAO!
Checking an Element In
You check an element in to make the element available for check-out. Checking an element in saves a copy of the element into the log database. This allows you to roll back to that change in the future. Each time you check an element in, CIAO! stores the following:
Issues A copy of the element you are checking in The comment you attach to it A record of who made the check-in operation When the check-in operation occurred
If you entered a check-out comment, and you are only checking in a single element, then CIAO! uses this check-out comment as the default.
USING CIAO!
To check a design element in 1. 2. In Designer, open the database you want to work with. Click the CIAO! button on the toolbar. Design elements that have been changed display in blue by default in the CIAO! main window. 3. Select the design elements you want to check in.
Note If you are using Notes 8.5.1 or later, CIAO! automatically recognizes which element you have open in designer and highlights it.
4.
From the CIAO! menu, choose Check In. You see the Enter Check In Comment window.
5.
TEAMSTUDIO CIAO!
You may find it convenient to select multiple elements, then check them in, rather than check in one at a time. If you are checking in multiple elements, you see the following window.
The Keep checked out check box lets you make new versions of the elements, but keep them checked out. This is useful if you want to save your changes, yet continue working on the same elements.
The Use Checkout Comment check box lets you automatically use the checkout comment as the Check In comment.
Note If you are checking in multiple elements together, the check-out comment will not be displayed as the default check-in comment.
When checking in multiple elements, including some that you havent modified, you see a message, offering two additional options: Yes to all and No to all.
Click one of these buttons if you do not want to check in each element individually.
Note The No to all button only applies to elements that have modified.
not been
USING CIAO!
You may check in an element, even if you have not changed it. If you have not made any changes to the design element since you checked it out, you see a message asking if you want to check in a new copy (that is, make a new version).
Click Yes, or Yes to all if you want to check in the element and have CIAO! make a new version of the element, which is exactly the same as the previous version. Click No, or No to all if you if you want to check in the element without making a new version. Click Cancel to cancel the check-in and to keep the element checked out.
TEAMSTUDIO CIAO!
If you are deleting a number of elements at the same time, it can become tedious to enter the same comment for each element.
To delete multiple elements through CIAO! 1. 2. 3. Select the elements you want to delete. Check them all out. From the CIAO! menu, choose Delete.
Once you delete a design element, you no longer see it in the CIAO! main window.
USING CIAO!
TEAMSTUDIO CIAO!
3.
Optionally, check the Show Version Labels box to see versions for your information and not for roll back.
Note
You cannot rollback a version. You can only rollback to a previous checkin operation. A version merely acts like a bookmark or placeholder. When you perform a Make Version operation, a new version of this element is created only if no previous version exists.
If no previous versions of the element have been stored, that is, the element has not been checked in, you see the a message telling you that there are no previous versions of the element in the log file.
USING CIAO!
When you double-click a line item within the History window, you see history details. You can copy the info to the clipboard to use elsewhere as follows:
1. Double-click an item in the History window. You see the Info window.
2.
Do one of the following: Click Copy Info to copy all of the text to the clipboard. Select some text and press Ctrl+C to copy only the selected text to the clipboard.
TEAMSTUDIO CIAO!
2.
You see the two elements you chose to compare displayed side-by-side in the Delta window. The windows in the two panes are synchronized, so that as you scroll through one, the other scrolls with it. You can expand or collapse headings by clicking the plus/ minus signs. To expand the list of elements, click the plus sign in either pane. Corresponding elements are always listed side-by-side. Corresponding design elements
USING CIAO!
always have identical names and are of the same type. An arrow pointing right indicates that the element exists in Database 2 only. If there is no corresponding element in Database 2 to an element in Database 1, the corresponding line in database 2 is blank. An arrow pointing left indicates that the element exists in Database 1 only. To drill down to successively lower levels of detail, continue clicking plus signs. To expand everything, press the asterisk key on the numeric keypad.
While working with an element, you may decide it is best to start fresh with a previous version of that element. You can restore a previous version of an element as follows:
1. To view previous versions of any design element, open CIAO! and double-click the name of the design element. If the selected element has been checked in at least once, you see the History window.
In the History window, all previous versions of the element are sorted by check-in date. 2. Select the date of the version you want to restore and click Rollback.
You must have the element checked out before you can rollback to a previous version. This does not apply to deleted elements, which you cannot check out.
Note
TEAMSTUDIO CIAO!
You make a version of a database design so you can have a point release ready for QA or for Production, or just a stable roll-back point when you need it.
USING CIAO!
You see the Version Options window. 6. Select the version options you want, and then click OK. See Understanding Version Options, on page 85 for more information. CIAO! adds the new version label entry to the history of each design element.
TEAMSTUDIO CIAO!
USING CIAO!
You can customize the terms used for the Release Type options in CIAO! Config. Current Release This is the current release number. CIAO! looks to see if previous versions exist in the Log database. If previous versions exist, CIAO! uses the latest for the current version number. If no previous version is found, CIAO! uses the default value from the CIAO! Config document. You cannot change this field. Next Release This is the next release number, a field you can change. It was recorded in the CIAO! Log as the latest release number. For the first version number assignment by CIAO!, you can start from the beginning (for example, 1.0.0), or you can use the databases current version number (for example, 3.4.0). If no previous version is found, CIAO! uses the default value from the CIAO! Config document. Current Client Version Force Database Version Version of Notes Designer Select this check box to choose a Notes release that is earlier than your current client version. This option makes the new version of your database compatible with this release.
TEAMSTUDIO CIAO!
If you try to make a version while a design element is still checked out, you see a message telling you to check in all design notes. Notes that are checked out tell you that a developer may not have finished that work.
Once you check in all design notes, select Make Version again. When you make a version, and CIAO! cannot find a check-in document in the Log database, CIAO! creates one. The reason for this is so you can roll-back to the version of the design element as it was when that version was created. You cannot perform a roll-back operation on a version record. CIAO! gives this check-in operation the same comment given to the version to show that the only purpose of the check-in is to create the version.
Tip If you receive the error message You are not authorized to perform that action while creating a new version of the database design, this is probably caused by a private view or agent in the database design that belongs to someone else. Be sure you have rights to all the elements in the database before you make a version.
USING CIAO!
2.
Locate the database document for the database you want to roll the design back on.
3.
Select the database document. Then, in the Teamstudio CIAO! > Actions section, click
TEAMSTUDIO CIAO!
4.
Once the log database opens, select the Versions view. Then locate and open the version document for the version of the database you want to roll back the design of.
USING CIAO!
5.
Locate the version attachment, which can be in the ntf or zip file format.
TEAMSTUDIO CIAO!
6. 7.
For an ntf, right click and save the attachment to your local data directory. For a zip, extract it to your local data directory. Click File>Open>Lotus Notes Application and type version.ntf in the File name box.
USING CIAO!
8.
Once the database opens, open the applications properties by selecting File > Application > Properties.
TEAMSTUDIO CIAO!
9.
USING CIAO!
10. Give the template a unique template name, for example, the word version followed by the date and time.
TEAMSTUDIO CIAO!
11. Once you have established this version as a template, open the database you want to roll back in CIAO!. Then, check out all design elements.
12. In Designer, open the database you want to roll back. Then replace the design.
USING CIAO!
You see the template selection window. 13. Select the version.ntf template and click replace.
14. Once the replace is complete, open the database you rolled back in Teamstudio CIAO!. Then check in the changed items (blue font).
TEAMSTUDIO CIAO!
USING CIAO!
Since this report shows check-out activity at the time it is run, you can save previous report data from one run to the next so you have a history of check-out activity.
To create a Checkout Report 1. From the File menu, choose Reports > Create Checkout Report.
Note
All databases listed in the CIAO! Config database are included in the report.
You see the Create CIAO! Report window with a default title and the current date and time. You can change the report name by changing the text in the Description box.
If you do not have a report database, CIAO! creates one. 2. To create the report, click OK. You see a message with the reports location.
To view the checkout report 1. 2. Open the CIAO! Report database. Open the CIAO! Checkout Report view.
TEAMSTUDIO CIAO!
The view is sorted by database name (by default). An alternate view is sorted by project and database name.
You see the following information for each design element: Item Type Name of the design element Developer who checked out the element Date and time of the check-out Comment that the developer included (if any)
USING CIAO!
Change Report
To see only those elements that have changed between database versions, view the CIAO! Change Report. You can use information in the change report as a source for release notes.
To create a change report for a specified database 1. 2. Make a new version of the database if you want the ability to include its most recent changes in the change report. From the File menu, choose Reports > Create Change Report. You see the Create Change Report window.
3.
Select the range of versions you want. a. b. Select the version label to report up to. Select the starting label to report changes from.
4.
Select the output options to use as the report columns. Who made the change Date/Time of Check-in Check-in comment Include Difference
TEAMSTUDIO CIAO!
5. 6.
Optionally identify the server and path of the reports output location, or use the default. Click OK to create the report. You see a message telling you the report has been successfully created.
To view the Change Report 1. 2. 3. Open the reports database. Expand the CIAO Reports section by clicking the plus sign, then click Change List. Open the twistie for the changes you want to see.
USING CIAO!
4.
TEAMSTUDIO CIAO!
Promoting a Database
You promote a database to change its release number and move it to the next phase of the development cycle. Once an admin has created the promotion step, you can promote a database as follows:
To promote a database 1. 2. 3. Open the CIAO! Config database. Locate the database you want to promote and select it. Click Promote Database.
USING CIAO!
4.
You see the promotion log which tells you if the promotion was successful.
TEAMSTUDIO CIAO!
USING CIAO!
To enable/disable Tooltips
If you make changes to template-linked elements, the changes could later be overwritten in the case of a design refresh or replace. You can change CIAO! preferences so that template-linked elements are not displayed in the CIAO! window.
Click File > Preferences > Hide Template Linked Elements
To define fonts
You can define font types, for example, the Normal Font, used in the CIAO! window as follows:
1. 2. 3. Click File > Preferences > Normal Font You see the Font window. Select the font, font style, size, effects and color as needed. Click OK.
TEAMSTUDIO CIAO!
You can choose which columns to display in the CIAO! window as follows:
1. 2. Click View > Columns to add optional columns to the view, customizing the type of information that appears. Check or uncheck an item to add or remove the column from the view.
USING CIAO!
The CIAO! main window default view lets you sort by clicking a column heading. CIAO! also has a categorized view of design elements that you can switch to as follows:
Click View > Categorized View to toggle between the two views.
The check mark beside Categorized View indicates that the Categorized View is active.
TEAMSTUDIO CIAO!
Administering CIAO!
Alternate Ways to Set up CIAO!
CIAO! can be set up so that each location can point to a different configuration database. This is convenient for those who are on-the-go.
To locate and/or change the path to your CIAO! Config database
You can change the path to your CIAO! Config database as follows:
1. From the CIAO! View menu, click Client Info.
ADMINISTERING CIAO!
2.
Tip
CIAO! displays only those databases based on the template CIAOConfig. If you know you have a configuration database that does not show up in the window, check to make sure that the name of the template on which the design is based is CIAOConfig. If your organization is using CIAO! Server Edition to monitor databases, we strongly recommend that you select the same configuration database that the copy of CIAO! Server Edition is using. This ensures that any databases that you put under control will also be controlled by the server. If in doubt, please check with your CIAO! administrator.
TEAMSTUDIO CIAO!
Note
The green check mark in the above figure indicates that the database is under CIAO! control. If you remove this database from CIAO! control, the icon will change to a red X.
3.
Select the document describing the database you want to remove from CIAO! control, and open it for editing.
ADMINISTERING CIAO!
4.
Change the value of the CIAO! Watch Active field from Yes to No to mark the database as no longer under CIAO! control.
Note
Once you remove the watched database from CIAO! control, check-in/ check-out will no longer work for this database. Any developer can make changes to any design elements. You are not removing the history of the database. This remains in the CIAO! log database. You can also access the history if you havent deleted it from the log database.
TEAMSTUDIO CIAO!
asking if you want to add it to the list of watched databases. 3. Click Yes. You see the Enter Configuration Information window.
4.
Enter the configuration information and click OK. The following table describes the configuration fields.
Field Database Project Description The title of the database to watch. The default information is based on the database icon you selected on the workspace. You can organize your work into projects. Each project has a set of databases within it. If you have previously defined any projects, they appear in the drop-down menu in this field. You can create a new project by typing the project name into this field. You enter the server and path for the log database or click Select to browse for an existing log database. CIAO! creates a new Log database, if one does not exist for the specified server and path.
Log Database
ADMINISTERING CIAO!
5.
Enter a comment, for example, This is the initial version under CIAO! control and click OK. You see the Version Options window.
Note
Clicking Cancel puts the database under CAIO! control without a baseline version. It does not cancel putting the database under CIAO! control.
6.
Enter Initial (or a name of your choice, such as 01.00.00) into the Version Label field (the default is BASELINE) and click OK. See Understanding Version Options, on page 85 for more information on field
TEAMSTUDIO CIAO!
settings.
ADMINISTERING CIAO!
the value of $TMSTitle. You can then check Documents in and out as usual.
Note
To stop watching a document, check it out and remove its $TMSTitle field.
In the following example, the $TMSTitle field was added to a single document in the database, and the value This is a document was entered into that field:
TEAMSTUDIO CIAO!
3.
ADMINISTERING CIAO!
4.
5.
Click OK.
TEAMSTUDIO CIAO!
If the issue tracking database is very large or does not have a view relevant to your work, you can use a formula to determine issues to select from.
1. From the Issues tab of the CIAO! Configuration page, click the Select by Formula radio button.
2.
In the Issue Formula field, enter a Notes selection formula. The following is an example of an issue selection formula:
Formula Example If you have a field called Assignee in your issue tracking database, you might only want to display issues that relate to the current user working on the current application. The following formula will do this: Product=app.ntf|@username=AssignedTo Note: This assumes that your issue db contains a field called Product which contains the application file name and a field called AssignedTo which contains a canonical username.
3.
In the Issue Number field, enter the name of the field (in the issue tracking database) that identifies the issue. This sets the field populating the Issue Selection window which you see when you are assigning check-ins and check-outs to issues. This field must be data type text.
4.
In the Issue Description field, enter the name of the field (in the issue tracking database) that provides a description of the issue. This sets the field populating the Issue Selection window which you see when you are
ADMINISTERING CIAO!
assigning check-ins and check-outs to issues. This field must be data type text.
When you check either of these options, CIAO! requires you to select an issue to associate with your check-in or check-out.You can select from a list based on a formula or based on a view in the issue database.
You set the issue tracking database you want CIAO! to link to in the CIAO! Config database. Set the issue tracking server and path as follows:
1. 2. From the CIAO! Config database, open a database configuration document for editing. Click the Issues tab.
TEAMSTUDIO CIAO!
3. 4.
In the Issue Database Server field, enter the name of the server where the issue tracking database is stored. In the Issue Database Path field, enter the complete pathname of the issue tracking database or click the Select Database button to browse for the database.
ADMINISTERING CIAO!
TEAMSTUDIO CIAO!
Authority
As the administrator, you can restrict access from the Authority tab of the CIAO! Config database document. You assign the access for each of the items described in the table.
Note Leaving a field empty gives everyone access. Description Add design elements to a CIAO-watched database. Check out items from a CIAO!-watched database. Check in items to a CIAO!-watched database. Delete items from a CIAO!-watched database. Check out items already checked out by another user. Assign a new date, version number, and comment to all items in a CIAO-watched database.
Authority Item Add Check Out Check In Delete Grab Make Version
ADMINISTERING CIAO!
Issues
You can configure CIAO! to link to your issue tracking database from the Issues tab of the CIAO! Config database document.
Issues Item Copy Issue Settings Issue Database Server Issue Database Path Issue Selection Issue Formula Issue View Issue Required Description Copy issue settings from another database. Server for the Issue database. Path and filename of the Issue database. Method of selecting issues: By Formula or By View. Formula used to select issues, Issue Number field, Issue Description field. View used to select issues. An issue can be required on check-out and/or check-in.
Versioning
You can configure CIAO! to use the release number labels you want from the Versioning tab of the CIAO! Config database document.
Versioning Item Edit Settings Position 1 Position 2 Position 3 Initial Value Increment Description Click to open a window where you can edit labels and values that make up release numbers. First position of the release number (X.0.0) Second position of the release number (0.X.0) Third position of the release number (0.0.X) Starting value in the position. Value CIAO! adds to this positions previous release value when assigning the next release number.
TEAMSTUDIO CIAO!
ADMINISTERING CIAO!
Requiring Comments
You can change the CIAO! Config to require users to enter comments for Checkout, Checkin, Delete, Version, or Grab.
TEAMSTUDIO CIAO!
3.
Set the access authority for the action you want to assign. In each case, you see the Select Names window. Add the names or groups of those who will perform each function. We recommend that you choose from an address book to which everyone has access. Otherwise, some people may be locked out because CIAO! cannot resolve the names specified.
Note
TEAMSTUDIO CIAO!
3. 4.
Select Yes beside the Active field, if not already selected. In the Description field, enter a name describing the promotion path, for example, Dev>QA. This field cannot be blank and must be unique.
You save a promotion path so you can promote a copy of the database to another stage, for example, testing.You can configure the CIAO! options and save the promotion path as follows:
1. 2. 3. 4. 5. From the Promotion Path document, click the Watch Target tab. Select Yes for the Watch New Database field, if you want CIAO! to watch the target database. In the Destination Configuration Server field, use the selection button, or enter the name of the server with the configuration database In the Destination Configuration Path field, use the selection button, or enter the path to the configuration database that you want to monitor the promotion template. In the Destination Log Server field, optionally use the selection button, or enter the server name for the log database you want the promoted database to use.
6. 7.
In the Destination Log Path field, use the selection button, or enter the path to the log database that you want the promoted database to use. Save and close the document. You see the new Promotion Path entry in the right pane, under the database to which it applies.
TEAMSTUDIO CIAO!
You can configure the copy settings for the promotion path as follows:
1. From the Promotion Path document, select the Basics tab.
2. 3.
In the Promote to Server field, select the server you want to promote the database to. This field cannot be blank. In the Promote to Path field, enter the path that the database is to be promoted to. This field must be relative to the data directory on the destination server. Leave this field blank to specify the data directory itself. If you omit the database name, the
4. 5.
Enter a Notes selection formula in the Copy Documents field (for example, SELECT @ALL) if you have documents that must stay with the database or template. To overwrite old copies of the file being promoted, ensure the Overwrite field is checked.
Note
Unchecking this setting causes the promotion to fail if the target database already exists.
You can configure the promotion options of the promotion path as follows:
1. To require the person promoting the database to enter something into the Promotion comments window during promotion, ensure that the Prompt for Comments field is checked.
2.
In the Notify on failure field, browse to select names from one or more address books to designate who to e-mail upon failure of a promotion. The promoter (the person who clicks the Promote button) is always notified with a status window at the end of the promotion.
TEAMSTUDIO CIAO!
3.
From the Create menu, click Make Version. You see the Make Version document.
4. 5. 6.
For the Active field, select Yes if not already selected. In the Description field, enter a name to describe the version, for example, Gold Version. To promote without user intervention, uncheck the CIAO should prompt for the comment and label option and enter the specified version comment and label, whether to bump version numbers, and which options to use: Store As Zip, Save Documents, Save ACL or Save Replication Settings). Leave this option selected if you want CIAO! to prompt you with the Make Version window for each promotion.
7.
Save and close the document. You see the new Make Version entry in the right pane, under the database to which it applies.
TEAMSTUDIO CIAO!
TEAMSTUDIO CIAO!
TEAMSTUDIO CIAO!
You can move the history of a database under CIAO! control to a different log database as follows:
1. 2. 3. Create a new log database. Cut and paste the history documents for this database from the current log database into the new one. In the CIAO! configuration database, edit the values of the Log Server and Log Path fields to point to the new log database.
Do not edit any of the entries in the Log database using the Notes client.
Because the log database entries contain actual copies of the design elements, which the Notes client is not expecting, these will not be written out correctly, and will therefore cause problems with CIAO! later on. The Log database is intended to be read-only, and should not, under any circumstances, be changed using the Notes client.
TEAMSTUDIO CONFIGURATOR
Teamstudio Configurator
Using Configurator
Congratulations on your purchase of Teamstudio Configurator! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. With Configurator, you can easily find and replace text strings in Notes databases. Configurator searches design elements and documents, so you can change server or domain names in a single pass. You can select a view or write a formula to focus a search on a particular set of documents. When searching within a design, you can target just the elements or element types you want.
USING CONFIGURATOR
When viewing the results of a search, you can choose to replace all matches, or to review each match, individually confirming whether or not to replace. Configurator shows you the search results in context so you can quickly determine if a change is appropriate.You decide whether to view search results on-screen or to store them in a database to review later.
TEAMSTUDIO CONFIGURATOR
Getting Started
To start Configurator 1. 2. In Designer, open the database you want to work with. Click the Configurator button on the toolbar, or click Search from the Designer Search menu.
USING CONFIGURATOR
From the Designer Search button, the Configurator window looks slightly different.
Tip
The last few Search and Replace parameter entries for Find what and Replace with are saved. Click the arrow to the right of the field to quickly select these criteria. The Find what and Replace with boxes accept a maximum of 254 characters.
TEAMSTUDIO CONFIGURATOR
If a change in source code causes an error, Configurator records that in its log. When you click Replace All, and your change causes an error, the original source code does not change. When you click Replace, and your change causes an error, Configurator gives you the option of saving the original source code or saving the source code with the error-causing changes. If you save an element with syntax errors, Configurator will not save the compiled (object) code for that element. Configurator only saves the object code from an error-free compile. You use the Documents option to search and replace strings in any fields that contain text.
Notes Configurator only changes text found in the fieldnot the actual field name.
Within the following items, Configurator can Search but cannot Replace:
Composite Apps Wiring properties Components Outlines ACLs
You can specify which documents to include in a search by specifying a selection formula (like a selection formula in a view), or by selecting an existing view.
USING CONFIGURATOR
TEAMSTUDIO CONFIGURATOR
To store Configurator results in an output database 1. 2. From the Output tab, select Output log to database. Optionally select Use a separate response document for each design element, so that you can view a document for each elements results, rather than a single longer document for all results.
3. 4.
In the Report Document Title box, enter a title for the report. Click Select to locate a database in which to store the report. You see only databases based on the reports template. The reports template name is TMSLogs, and the file name is tmslogs.ntf. Select an existing database or specify a new database server/pathname. Configurator bases the new database on the TMSLogs template and creates the output database for you.You can store Configurator report documents for more than one database in the same output database.
Tip Each time you run Configurator, whether on the same database or different databases, change the report title. This makes it easier to locate log reports in the output database.
USING CONFIGURATOR
Select/Deselect design elements using the check box to the left of the desired element name. A checkmark indicates selection. Use a category heading check box to select/deselect all of the elements contained within that category. Select the Everything category to select all design categories and notes. If the Everything category is selected, de-selecting a child category or element will override (uncheck) the Everything selection.
TEAMSTUDIO CONFIGURATOR
If you select the Whole word check box, Configurator matches the search string if the matched string is surrounded by spaces or punctuation. For example, without the Whole word check box selected, replacing the string Heading with the string Topic would have the following results:
Heading Headings would be changed to would be changed to Topic Topics
With the Whole word check box selected, the same search/replace operation would have the following results:
Heading Headings would be changed to would remain as Topic Headings
USING CONFIGURATOR
If the Accent check box is selected, and the search contains accented characters (for example, ), Configurator will only match the search string if the characters in the matched string have the same accenting. For example, without the Accent check box selected, replacing the string Nave with the string Innocent would have the following results:
Nave Naive would be changed to would be changed to Innocent Innocent
With the Accent check box selected, the same search/replace operation would have the following results:
Nave Naive would be changed to would remain as Innocent Naive
TEAMSTUDIO CONFIGURATOR
Matching Case
If the Case check box is selected, a string will only match if the case of the two strings matches. For example, without the Case check box selected, replacing the string Customer with the string Client would have the following results:
Customer customer would be changed to would be changed to Client Client
With the Case check box selected, the same search/replace operation would have the following results:
Customer customer would be changed to would remain as Client customer
USING CONFIGURATOR
Using Wildcards
Select the Use Wildcards check box to perform a wildcard search from the Find What field. The * wildcard character lets you search on 0 to n number of characters, up to the first space character. The ? wildcard character lets you search on one character, up to the first space character. For example, entering Lotus* to find all instances of words starting with Lotus will find:
LotusScript and LotusNotes but not Lotus and IBM (intervening space)
Entering www.ives.* will find all instances of www.ives.com and www.ives.co.uk, so that you can replace them with www.teamstudio.com. Entering Field* will find all instances of FieldA, FieldB and FieldC, so that you can replace them with FieldZ.
TEAMSTUDIO CONFIGURATOR
Position Matching
Position matching involves the use of the ^ and $ to search for the beginning or ending of strings. Setting the pattern property to "^LotusScript" will successfully match "LotusScript is cool." It will fail to match "I like LotusScript."
Symbol ^ Function Matches the beginning of a string. Matches the ending of a string. Matches at the position between a word character (anything matched by \w) and a non-word character (anything matched by [^\w] or \W) as well as at the start and/or end of the string if the first and/or last characters in the string are word characters. Matches at the position between two word characters (i.e the position between \w\w) as well as at the position between two non-word characters (i.e. \W\W). Examples ^abc Some matches include abc, abcdefg, abc123 $abc Some matches include abc, endsinabc, 123abc Matches a backspace \u0008 if in a []; otherwise matches a word boundary (between \w and \W characters). .\b matches c in abc
\b
\B
USING CONFIGURATOR
Literals Matching
Literals include alphanumeric characters, ACSII, octal characters, hexadecimal characters, UNICODE, or special escaped characters. To match these special characters, we precede them with a "\" in a regular expression.
Symbol \n \f \r \t \v \? \* \+ \. \| \{ \} \\ \[ \] \( \) \xxx \xdd \uxxx Function Matches a new line. Matches a form feed. Matches a carriage return. Matches a horizontal tab. Matches a vertical tab. Matches ? Matches * Matches + Matches . Matches | Matches { Matches } Matches \ Matches [ Matches ] Matches ( Matches ) Matches the ASCII character expressed by the octal number xxx Matches the ASCII character expressed by the hex number dd Matches the ASCII character expressed by the UNICODE xxxx.
TEAMSTUDIO CONFIGURATOR
Character Matching
Character matching enables customized grouping by putting expressions within []braces. A negated character class may be created by placing ^ as the first character inside the []. Also, a dash can be used to relate a scope of characters. For example, the regular expression "[^a-zA-Z0-9]" matches everything except alphanumeric characters. In addition, some common character sets are bundled as an escape plus a letter.
Symbol [xyz] Function Match any one character enclosed in the character set. Match any one character not enclosed in the character set. Match any character except \n Match any word character. Equivalent to [a-zA-Z_0-9] Match any non-word character. Equivalent to [^a-zA-Z_0-9] Match any digit. Equivalent to [0-9] Match any non-digit. Equivalent to [^0-9] Match any space character. Equivalent to [\t\r\n\v\f] Match any non-space character. Equivalent to [^\t\r\n\v\f] a\sc ac a.c Matches abc, aac, acc, adc, aec Examples a[bB]c Matches abc, aBc
[^xyz]
. \w
\W
\d \D \s
\S
USING CONFIGURATOR
Repetition
Repetition allows multiple searches on a clause within the regular expression. By using repetition matching, we can specify the number of times an element may be repeated in a regular expression.
Symbol ? Function Match zero or one occurrences. Equivalent to {0,1}. Examples ab?c Matches ac, abc a\s?b Matches ab or a b * Match zero or more occurrences. Equivalent to {0,}. Match one or more occurrences. Equivalent to {1,}. Match exactly x occurrences of a regular expression. ab*c Matches ac, abc, abbc, abbbc ab+c Matches abc, abbc, abbbc a{3} \d{4} ab{2}c Matches Aaa From 10 to 99 abbc \d{5} Matches 5 digits. (x,} where x>=1 Match x or more occurrences of a regular expression. Matches x to y number of occurrences of a regular expression. \s{2} Matches at least 2 space characters. a{2,4} Matches aa, aaa, aaaa \d{2,3} Matches at least 2 but no more than 3 digits.
{x}
TEAMSTUDIO CONFIGURATOR
Repetition allows multiple searches on a clause within the regular expression. By using repetition matching, we can specify the number of times an element may be repeated in a regular expression.
Symbol () Function Grouping to create a clause. May be nested. Examples (abc){2} Matches abcabc (ab)?(c) Matches abc or c | Alternation combines clauses into one regular expression and then matches any of the individual clauses. The pipe has the lowest precedence of all operators. Use grouping to alternate only part of the regular expression. bill|ted Matches ted, bill abc(def|xyz) Matches abcdef, abcxyz (ab)|(cd)|(ef) Matches ab or cd or ef
Back References
Back references enable the programmer to refer back to a portion of the regular expression. This is done by use of parenthesis and the backslash (\) character followed by a single digit. The first parenthesis clause is referred by \1, the second by \2, etc.
Symbol ()\n Function Matches a clause as numbered by the left parenthesis (\w+)\s+1 matches any word that occurs twice in a row, for example, hello hello
USING CONFIGURATOR
Find
Click the Find button to locate the first occurrence of the search string in the database. Once Configurator finds a match, you can do one of the following:
Replace that match and move on to the next match Skip that match and move on to the next match Replace that match and all subsequent matches Cancel out of the operation
See When Configurator Finds a Match, on page 159, for more information.
Find All
Click the Find All button to have Configurator locate all instances of the search match. While the process is running, you can interrupt it by pressing the CTRL key while simultaneously pressing the BREAK key (CTRL-BREAK) on your keyboard. When the search is finished, you see the Configurator Log, detailing the following:
Number of notes searched Number of matches per element Total number of matches found
TEAMSTUDIO CONFIGURATOR
Replace All
Click the Replace All button to have Configurator replace all search matches with no prompting. While the process is running, you can interrupt it by pressing the CTRL key while simultaneously pressing the BREAK key (CTRL-BREAK) on your keyboard.
Caution
USING CONFIGURATOR
You can drill down to the matched item where you can decide what action Configurator should take.
TEAMSTUDIO CONFIGURATOR
The information you see when Configurator finds a match will vary depending on the element type. If the match is in an area that can use the preview pane, for example, a visual element or static text, then you see the split window with the match highlighted.
USING CONFIGURATOR
For simple text and code matches, you see the matched text in context as shown.
The window title reflects the name of the Note where the match is found. From this window, you can do the following:
Click Find Next to locate the next match, which may be within the same dialog box. Click Replace to replace the highlighted match text, and locate the next match. Click Skip Note to continue to the next element or document (if changes have been made, a dialog box displays asking if you want to save the changes, before continuing to the next element or document). Click Replace All to replace the current selection, and automatically replace all other matches in the database. Click Cancel to cancel the search.
Tip
To make a manual change to view names, edit in the highlighted area and click Find Next.
TEAMSTUDIO CONFIGURATOR
If the match occurs in static text on a form, subform or in help\using or help\about, the text appears in context on the form or subform in the top half, and an editable version of the text appears in the bottom half of the window.
You can click the Replace button to replace the highlighted text and move on to the next match, or you can manually edit any of the text you see in the lower half of the window and then click Find Next.
Note If you make a change, and click Skip Note, Configurator prompts you to save or discard changes made to that point for the element being processed, or to cancel the action. Clicking Cancel will only cancel the Skip Note operation. Processing will continue with the next element found to match, if any.
USING CONFIGURATOR
Once Configurator finds all of the matches in a particular design element (and you have not clicked Skip Note to stop processing that element), if you have made any changes (either replacements or manual edits), Configurator asks if you want to save the element before continuing.
TEAMSTUDIO CONFIGURATOR
See Specifying Where to Store Configurator Results, on page 146 for more information on the output database. The following is an example of the on-screen output log.
When the search/replace action is complete, you can scroll through this log. You can also copy this log to the clipboard, by clicking the Copy Log button. This allows you to create a full report of the changes that have been made in another
application, such as Notepad or Microsoft Word. Before you run Configurator, you can optionally create a database to store the output log. The information you see in the output log database and in the on-screen log are identical. The following is an example of the contents of a Configurator output log.
Action performed: Find Matching: All Searching: Design Searching Discussion - Notes & Web (R5.0) on Local (discsw50.ntf). Find: 'Topic' Replace with 'Subject' Form (IntProfileInstructions)|(IntProfileInstructions) Text Found 3. Replaced 2. Found 1. Replaced 1. Found 1. Replaced 1. Rest of element was skipped. *Changes abandoned* Total Found on note: 6 Total Replaced on note: 0 Total Notes Searched: 2 Grand total found: 6 Grand total replaced: 0 The action may be Replaced N where N is 0 or more, corresponding to the number of straight replacements, or Manually edited, which indicates that the user changed something other than just replacing the matched text. For each element in which a match was found, the log records the: The element name The lower level item in which the match was found (for example, the Topic column) A count of the number of matches A record of the action taken The log starts by providing a note of the database against which Configurator was run. It also specifies the search and replace texts.
Where a match has been found in static text, the text is divided into blocks, each of which represents a block of text in the same font face. Each block has a separate entry in the log.
TEAMSTUDIO CONFIGURATOR
TEAMSTUDIO DELTA
Teamstudio Delta
Introduction
Congratulations on your purchase of Teamstudio Delta! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. Teamstudio Delta is a comparison and reporting tool that compares the following:
Two versions of a Notes database design Two versions of the same design element Design or documents within the same database Documents from two different versions of the same or different database
Delta can help you keep up with IBM Lotus Notes template updates made for each new release. If you changed your copy of the standard Notes e-mail template for one release and your organization is upgrading to a new release, you need to find out the following:
The differences between the templates in those two releases of Notes. The differences between the template you are using (that includes your customizations) and the standard template you started with.
With this information you can decide whether to re-apply your customizations to the updated standard template or to integrate the upgrades made to the new template into your customized version.
INTRODUCTION
TEAMSTUDIO DELTA
Using Delta
You can begin using Delta as follows:
To compare design elements within a single database 1. 2. In Designer, open one of the databases you want to compare. Click the Delta button on the toolbar. You see the Delta window, with both the Database 1 and Database 2 fields populated with the file name of the database you have open.
Note
If you start Delta without a database open, Delta starts with the databases last compared in the Database 1 and Database 2 File name fields. However, if you have not used Delta before, the program starts with both database fields blank.
You can compare two different databases or compare one database with itself. 3. In the Delta window, select the database whose design elements you want to compare,
INTRODUCTION
if not already selected. 4. 5. In the Options area, select Compare Design. Click Compare.
6.
Click Yes. Deltas main window opens when the Delta comparison process is complete. The design of the databases is represented hierarchically.
7.
TEAMSTUDIO DELTA
The windows in the two panes are synchronized, so that as you scroll through one, the other scrolls with it. The display always starts with all headings collapsed. To expand/collapse the list of elements, click the plus or minus sign beside a heading in either pane. Corresponding elements are always listed side-by-side. Corresponding design elements always have identical names and are of the same type.
An arrow pointing right indicates that the element exists in Database 2 only. If there is no corresponding element in Database 2 to an element in Database 1, the corresponding line in database 2 is blank. An arrow pointing left indicates that the element exists in Database 1 only. To drill down to successively lower levels of detail, continue clicking plus signs. To expand everything, press the asterisk key on the numeric keypad.
d.
Click OK.
TEAMSTUDIO DELTA
3.
Click compare.
Deltas main window opens when the Delta comparison process is complete.
Each database is represented in a pane, with Database 1 on the left and Database 2 on the right. The design of the databases is represented hierarchically. When comparing documents, the documents are listed in the sequence determined by the view you selected. They may be represented hierarchically, for example, with parent or main documents preceding their descendant. Documents are identified with a note icon . The windows in the two panes are synchronized, so that as you scroll through one, the
other scrolls with it. To expand the list, click the plus sign in either pane. Corresponding items are always listed side-by-side, have identical names, and are of the same type.
An arrow pointing right indicates that the item exists in Database 2 only. If there is no corresponding item in Database 2 to an item in Database 1, the corresponding line in database 2 is blank. An arrow pointing left indicates that the element exists in Database 1 only. 4. To drill down to successively lower levels of detail, continue clicking plus signs.
TEAMSTUDIO DELTA
Delta Options
You use the check boxes in the lower left corner of the main window to filter the comparison results:
Check box Description Select Hide Identical Objects (the default) to list only elements and documents that are different in the two panes. Clear this check box to see the complete database design elements and documents that are identical and elements and documents that are different. Select Smart Filter to hide or filter information that is of no practical interest when comparing the database designs. For example, an Agent stores information about the last time it was run. This is likely to be different between two different copies of a database, but does not really mean that there are differences in the design. With Smart Filter selected, Delta ignores that attribute. Select Hide Unique Notes to hide notes that exist in only one of the databases you are comparing.
TEAMSTUDIO DELTA
right-click the item and choose Whats This from the shortcut menu.
Hovering your cursor over a design element also gives you the item description in a ToolTip popup.
TEAMSTUDIO DELTA
Viewing Differences
Once you have determined which corresponding items are different, you can compare them to learn how they differ. To compare and display the differences between two individual items, double-click the item in either pane. Alternatively, right-click the item and choose Differences from the shortcut menu.
The Show Differences window displays the attributes of the two corresponding design elements side-by-side. The element from Database 1 is in the left pane and the element from Database 2 is in the right pane. In this example, we compared the Database information for each of the two databases to see the differences between each databases general attributes.
Note
Data stored in a format other than text, for example, binary data, is converted to text for the Delta comparison. In the example, the field Database IDs original binary data was converted to hexadecimal data. Some fields require special interpretation by Delta. In the example, the two lines that follow the Flag field were Deltas interpretation of the flag values. If you select a design element that exists in one database but does not exist in the other, the attributes of the existing element display in the appropriate pane and the other pane is empty.
You use Deltas Differences feature to learn the differences in the structure of two design elements or the differences in two fields, or code, such as LotusScript. These types of differences display as text. See Viewing Differences, on page 181, for more information.
TEAMSTUDIO DELTA
You can also show a visual preview of differences when the design element is a form, subform, page or other visual design element.
Tip See Setting Delta Preferences, on page 193, if you want to change how the Delta Show Differences window displays fonts and white space.
Note
The Differences function can only be used with two corresponding, side-by-side items. To learn the differences between two items that do not correspond, try Matching them first (See Matching Elements or Documents, on page 188). If the two items are too dissimilar to be matched, use Compare to see their differences (See When You Cant Match Elements or Documents, on page 190).
When you compare two elements that contain code, such as LotusScript, you see that programming code in the Show Differences window.
Color-coded Text
The Show Differences window displays differences as color-coded text.
Text Color Black Red Green Blue Description Corresponding lines of text in both databases are identical. Corresponding lines of text in both databases are different. Line of text appears in Database 1 (on left) but not in Database 2. Line of text appears in Database 2 (on right) but not in Database 1.
Note
You can customize Color-coding. See Setting Delta Preferences, on page 193 for more information.
TEAMSTUDIO DELTA
When you select Show Differences on a form, you see a preview window displaying the element from Database 1 in the left pane and the element from Database 2 in the right pane.
To view the content on each tab, select the Expand Tabbed tables check box.
This lists each tab one below the other. You scroll down to review the content on each tab.
TEAMSTUDIO DELTA
3.
Choose Delta of 2 Documents from the Actions menu in Notes. (This menu choice is unavailable until two documents are selected.)
4.
The Show Differences window opens, displaying the first document in the view in the left pane and the second document in the view in the right pane.
TEAMSTUDIO DELTA
To match two elements 1. 2. 3. 4. Select an element title in one pane. Select the element title you want to match in the other pane. Right-click one of the two element titles. Choose Match from the shortcut menu.
Delta matches the two elements by redrawing the view with the elements you selected aligned. The matched element in the right pane will display without a name.
You can now compare the differences between the two elements. See Viewing Differences, on page 181, for more information. If the two elements you have selected are too dissimilar, the Match option will be inactive. Instead, you can use Compare to quickly view differences between the two elements without matching them.
TEAMSTUDIO DELTA
In any of these cases, you must Compare the two elements to display their differences. You may want to look at the difference between two documents but not want to match them. Since you cant view Differences for non-corresponding documents, you will have to Compare them. Using Compare, you can view the differences between any two design elements or two documents, even though they are not similar.
To compare two unmatchable design elements 1. 2. 3. Select one element in each pane. Right-click one of the two element titles. Choose Compare from the shortcut menu.
Note When you use Compare, the two design elements or documents are not considered matched for reporting purposes.
The Show Differences window opens, displaying the element from Database 1 in the left pane and the element from Database 2 in the right pane.
Note
The displayed information differs depending on the type of elements being compared.
4.
Double-click one of the form names at the top of the panel to show the forms visual representation of forms, sub-forms, pages or navigators and compare for differences.
You use the Differences feature for items that are lined up with the like item in the other pane. You use the Compare feature for items that are anywhere on the lists.
TEAMSTUDIO DELTA
If you use Compare to show differences for a visual design element, you will first see the text differences in the Show Differences window. To see the visual differences, double-click an item within the Show Differences window.
The following window shows the normal font. This window is the same for other font definitions.
You can define how white space appears. If one area contains spaces and the other contains tab characters, Delta treats this as a difference. Though this is not a difference that affects other functions of the code, it is still a difference.
Click None to treat each difference in white space as a difference. Click Leading to ignore all white space characters at the start of a line. Click All to ignore white space characters throughout each line: at the beginning, between words and at the end. Multiple white space characters between words are treated as one.
Note
TEAMSTUDIO DELTA
See Configuring the Smart Filter, on page 197 for information on how to configure the Smart Filter.
TEAMSTUDIO DELTA
To configure the Smart Filter 1. Click Preferences > Smart Filter Options.
You see the Smart Filter window. Highlighted elements are always visible.
2. 3.
Select a type. Do one of the following: Deselect (unhighlight) the elements you want to hide. Click Show All to select (highlight) all elements, so that all will appear when the Smart Filter is turned on. Click Hide All to deselect (turn off highlighting) all elements, so that none will appear when the Smart Filter is turned on. Click Default to accept Smart Filters defaults. This is information that is typically of no interest to a developer. This restores factory settings.
TEAMSTUDIO DELTA
TEAMSTUDIO DELTA
To create a Difference Report, you specify the reports description and output database location. Then you specify any options you want that will filter or change the report results.
1. To create a Difference Report, choose Report from the Delta main window. You see the General tab of the Teamstudio Delta Reporting window.
TEAMSTUDIO DELTA
In the Description box, Delta provides a default description for the report, based on the names of the databases being compared. This title identifies the report document in the output database, which is a Notes database. 2. Optionally, replace the default description with your own description.
Note If you plan to run a report more than once, consider providing a different report description, perhaps including the date and time, each time you generate the report.
3.
In the Write report to section, click Select. You see a list of databases based on the reports template.
Note
The reports template name is TMSLogs and the file name is tmslogs.ntf.
4.
Select an existing database or specify a new database server\pathname. By default, Delta creates a separate document for each comparison of two design elements or of two documents. This makes it easier for you to navigate through large Delta reports. If your database is small (or if you prefer) you can create the report as a single document.
5.
If you want the report as a single document, clear the Use a separate response document for each design element check box.
Tip
Remember that if you clear this check box, your report may be extremely long, because all design elements or documents (depending on what Delta is comparing) are contained within one report document.
6. 7.
In the Options section, click to select the options you want that will filter the report items displayed, as described in the table. Click OK.
Report Options
The following report options are available:
Option Smart Filter Description Select Smart Filter to hide or filter information that is of no practical interest when comparing the database designs. For example, an Agent stores information about the last time it was run. This is likely to be different between two different copies of a database, but does not really mean that there are differences in the design. With Smart Filter selected, Delta ignores that attribute. Hide identical objects Select the Hide identical objects check box to include in the report only elements or documents that are different. Clear this check box to include in your report the complete database design--elements and documents that are identical and elements and documents that are different. Select the Hide properties check box to list the name only of design elements or documents that are different. Details about the differences are not included in the report, so you cannot learn what or where the differences are. This option produces a significantly shorter report. Select the Hide identical properties check box to exclude from the report any identical individual properties for an object with differences. This means that objects with differences are included in the report, but within those differences any identical properties are excluded. This option produces a shorter document for each design element or document comparison. Select the Hide unique Notes check box to exclude from the report any Notes that exist in only one of the databases you are comparing.
Hide properties
TEAMSTUDIO DELTA
You can change these default typefaces and colors on the Appearance tab.
To change any one of the font typefaces 1. 2. From the Appearance tab of the Reporting window, click the check box at the top of the window. Click the ellipse button to the right of the appropriate font definition. You see the font window.
TEAMSTUDIO DELTA
3. 4.
Make the font changes you want. Click OK to accept the changes.
Working with the CD Filter is an advanced option. Use the CD Filter only if you understand the internal structure of a design element.
The CD filter gets its initial settings from the Smart Filter. You can make changes in the filter for a single report as follows:
To filter CD records To filter CD records in the report, select the Check here to select the composite records you want to include in the report check box.
The list box on the left lists the following container types:
Container Type CD Records Navigators Actions Description A container for rich text such as $BODY A container for navigators A container for actions on forms and views
The list box on the right lists all the CD records for the selected container type.
Click Show All to select every CD record for the selected container type. Click Hide All to clear any selections for the selected container type. Click Default to use Deltas default CD record selection for all container types.
The various types of CD records are defined in the IBM Lotus Notes C API manual. For most users, Deltas default settings are sufficient and you will not need to change them.
Note Keep in mind that the custom CD Filter selections you make are not saved. You must re-customize CD Filter the next time you create a report with Delta.
See Configuring the Smart Filter, on page 197 for information on how to use the CD Filter.
Caution If you are customizing the CD record selection for only one container type, click Default before you begin. This sets up the default selection for all containers types. You can then select the container you want to customize and proceed. If you click Default after you customize the selection for a container type, that container types selection reverts to the default.
TEAMSTUDIO DELTA
Note
Keep in mind that the custom CD Filter selections you make are not saved. You must re-customize CD Filter the next time you create a report with Delta.
Viewing Reports
After you set up any options on the Teamstudio Delta Reporting window, click OK to generate the report. A status bar appears while the report is generated. Upon completion, you see a confirmation message.
The icons beside each item tell you whether items are identical or different.You can drill down within the view by clicking twisties. You double-click an item to see its report. At the top of the report you see the report options in effect when this report was generated. Within the body of the report, you see the text in the default colors or the
TEAMSTUDIO DELTA
INTRODUCTION
With Design Manager you can quickly and easily create Notes databases from standard libraries of components. You can use any Notes database or template as a library. Using Design Manager to manage these templates provides several benefits that complement linking elements using Notes templates:
You can manage and control linking with Design Manager. Design Managers Library (left) and Database (right) panes show template-linked elements in bold typeface, making it easy to determine from which template elements are inherited. Design Manager includes additional features to help you with development and to improve consistency. For example, Scan for Dependencies finds any missing dependent elements. Group Objects allows you to associate a set of design elements into a single reference name that you can then drag and drop into target databases. Design Manager identifies dependencies and automatically copies them to the target database design if necessary. With Design Manager, you can track the history of elements copied from a library file to a database you specify. Design Manager lets you view all elements copied to a database and all databases that an element has been copied to. Design Manager lets you change the design refresh property on one or more databases at a time.
INTRODUCTION
Note
You can copy text in a Log pane to the clipboard by choosing Copy from the Edit menu, or pressing CTRL+C on your keyboard. You can then paste that text to another location.
Opening a Database
With Design Manager you can open a database you want to add elements to. The database elements display in the right pane.
To open a database 1. Choose Open from the Database menu (or click Database > Recent Files to select from the last ten databases opened). You see a list of databases and templates in your local data directory.
Note
You can select a server from the Server dropdown to display a list of databases and templates on the server you select.
Use the Open Database toolbar button as a shortcut to the Database > Open command.
2.
3.
Click Open. You see the database elements in the right pane.
Note
Use the right-click menu in the left pane to open the selected library in the right pane where you can change it.
Opening a Library
A library is a Notes template or database you open in the left pane that holds reusable elements that you can copy to databases in the right pane. You can open any database or template as a library.
To open a library 1. Choose Open from the Library menu (or click Library > Recent Files to select from the last ten libraries opened). You see a list of databases and templates in your local data directory. 2. Select a server to display libraries on your network, or use the Local server. In the Database list, you see a list of databases and templates on the selected server.
Use the Open Library toolbar button as a shortcut to the Library > Open command.
3. 4.
In the Database list, select the template or database you want to use as a library. Click Open. You see the library elements in the left pane.
Once you have opened a library for the first time, you need not select the library from the list again. The next time you start Design Manager, it will automatically open the same libraries that were open previously.
Note
Closing Libraries
To close one or more libraries in the left pane, select the library (click the library name in the left pane) and press the DELETE key. The library is immediately removed from the pane. Alternatively, select the library by clicking its name in the left pane, and then choose Close from the Library menu. You can also choose Close All from the Library menu to close all open libraries.
3.
From the Server dropdown, select Local for databases that are on your PC or select a
server for a remote database, then click OK. You see the inherited databases in the right pane.
Note Databases to which you have insufficient access will not appear in the right pane.
Grouping Objects
Using Design Manager, you can group design elements that are frequently used together, making it easier to drag-and-drop a group of two or more design elements into a database design. For example, if there are several design notes you often use together to capture customer information, you can group them together to form one object you call Customer Data.
Notes
All selected elements must reside in the same database. A group object cannot be a member of another group object Actions cannot be members of group objects. Group object members must be elements.
If the Copy History Log is active, Design Manager records information about a group object every time you create or edit a group object.
3.
Enter the name of the Group Object. For example, if you chose Main Topic, Response and Response to Response to form a new Group Object, you may want to name that Group Object Discussion Topic
Forms.
Design Manager then records in the Log pane that the Group Object has been created. If the Copy History feature is active, Design Manager records details of the group object creation and its component elements in the Copy History Log.
If there are any group objects in a database, the Group Objects category is added to the list of categories in the Database pane. 4. 5. Expand the category to reveal the groups you have created. To view the elements in a group, select that group. Its elements are listed in the preview pane. Now that the Group Object has been created, you can easily drag-and-drop the Group Object into your open database. Although you create a group object in the right pane, you can only drag and drop it from the left pane.
Once you create a Group Object, you can add or remove elements from the group or rename the Group Object. You can also identify dependencies, that is, find out which elements are dependent on other elements.
1. 2. Expand Group Objects at the bottom of the Database pane to reveal groups you have created. Select a group name and then choose Edit Group Object from the Database menu. You see the Edit Group Objects window that shows a checkmark beside each element included in the group.
3.
Select additional elements to add them to the group or clear checkmarks beside selected elements to remove them from the group. a. If you want to find out which elements are dependent on another element, rightclick the element and then choose Identify Dependencies from the shortcut menu. The element you selected and its dependent elements display as blue, underlined typeface. Selections containing those dependent elements are expanded. This does not change the group. You can use this feature to help determine what to add or remove from the group.
b.
Choose Deselect Dependencies from the shortcut menu to clear highlighted dependencies.
4.
When you are finished editing the Group Object, do one of the following: Click Cancel to exit the Edit Group Objects window without saving any changes. Click Revert to restore the original group definition. The Edit Group Objects window remains open. Click Save to save your changes and close the Edit Group Objects window.
ORGANIZING A LIBRARY
Organizing a Library
You can organize a library by comparing elements and deleting the elements you no longer need, adding those you want, arranging actions in the order you want, and adding comments to or changing properties of design elements.
Action example
Description Actions appear with the action icon as children of notes. Shared Actions appear with italicized text under the Shared Action note. Broken Shared Actions are action references where the original action has been deleted. They appear with a strike-through and italicized text.
Deleting Elements
You can delete an element in a database design from within Design Manager. Select the element you want to delete and press the DELETE key. Design Manager prompts you for confirmation before it deletes the element.
Note
If you have the database design open in the Notes Designer client, the view of elements will not be automatically refreshed when you exit Design Manager. You can refresh a view of design elements in Notes Designer by pressing the function key, <F9>.
ORGANIZING A LIBRARY
Comparing Elements
You can use Design Manager to compare any two design elements, either in the same pane or in different panes. For example, if you believe that the version of an element in a library may be an updated version of the same element in the database, use Compare Elements to compare the two elements. Similarly, you can compare two elements with the same name in two different libraries.
To compare two design elements Select the two elements to be compared (use the CTRL key if they are in the same pane), and then choose Compare Elements from the Tools menu.
You can also use the Compare Elements toolbar button as a shortcut to the Compare Elements command on the Tools menu.
To add a comment and change the properties of a design element 1. 2. In the right pane, right-click the element you want to add the comment for. You see the shortcut menu. From the shortcut menu, choose Properties. You see the Property window.
3.
If the database is a template, the template name will appear in the Database is a Template field. 4. Click Save.
ORGANIZING A LIBRARY
To switch from the log view to the preview mode From the View menu, choose either Library Preview or Database Preview.
Use the Library Preview toolbar button as a shortcut to the View > Library Preview command. Use the Database Preview toolbar button as a shortcut to the View > Database Preview command.
When you choose Library Preview, the Preview pane shows a preview of the element that you selected from the left pane. When you choose Database Preview, the Preview pane shows a preview of the element you have selected from the right pane.
Tip Click any element in either the left or right pane. This automatically switches the bottom pane to the appropriate view, with the selected element displayed.
To switch from the Preview mode to the Log mode Choose Log from the View menu to switch the Preview pane back to the Log mode. You will see a text log of Design Managers actions.
Use the Log toolbar button as a shortcut to the View > Log command.
Viewing Elements
Use Expand/Collapse All on the View menu to view the sub-elements of a database or library. Alternatively, select the database or library for which you want to view subelements, and right-click to display the short-cut menu. Then click Expand All or Collapse All. You can click the twisties at each hierarchical level; or use the following keyboard shortcuts to quickly expand and collapse the twisties.
Shortcut * + Usage Expand All Expand Collapse
ORGANIZING A LIBRARY
Viewing Aliases
Click the Show Alias command on the View menu to view alias names in both the left and right panes. This is with Show Alias enabled.
2.
In the numbered fields, enter one to eight terms to search for. To match by any of the words you entered, click the Any option. To restrict search matches to only those design notes where all of the text items match, click the All option.
3.
Further define the search by selecting the options you want from the following check boxes:
Check Box Whole words only Case Accent Description Only matches if the words are surrounded by white space (or punctuation). Switches case sensitivity on. Switches sensitivity on for accented characters.
4.
When you are satisfied with your selection criteria, click OK to begin the search. When the search completes, the left pane shows only those design elements that match the criteria you defined.
Use the Filter toolbar button as a shortcut to the Library > Filter command.
To clear the filter To clear the filter, choose Clear Filter from the Library menu.
Use the Clear Filter toolbar button as a shortcut to the Library > Clear Filter command.
When you next start Design Manager, it automatically opens the list of databases you had open the previous time it ran.
Closing Databases
You can select one or more databases to close, or you can close all open databases in Design Manager.
To close one or more databases To close one or more databases in the right pane, select the database by clicking its name in the right pane. Then click Close from the Database menu. The database is removed from the right pane. To close all databases You can also click Database > Close All to close all open databases.
Copying Actions
You can copy actions from the left pane to the right pane using drag and drop or by clicking the blue arrow buttons.
If you drag and drop an action onto a database name, the action is copied into the Shared Actions note. Design Manager creates a Shared Actions note if one does not already exist. If you drop an action onto a form or view, the action reference is copied into that form or view. When you copy an Action reference from a form, for example, Teamstudio Design Manager looks up the shared action, then creates a copy in your destination form that is not shared.
To copy an element from the left pane to an open database See About Template Inheritance, on page 237 before you begin copying. To copy an element from the left pane into the open database in the right pane, click the element in the left pane, and then drag it into the right pane.
Notes
You cannot copy from the database in the right pane to the template or database in the left pane. When using drag and drop, you can only copy into one target database.
If you are using the Copy History Log feature(See Setting the Copy History Log, on page 245), each copy activity from Design Manager is recorded.
You can override the default behavior, copying an element to a new database from the template without maintaining the inheritance as follows.
1. 2. 3. Choose Tools from the Design Manager menu bar. Choose Inherit Design on Copy to clear the checkmark. Drag-and-drop the element. The element is not linked to the originating template.
You can also use the following toolbar buttons to copy elements from the left pane to the right pane, with or without inheritance:
This button copies selected design element(s) from the library pane to all selected databases in the database pane, maintaining template inheritance. This button copies selected design element(s) from the library pane to all selected databases in the database pane, without maintaining template inheritance.
Elements linked to a template display in bold typeface in both the left and right panes; elements not linked to a template display in a normal typeface.
Identifying Dependencies
A dependency is an element that another element requires in order to work properly. For example, if you have a form that uses a subform, the subform is a dependency of the form. The form will not work properly without the subform. When you copy an element, consider whether the element has dependencies you should also copy. If you have a library with a number of reusable elements, you can quickly create a customized application simply by dragging or copying standard elements from the left pane to the right pane. You can see which elements are dependencies as follows:
To see which elements are dependencies 1. 2. Select the element you want to copy. From the Edit menu, choose Select Dependencies. Elements that the element you selected is dependent on display with a checkmark.
Use the Select Dependencies toolbar button as a shortcut to the Edit > Select Dependencies command.
To select references Element references show which design elements reference the selected element(s). You can select references as follows:
1. 2. Select an element you want to select references for. Right-click to display the short-cut menu and choose Select Reference of Selected Elements(s). All forms that reference the element you selected are now selected.
3.
To unlink template inheritance for selected element(s) 1. 2. Select the items in the right pane Do one of the following: From the Database menu, select Unlink Template Inheritance > Selected Element(s). Right-click a selected element in the right pane, and then choose Unlink Selected Element(s) from the shortcut menu to unlink that element from the template it was associated with. Only those items youve selected are unlinked from their templates. All other template links in the target database design remain intact.
If you selected one or more database, you see the following window for each database:
4.
Design Manager scans for dependencies in all selected databases. If you select more than one database, Design Manager processes one database at a time and prompts you for any missing dependencies in each database. You must select at least one database.
When Design Manager has finished scanning for missing dependencies, you see the search results in the Log pane.
Design Manager scans the open libraries for elements matching the names of the missing dependencies. If Design Manager finds the matching element, it gives you the option to copy the missing element to the database to resolve the dependency.
Note
Design Manager only scans those databases that are listed in the Library pane.
Synchronizing
Use the Database > Synchronize Design command to copy all new or changed design elements from a template into a database. If the database inherits at the database level, then when you synchronize youll see options to synchronize Database Options, ACL, and Replication Settings. The Synchronize Design command considers the date and copies design elements that are new or have changed. This functions differently than Notes design replace/refresh, as follows:
When synchronizing designs, matches are made based on a design notes name and type. If there is more than one note with the same name and type, the UNID is checked. If the UNID doesnt match, then the unmatched design note is added to the database. All of the database options are synchronized except those that are template-specific including the List as Advanced Template in New Database window, Copy profile documents with design, Single copy template; unlike design/refresh where only the specific elements are synchronized.
3.
Click OK. If the database does not exist, Design Manager creates it. When Design Manager finishes setting up the Copy History Log, you see a confirmation in the Log pane.
Once set up to record the copy history, Design Manager creates a document in the copy history log database each time you paste or drag-and-drop a design element from a source database or template to one or more target databases. Design Manager records, among other data, what activity occurred and who was responsible for the action. When a Group Object is copied from a source database to one or more target databases, only the elements within that group are copied. If you want to group them in the target database(s) as well, you must create the group again. The Copy History Log database shows the individual elements that make up the Group Object in both the By Source Database and the By Target Database views. If you open a document for an individual element, and that element was copied as part of a group, the Action field reads Copied as Group Object and lists the original group object name. The Group Objects view in the Copy History Log database shows the history of group objects as they are created and edited, but not as they are copied.
To view copy history, open the Copy History Log from your Notes workspace.
Note
Template-linked elements appear in the Copy History Log with a green checkmark. They appear bolded in the Design Manager right pane.
In this example, the element was originally part of a group object called discussion group in the source database. Information is recorded in a Copy History Log document for that element. The Copy History Log document provides the following information:
The user action (copy) causing the history event to be recorded The group object name, if the element was originally part of a group object The design element name and type The UNID in both the source and target databases Information about the source database where the element was copied from Information about the target database where the element was copied to Who copied the element The date and time the element was copied
TEAMSTUDIO PROFILER
Teamstudio Profiler
Introduction
Congratulations on your purchase of Teamstudio Profiler! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. Teamstudio Profiler helps identify the LotusScript performance issues of Notes applications. Lots of things can impact the performance of Notes applications. One area which often causes performance problems is poorly written LotusScript code. This type of problem can be difficult to pinpoint. Troubleshooting is time-consuming and errorprone. When you use Profiler, you remove much of the guess-work from troubleshooting.
To start Teamstudio Profiler 1. 2. In Designer, open the application you want to profile. Click the Profiler button on the toolbar.
Note Profiler will not let you profile a database that has a hidden design. An error will appear.
Click OK to accept the error and the Teamstudio Profiler window will appear. The Begin button will be inactive.
TEAMSTUDIO PROFILER
You see the Teamstudio Profiler window with the name of your database in the top field.
Note
To begin profiling 1. From the Profiler window, click Begin to start Profiler.
Note Do not save things in Designer while Profiler is running. Unpredictable results will occur.
2.
Open your database and use it as you normally would to trigger the code that you want to profile.
To view the results Profiler has collected When you are finished, click the Profiler icon to stop Profiler. You see the Teamstudio Profiler results window.
TEAMSTUDIO PROFILER
The pane at the top shows the list of functions that were running during Profilers collection interval and information about those functions.
Column Fn Calls Time + Children Time % Parent Average Average + Children Element Item Description The function name. The number of times the function was called. The combined time including the time the function took plus the time its child functions took to execute. The time the function took. The percentage of total time that the function took to run in relation to the calling function. The average time the function took to run once. The average time taken by the function and its children for each call ((time + children)/calls). The name of the design element in which the code is located. The name of the NoteItem in which the code is located.
Profiler uses the following naming convention to represent classes and methods:
<class name>::<method name>
To work with Profiler results 1. In the upper pane, select a function you want to investigate further. You see more detailed information in the lower pane, with the Children tab selected by default. The function selected in the Summary pane called the functions listed in the Children tab.
Notes
Child functions do not include LotusScript language functions such as Print or Message Box. They also do not include Product Classes such as NotesDocument or NotesDatabase. Time in the Detail pane is relative to the Parent functions time.
TEAMSTUDIO PROFILER
In the example, the FINDPERSON function called the three child functions listed: FINDPERSONSLOWLY1 FINDPERSONSLOWLY2 FINDPERSONQUICKLY The first two child functions took most of the FINDPERSON functions time, which may warrant further investigation. 2. 3. 4. Double-click a function on the Children tab to view information about its child functions. Use the arrow buttons at the top of the Children tab to go between levels of child functions. Click the Source tab to view LotusScript source.
The example shows that line number 2 took the most time.
3.
Select the Combine Children check box so that similar calls appear in the Calls window as a single entry.
TEAMSTUDIO PROFILER
This feature simplifies the tree. For example, if you have a loop that calls a particular function hundreds of times, the call tree will only show that function once. If you uncheck the box, all function calls will appear in the tree even if they are duplicates. 4. When you are finished with your investigation, click Close. Profiler will ask if you want to save the file. After you specify where to save it, it is saved as a Profiler snapshot (.tps file). You can also click File > Save As to save your report.
TEAMSTUDIO PROFILER
select the server you just installed to. 7. 8. 9. From the template list, select Teamstudio Profiler Configuration (profile.ntf). Make sure that Inherit future design changes check box is selected. Click OK. Your Profiler configuration database has been created. To profile selected agents 1. Open the Profiler configuration database.
2.
You see the Select agent to profile window. 3. Click the Browse button to select a database to monitor.
Note You must select a database on the same server as the Profiler configuration database.
4. 5.
Click the Get Agents button to view all the agents in the database. Use the dropdown to select an agent from the database.
Note Only LotusScript agents will be listed.
TEAMSTUDIO PROFILER
6.
Click Select Agent to select an agent. You see information about the agent you selected.
7.
Click OK. Profiler will monitor the next time the agent runs.
The green check mark means that Profiler will collect information about the agent when it runs. The red X means that Profiler is not collecting information about the agent.
The next time the agent runs, Profiler will collect timing information and create a document in the Profiler Log database on the server.
Note This configuration does not affect agents run by a user.
TEAMSTUDIO PROFILER
8. 9.
Open a document for editing. Select Yes for the Enabled option.
Profiler will only run when the agent is triggered by a particular user. The ID file used to sign agents. This is only required when run on an R5 server. The password for the attached ID. Note: This field is not encrypted and is stored as plain text.
Note
Agent Signer and Agent Signer Password in the above table have some restrictions. When running on a Notes Release 6 server, these fields can be ignored. Profiler server runs using the Server ID. On Release 6, code signed by the server ID is allowed to run unrestricted. Signing with a special ID is unnecessary. On Release 5, however, the server is not granted these rights by default. After Profiler modifies and resigns code, the server may not be able to execute it. To avoid this problem, use one of the following options: Add the server name to the Run unrestricted LotusScript agents field on the server configuration document. Add the signer ID to the agent configuration document.
TEAMSTUDIO PROFILER
The red icon in the Time column indicates that Profiler encountered an error that prevented it from running on the selected code.
2.
3.
Click the View Results button at the top of the form. This launches Profiler to view the attached results.
Note Profiler Client must be installed.
You can also save the attachment to your hard drive, launch Profiler from your Notes client and click File > Open to open the file.
TEAMSTUDIO PROFILER
Troubleshooting
The following tips may help prevent or resolve issues you could encounter when running Profiler:
Because of the way the Notes client performs caching, you should restart the Notes client before running Profiler. Line profiling is not available for code included from .lss files. Make sure the code you want to profile has not yet been loaded when you start Profiler. For example, if you want to profile the LotusScript code for a button, make sure that the form that the button is on is not open. Otherwise, Profiler will not recognize that the code is running.
TROUBLESHOOTING
TEAMSTUDIO UNDO
Teamstudio Undo
Introduction
Congratulations on your purchase of Teamstudio Undo! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. Teamstudio Undo keeps track of changes to a database so you can roll back the individual design elements of either templates or databases. If the target database is already under CIAO! control, you can use Undo between check-ins. You can use Undo to retrace your steps to the previous save if you are not satisfied with the changes you have made.
Undo automatically keeps track of changes for all NTF files you work with, whether on your local computer, or on a server, so you dont have to configure that. If you are wondering if Undo knows about your NTF file - no worries - it does! If you prefer, you can manually configure Undo to keep track of changes to NSF files, or to keep track of changes within the files or folders you choose.
TEAMSTUDIO UNDO
To configure tracking of all NSF files or only selected databases or folders 1. 2. In a text editor, open the Teamstudio.ini file, which is located in the data directory. In the [Undo] section, change the line that says IncludeFiles=*.ntf as follows:
To track the following All NSF files only All NTF and all NSF files Just a few databases you want, for example, mytest1.ntf and mytest2.ntf One directory only, for example, the mail folder
IncludeFiles=mail/*
Note
Teamstudio recommends you only modify the IncludeFiles line if you have a very good reason. By leaving the default, you dont have to try to remember to add a new database or update the line again for a database whose name has changed.
USING UNDO
Using Undo
Using Undo you can view Design Element changes and you can choose which changes to undo.
Note
Note
If you select a database icon from the Notes workspace and then click Undo, youll be prompted to browse to the database file. You can avoid having to browse to the database file by first opening the file in Designer and then clicking Undo from the toolbar.
2. 3.
Select the version of the design element you want to view changes for. Click the Delta button to view the difference between the element in the undo buffer
TEAMSTUDIO UNDO
and its current version. 4. Click Close to return to the Undo client.
Note You can also use Delta to compare two undo buffer design element versions. To compare two undo buffer design element versions: 1. Select one version. 2. Press and hold the CTRL button. 3. Select the second version (the two elements must be of the same type). 4. Click the Delta button.
See Using Delta, on page 171 for more information on using Delta.
Undoing a Change
To rollback database design element changes 1. From Designer, click the Undo button on the toolbar.
Note
If you select a database icon from the Notes workspace and then click Undo, youll be prompted to browse to the database file. You can avoid having to browse to the database file by first opening the file in Designer and then clicking Undo from the toolbar.
You see the Teamstudio Undo window with the following element change information: The design element type, the element name, the changes in the order they were made,
USING UNDO
the date and time of the changes and the signature before the changes were made.
2. 3.
Select version of the design element you want to roll back to. Click Rollback to selected. The copy of the design element captured at that time will replace the design element in the database.
TEAMSTUDIO VALIDATOR
Teamstudio Validator
Introduction
Congratulations on your purchase of Teamstudio Validator! Download the Teamstudio Installation Guide for instructions on installing and removing your Teamstudio tools. Teamstudio Validator lets you report on areas within your database documents that no longer function correctly. Use this tool during the upgrades of an existing application where design changes have occurred and you want to determine where existing documents in the database no longer work as expected. Validator reports on static links that no longer function by checking the target of both Notes document links and standard URL links. Validator reports on fields that no longer exist on the form/subform design, but still exist on documents. Validator also checks keyword fields to ensure that values stored in the document still agree with values in the field design. Validator reports on orphaned documents. Validator lets you create detailed reports including:
Errors Error descriptions Document links to the actual document
TEAMSTUDIO VALIDATOR
Running Validator
To run Validator, you first set options and parameters and then you specify the output databases server name and path.
To run Validator 1. Set the following Validator options:
Options Report All Links Description This will generate report documents for all doclinks, good or bad. Selecting this option disables the No Warnings and the Dont Check URLs options. Validator will not report errors that are classified as warnings; for example, hotspots with no link specified. Validator will not check URLs. Do not try to check URLs if you are not connected to the internet. If you select this option, Validator will report as an error any link that doesnt point to the current database. If you select this option, Validator will not look at replica databases on external servers. Validator does not check for field errors. Validator ignores keyword fields. Validator ignores empty fields (fields on documents with no data). Validator does not check conflicts.
No Warnings Dont Check URLS No External Links Assume Replicas are local Dont check fields Dont check keyword fields Ignore empty fields Dont check Conflicts
2.
You can set Validator to report on design elements or documents or both. If you set Validator to report on documents, you must specify By Formula or By View. If you specify By Formula, @ALL appears as the default. You can enter a valid selection formula for your search. If you specify By View, available views appear in the dropdown list, allowing you to select one of the views in the source database.
3. 4.
Enter the server name and path of the Reports database (Output). Click Run to create the Reports database. Validator will create the Reports database and automatically open it.
Notes
Pressing CTRL-BREAK while Validator is running will cause Validator to halt in place and open the report database. When the output database does not exist, you see the Create New Log Database window where you can enter the new Database Title.
Note
All reports for Teamstudio products can use the same Teamstudio report database which is TMSlogs.ntf
TEAMSTUDIO VALIDATOR
By Created
The By Created view lists all errors found by the order created.
By Document
The By Document view lists all errors found by order of ascending note (element) ID.
By Error
The By Error view lists all errors found by error type. Validator provides the following sub-views:
Computed for Display (CFD) Fields on Doc (by Document or Field) Fields Missing on Design (by Document or Field) Orphan Agent Data Parent document not found Rep/Save Conflicts Wrong Field Type
TEAMSTUDIO VALIDATOR
Viewing an Error
To view a Validator error, select a report document.
Common Information
The following information is common to all Validator reports.
Field Time Run Options Title Server Database NoteID UNID Note Doclink Test Name Result Error # Message Description The time Validator generated the report. The options you set when you ran the report (for example, include valid links in report and ignore empty fields). The name of the database you searched. The server location of the database you searched. The database against which the report was run. The failing element ID. The 16-byte value that is assigned to a note when the note is first created. This value uniquely identifies a note. The name of the element. A doclink to the failing document. The type of test run. This is internally defined, consequently you cannot customize it. The result of the test (for example, Database was not found). The error number (for example, 259). This is internally defined, consequently you cannot customize it. Information about the potential causes of the error.
TEAMSTUDIO VALIDATOR
Some report document types (for example, orphaned agent data notes) provide buttons that correct problems within the database being validated. You must have the proper access rights to this database in order to use these buttons. If you dont have the proper access rights, an error appears.
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the Could Not Validate Document With Form report shows the following:
Field Field Phase Description Field where the formula was found. This entry can have the following values: Load - Default value: An error occurred while checking the fields default value Save - Input Translation: An error occurred in the fields input translation formula Data Conversion: An error occurred when trying to convert the data in the document to the type of the field (for example, text to number)
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the Database was Not Found report (unique for DocLink Reports) shows the following:
Field Field Type Format Element Name NoteLink Type DBID View Note Nearby Text Description The field on the document where the link was found. The type of link (for example, DocLink or URL). How the link was stored (for example, standard, computed or special). Name of the element linked to by Named Element Link (only for the Type: Named Element). Type of NoteLink (For example, Named Element, DocLink). Database RepID. View UNID. Note UNID. Text near the error, provided as a hint.
Note
A document link is composed of three parts: DBID, View and Note. Each must be valid for Notes to locate a doclink in the database.
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the Document/Note Was Not Found report shows the following:
Field Field Type Format NoteLink Type DBID View Note Nearby Text Description The field on the document where the link was found. The type of link (for example, DocLink or URL). How the link was stored (for example, standard, computed or special). Type of NoteLink (For example, Named Element, DocLink or Anchor Link). Database RepID. View UNID. Note UNID. Text near the error, provided as a hint.
Fields Inconsistency
Fields stored on the document did not line up with fields on the design. Some potential causes for this include fields not needed that are deleted from the design leaving fields on the design that may not be used again and are just taking up space. Or the type of the field may have changed, for example, a text field that is now a number field. The following is an example:
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the Fields Inconsistency report shows the following:
Field Design Name Missing on design Description The name of the form that was used with this document. Lists the fields that are in the documents but missing in the design, along with the field size of the documents in parentheses [fieldname(size)]. Lists the fields that are in the design but not the documents. States differences between the field type in the design and the field type in the document. This shows the number of CFD fields that Validator found stored on the document, along with the field size in parentheses [field-name(size)].
Missing on doc Has different type Computed for Display (CFD) fields stored on document
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the Keyword Field Contains Incorrect Values report shows the following:
Field Design Name Field Name Unknown Value Allowed Value Description The name of the form that Validator used with this document. The name of the failing field. List of values that were found in the field but were not valid choices according to the design. List of values that the user can choose from.
Missing Dependency
While trying to collect field information from the design of a documents form, a dependent subform or shared field could not be located. The following is an example:
TEAMSTUDIO VALIDATOR
to remove them since they do not show up in Designer. The following is an example of a Validator report showing orphaned agents.
To remove orphaned agent data notes in a report Click the Remove Agent Data button at the top of the window to remove the orphaned agent data notes referenced in this report.
To remove all orphaned agent data notes 1. 2. Go to the view called Orphan Agent Data Notes. Click the Remove Agent Data button at the top of the window to remove all the orphaned agent data notes.
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the Save/Replication Conflicts report shows the following:
Field Conflict note: Last Modified Last Updated By Main note: UNID Last Modified Last Updated By The 16-byte value that is assigned to a note when the note is first created. This value uniquely identifies a note. The date the main note was last modified. The last user to update this note. The date the note in conflict was last modified. The last user to update this note. Description
URL is Invalid
This error means that there was an error validating a URL that Validator encountered. Check the URL manually.
Note Validator will wait twenty seconds for a server to respond to an HTTP request. You can customize this value by adding the following to the Validator section in teamstudio.ini:
TEAMSTUDIO VALIDATOR
In addition to the information common to all reports, the URL is Invalid report shows the following:
Field Field Type Format URL Nearby Text Description Field the URL was found in. Type of link, in this case URL. How the URL is stored, in this case in a formula. The failing URL. Text near the failing doclink, provided as a hint.
CONTACTING TEAMSTUDIO
Contacting Teamstudio
Contacting Teamstudio
If you have a question, dont hesitate to ask. Contact Teamstudio technical support. All Teamstudio products include unlimited technical support for the life of the then-current Maintenance Agreement. To receive support, please have your product serial number ready.
By Phone
Asia Pacific
+81 (0) 3-6230-0825
By Email
CONTACTING TEAMSTUDIO
Asia Pacific
[email protected]
Maintenance Upgrades
Major Product upgrades are free of charge if you have a valid Maintenance Agreement. For more information on purchasing a Maintenance Agreement, please call Teamstudio.
Feedback
We are always eager to hear your comments and suggestions on our products. Please direct all feedback via e-mail to [email protected].