Mass design refresh

A slight mistake done in Developer to a template has caused many of my databases to now have an extra view in it. The view has been removed from the template now, but still shows up in the databases. Is there a way to mass-refresh all the databases on the server? Or a way to refresh all the databases on a particular template?

Subject: mass design refresh

If you have a standard domino server, the design refresh process should run at 1AM this morning or you can just issue a ‘load design’ at the console.

Subject: RE: mass design refresh

I’m running “load design” right now, thanks a bunch!

Subject: RE: mass design refresh

Mike,

Careful there…Load Design will run against all databases on a selected server. If the intent is only a specific database, might not be a bad idea to Replace the design of the specific database. This can even be ran from th Notes Client.

Subject: RE: mass design refresh

The template refreshed down to all the databases that were inheriting the design from it, so I started out refreshing their designs manually, but realized that there are likely databses out there that used the template that I wasn’t aware of, so refreshing every database on the server seemed to be the best option.

Subject: mass design refresh

Hi,

If the name of the view is unique, you could run a loop against all the dbs on your server and then use this if the view exist

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView( “Sales Leads” )
Call view.Remove