Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

design template name

Status
Not open for further replies.

mlorencak

Programmer
Jul 13, 2003
36
0
0
SI
can anyone tell me if there is posible to change design template name (database property) with a lotus script or java script.
I would need this to change this property in about 500 mail databases.
Thanx in advance...

lp, mitja
 
TemplateName is a property of the NotesDatabase object class.

All you need to do is write a little agent that opens the current db, and sets the value.

Of course, if you need to do that across hundreds of dbs, it is probably because you're not sure which template they are pointing to. So you'll more than likely need your agent to open all the dbs of the server and make the change sequentially. Which means iterating through the Notes directory.

If you need help on this, I can give you code that will quickly get you working.

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top