I have about a 1000 database all inheriting from a single template. The problem is that some design elements in these databases inherit from a wrong template. Does anybody know a way to programmaticaly delete/change the template name from a single design element?
I know how to uncheck the “Prohibit design property”, so that is not what I seek.
Subject: How to set “Inherit from the design template” property of a design element
Very Simple…You can use " LOAD CONVERT " command from DOmino console to replace THE DESIGN OF THE DATABASES WITH THE DESIRED TEMPLATE… yOUR PROBLEM WOULD BE RESOLVED IN JUST 30 MINUTES.
Subject: RE: How to set “Inherit from the design template” property of a design element
I think that is not the solution.I do not want to change the template name of the database which that database inherits from, but the template name a specific design element inherits from. (Which you get when you right click on a design element in the list of the design elements (view)and then go to the third tab.
Subject: RE: How to set “Inherit from the design template” property of a design element
Use the NotesNoteCollection to find the design elements you need to change, and open them as NotesDocument objects. A design element is basically the same as a document – it has “items” that have names, datatypes and values. You can see these items in the properties box from any Designer view (e.g. the view of forms). If you manually assign a template to a design element using this dialog, you can see the result in the list of items: an item called $Class contains the template name.