Download Profiles and UI viewer
Profiles and UI viewer is a Small but very effective tool to help Notes designers changing/deleting fields values or Profiles. (The changes are immediately in affect).
Be aware, it is easy to delete a profiles or fields. One click and the content is gone!!!
Important: Unpack and install the program as administrator into Notes Client program directory!
Add the Lotus program directory into the PATH variable.
Problems with user access rights? run the executable from an USB stick. (it will work partially too)
Works fine with all Notes versions since 5.02b and all Windows 32/64 versions. (win 7/8 Ultimate 64Bit too). The program is written in VB6 and based on on the Domino COM objects with a lot of Win API's.
Compiled with VB6 on win 7 64bit and VS2008 on win7 64 for the attached dll. (Using Domino COM objects and Domino C API 8.5.2 reference).
By developing Notes applications at a customer sites I feel helpless without using the tool.
1. Main program screen
The program tries to open the current database and UI doc first, if no UI opened and there is an available database - the profiles of that db will be displayed. Otherwise, after an error message use the 'Database picker' button to select a Database of your own.
Open a document and press 'Get UI doc content', a sorted fields-list appears with the first element of fields content. To view the all content click on the field name. The content appears to the right.
Insert a search text and click the 'Search' button several times to get the field names or the content - containing the looking word. Here you get very quickly the answer on the very frequent question: 'The field name containing the text I am looking for'.
Create new field:
Insert a unique field name, choose field type and put some content in the Content field below. Click the 'Add new field' and watch the results in the field list on the left hand side. For Some field types - creating fields with content is not implemented yet.
Search and replace
The action replaces all found fields with 'Search' content - by the text of the 'Replace' input field. By clicking the 'Search replace all fields' button - the results are shown immediately in the document. Insert your Search text and scroll fields by pressing the 'Search' button.
The button Replace changes only the Content box - not the document. To change only one field use the 'Overwrite doc' button.
Change field content
Click the desired field and add some text to the content. The new field values are shown by using the 'Overwrite doc' button. Reopen your UI doc without saving it in your client - than observe the changes.
Other way to view Notes documents
Ever got a server log message with 'corrupt document. bad attachment (Doc ID 31950) etc.' Just open any document in the specified database, Put the decimal id into HEX/DEC NoteID field and press view. Extract or load the correct attachment back into the document. After the document is repaired the Database can properly replicate without brakes. Alternatively insert the proper UID and press View to show the required document.
Lunch Server Console remote command.
After several commands use the up/down keys to scroll and repeat the previous ones. Be aware not to quit the server unintentionally. In this part I use a C++ DLL (cmdRemCon.dll) that should resident in the notes program directory. Some explanations and source code is written below. You may use freely the sample or adjust the DLL for your own needs.
VB6 sample Call to Notes API C DLL:
Public Declare Function W32_cmdRemCon Lib "cmdRemCon.dll"
Alias "RemoteCommand" (ByVal rcmd_server As String, ByVal rcmd_command As
String, ByVal response As String) As Integer
20 rcmd_server = Space(128)
180 Flag = W32_cmdRemCon(rcmd_server,
Notes API C DLL sample:
FAR *pServerName, char
FAR *pConsoleCommand, char
Viewing domino profiles
Ever wanted quickly to see how many profiles resides in the Database and their contents? Just press the 'Search for profiles' button. A list of all profiles appears in the 'Documents by NoteID' list. By double clicking you open the desired document.
Many Domino databases are carrying a lot of old garbage profiles during the application lifecycle - no wonder that a Database is slowly loaded.
Here is an example of the calendarprofile of my Mail DB. The Filed '$Cal' enables manipulating the color appearance of the calendar view. I used it to show appointments of a certain group of users in a different color. Be aware! it easy to delete Profiles by pressing the red button.
Viewing design documents
Double clicking on one of the design elements provides a list of all designed docs of the chosen type. The content and the fields act like a normal regular Notes document. Below in the screenshot an Agent is selected and the $AssistAction field shows the its script (doesn't work for formulas) . $AssistInfo field displays some more information about the Agent attributes.
Creating collection of documents and adjusting there content.
Select Views from design list and press for example the 'Calendar' view. The 'Select' formula is automatic viewed. Adjust the formula to suit your needs and press the 'Collection by formula'. The documents will appear in the Collection List-Box. Here you can apply the 'Coll' buttons to work on all document at once. To filter some design documents out of the list use the 'R' button - the selected row is removed from the list.
Observing many fields content
The 'file down' button allows scrolling through previous fields content. The 'X' button erases only the Content box.
Copy/Move design elements
After changing or upgrading a design you can copy it easily to a different database of the same kind. Some customers are not using the Domino designer task at all, so here is a way to populate some design elements quickly from one place to another. Pressing the Copy/Move button starts a form - enabling selecting a target database on the same or a different Server. For some design elements you should check the Notes designer whether the element appears twice or not. (restart the designer to observe the results).
For the case of loading attachments I needed a small quick file system explorer - so I implemented one, allowing remove files. As an option you may lunch the application behind the file (dblClick) or view the file attributes (right mouse click).
Just a simple way to list the fields in text file (rarely used).
Copy / Move / Remove / Replace fields content in Domino Documents
The button 'CMRR Coll.' provides a new tool for working with an existing views. Most buttons are with tooltip text assigned. In the example below The $Inbox will be copied or moved to the target database. During the operation all marked fields will be replace by the 'Replace by' text. By selecting 'with replacing fields content' and Doubl-Clicking the source view - a list of 250 first documents with available fields - appears below. Select the fields you want to change or select all by button.
The check attachments will extract all attachment from the specified view into the path specified on the left. Corrupted documents are listed for further inspection.
Not all options and buttons are described. Try everything on your own and reply in case of an error or strange behavior.
Lotus Client toolbar adjustment
Customize your universal toolbar und start the program from your Notes client as I use to do.
For any comments or bugs please response the author.
|Zurück / back