How to get design template's file name?

We replace our packaged software’s templates on a periodic basis by keeping the template title unchanged, but change the actual file names for the templates. Thus TMPLT - NBBKS11610.NTF will be the template created on the 116th day of 2010. But the title of the template remains unchanged, (“TMPLT - NOTEbookS Catalog” for instance) so customers can simply replace older templates with newer ones and Domino refreshes with the updated design changes. But customers are looking for a way to determine what release of what template has actually updated what database. Is there a way to get the file name of the latest template that has upgraded a file? db.designtemplatename just delivers the title.

Subject: Look into the field $TemplateFileName of the db icon note

Subject: Try this

Use a LotusScript based button or agent to simply retrieve the file name of the database via the “NotesDatabase” Class: fileName$ = notesDatabase.FileName and display it in a dialog.

If you are looking for the template version information I have a button below that would retrieve that information:

Should give you a dialog like:

Same information displayed in db properties: