I tried a lot of trick to refresh the design of private views but non of them seem to work.I tried to delete the views in the desktop6.ndk (script1), but the default outline still shows the view, the user is only not able to open it anymore (and this can only be fixed by deleting the desktop6.ndk) which is not an option
Al those tricks work as long as the view is not stored in the desktop.
Does anyone have code that does refresh views even if they are stored on the desktop?
script1 :
Set db = New Notesdatabase(“”,“desktop6.ndk”)
If Not(db.IsOpen) Then
Msgbox "Could not open the desktop"
Exit Sub
End If
If Isarray(db.Views) Then
Forall view In db.Views
' If view.Name="voor luc" Then
Print view.name
view.Remove
' End If
End Forall
End If
Subject: Is it possible to remove the bookmark and add it again via script?
All the tips seem to work AS LONG AS THE VIEWS ARE NOT STORED IN THE DESKTOP.But, since I want to keep the database as small as possible I need to have the views in the desktop as much as possible.
As far as I can see the only trick is to remove the bookmark and add it again. Anyone tried to do that via script?