Link to home
Start Free TrialLog in
Avatar of ekommineni
ekommineni

asked on

Creating anAbout Database doc using script or API

Hi:

I am in the process of upgrading some mail files and did find out that some of the users do not have an "About Database" document.   Is there a way to create "About Database" documents without opening each one in designer and adding one.

Thanks
Ven
Avatar of SysExpert
SysExpert
Flag of Israel image

I would try replacing the design from the correct template.

This can be don globally using the convert program.

see the Admin help :

The mail conversion utility command uses arguments to specify options. It has the form:
load convert [-r | -l | -f | -m] mailfilepath existingtemplatename newtemplatefilename
where  -r converts mail files in subdirectories of the specified directory, -l creates a text list of mail files, -f uses a text list of mail databases to determine which mail files to upgrade, -m converts the file or files for IMAP use, mailfilepath specifies which mail file or files to upgrade, existingtemplatename specifies a certain mail file design (for example, only mail files using R4.6 designs) to upgrade, and newtemplatefilename specifies the template with which to upgrade the mail files.
Using the mail conversion utility

----------------
Replace the templates and this should include the About section.

I hope this helps !
Avatar of ekommineni
ekommineni

ASKER

Convert works if the mail file has a "about document"  if there is no "about document" it does not creating one.

One of my co-worker mentioned that Iris developers have a script library to pull all design elements as documents.  I think I am close to a solution.  I will post it as soon I get a resolution.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If there's an about document in the template used by the user's mailfile, all you need to do is load the designer task on the server and it will automatically be updated.

The only reason, why the about document isn't replace or updated, would be that the user flagged the "Do not allow design refresh/replace to modify" property for the about page, but this would allready mean that there is an about page present.

I have the designer task scheduled on my server daily to make sure the design stays up to date, so when I make changes to the template, all databases are updated automatically during the night.

Regards,
JM
Thanks Hemanth..

You script code sure did work.

I did also recived a DBScript (script library) from lotus, that can copy any design element.  
You are welcome.