Update of template name

Hi,

I need to set for several databases new template name of master template database(field “inherit design from master template”). Is there any way how can I set it through a command for specific folder?

I don’t want to set new template name for each database manually :slight_smile:

Subject: some sample code

Hi,

The $TITLE of the Icon contains following informations:

  1. Database Name

  2. Database File is a Master Template(#1) and Template name.

  3. Inherit Design from(#2) and Template name.

some modifications and it could run in the Catalog.nsf

Dim session As New NotesSession

Dim db As NotesDatabase

Dim currdb As NotesDatabase

Dim tmpdoc As NotesDocument

Dim icon As NotesDocument

Dim v_evaluate As Variant, macro As String



Set currdb = session.CurrentDatabase

Set tmpdoc = currdb.CreateDocument



macro = {@subset(@maildbname;1)}



v_evaluate = Evaluate(macro,tmpdoc)



Set db = session.CurrentDatabase



Set icon = db.GetDocumentByID("FFFF0010")



Stop

f$ = icon.~$Title(0)



If Instr(f$, "#1") > 1 Then

	Messagebox ("Database Title" + f$)	

End If

Hope this helps & Digital Greetings

Thomas Balatka

Subject: done

Thank you, I used “load convert -g"Language” mail*.nsf * mail85.ntf"

and seems it is converted well…

Subject: Lookup the “load convert” command line option (EOM)