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

Read all forms in a database with LotusScript

How do I read all forms, views,...(Design Elements )in a database with LotusScript?

Not sure what you mean by "read", but in R5 there is no way to access all the design elements in the database with LotusScript alone... You can access all the agents, forms and views of a database through the Agents, Forms and Views properties of the NotesDatabase class. E.g.

varAgents = ndbCurrentDatabase.Agents

varForms = ndbCurrentDatabase.Forms

varViews = ndbCurrentDatabase.Views

Each of these properties returns an array containing the respective design elements. You can also access the ACL and the entries are contains through the ACL and class of NotesDatabase. You'd need to use the API to access all the design elements in database. However in Rnext (R6?) Lotus has added a new class NotesNoteCollection that provides a mechanism to access all design elements in a database.

Dig Deeper on Domino Resources - Part 7



  • 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 ...