Sean Cull

Planet Lotus

This is where planet Lotus would appear if ie could be made to play nicely


Long live the King, long live Firefox



p.s. it probably can work fine but Ihave lost the will to find out just at the moment

SNTT: LotusScript t to remove the Prohibit Design Refresh flag from Forms and Views 

Sean Cull  17 December 2009 07:30:00

I recently had to replace the design on 130 applications with a new design. To do this I need to change the DesignTemplateName property ( property which for some reason is read only in LotusScript ).

I had tried the convert task  but it kept bombing out trying to create folders for categories - a feature of its intended use on mail files I guess. To replace the template name I used this great little bit of code from Daniel Alvers.

Once I had changed the template and run the design task I found that some of the old design elements persisted because they had the "Prohibit Design Refresh" flag set. I wrote an agent to scan through all of the databases on a given server and remove these flags for databases linked to a named template. You can download the agent as a database or as a LotusScript text file.

The agent will ask for the template name and the server. A log of what it has done is added to a blank memo form

prohibit.lss

remove_prohibit_flag2.zip



 Admin Tips  Dev Tips  Download  Lotus 


1Dennis van Remortel  17/12/2009 08:50:17  Files

Sean

I'm unable to download the files?

Cheers



2sean cull  17/12/2009 08:56:58  I will fix that this afternoon

i am on site this morning so ill have a look at fixing the download this afternoon

thanks sean



3Dragon Cotterill  17/12/2009 10:42:39  Not read-only..

You can set the Design Template Name via LotusScript if you set it on the right item. Look closely at Note ID FFFF0020 and you'll see what I mean.



4Sean Cull  17/12/2009 12:44:04  attachments fixed

The domino blog template didn't seem to like the .lss.txt and .nsf in the URLs



5Sean Cull  17/12/2009 12:51:11  Thanks Dragon

yes,

I remember seeing a list of the standard noteids for the icon, help about document etc but I can't find it again on Google.

tks, Sean



6Thimo Jansen  19/01/2010 09:06:39  Lifesaver and eye opener

Thanks, this just saved my day! On a set of about 6.000 databases, several (100, 1000, more?) have the prohibit design refresh set on a crucial script library. The search/replace agent is running right now.





Please leave a comment


Subject:
   
Name:
E-mail:
 
Comment:  (No HTML - Links will be converted if prefixed http://)
 
Remember Me?