Manage Learn to apply best practices and optimize your operations.

Removal of $v5actions (by script)

Removal of $v5actions (by script)

Create the agent and run it--that's it.

Paste the code in the initialize event.


Sub Initialize
	Dim session As New NotesSession
	Dim db As NotesDatabase
	Set db = session.Currentdatabase
	Dim doc As NotesDocument
	Dim longCount As Long
	
	For longCount = 1 To 2000 'make higher when there is more 
design elements.
		
		Set doc = db.GetDocumentByID( Hex$(longCount) )
		
		If Not ( doc Is Nothing ) Then
			If doc.HasItem("$V5ACTIONS") Then
				Call doc.RemoveItem("$V5ACTIONS") 
				Call doc.save(True,True)
			End If
		End If
	Next
End Sub

Dig Deeper on Domino Resources - Part 7

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close