Problem solve Get help with specific problems with your technologies, process and projects.

How can I rename a folder using LotusScript?

How can I rename a folder using LotusScript? Thanks in advance.
This works in Notes release 6 and up (from the Domino Designer help):
Sub Initialize
  Dim s As New NotesSession
  Dim db As NotesDatabase
  Dim view As NotesView
  Dim newName As String
  Set db = s.CurrentDatabase
  Set view = db.GetView("Topics")
  newName = Inputbox$("New name", _
  "Change name:", view.Name)
  If newName = "" Then Exit Sub
  view.Name = newName
End Sub

Do you have comments on this Ask the Expert Q&A? Let us know.

Dig Deeper on LotusScript

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury