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

Can I get a Notes ID of different design elements programmatically?

Is there any way to get a Note ID of different design elements (like forms, views, agents, etc.) programmatically (preferably in LotusScript)? Also, can I go to different design elements of a database, one by one, in LotusScript? Thanks in advance.
In Notes 5, you can get the design note for a view or folder as follows:

Dim viewDoc as NotesDocument Dim view As NotesView

... Set viewDoc = db. GetDocumentByUnid(view.UniversalID) Print "noteID = " & viewDoc.NoteID

For other types of design elements, you can use the DBDesign script library from the LDD Sandbox (thanks to Damien Katz for this very useful tool).

In Notes 6, you can use the NotesNoteCollection class to find the Note IDs of all the design notes or all those of a specified type. Refer to the Designer help for examples.

Dig Deeper on LotusScript

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