Show document collections in a view

I'm trying to generate a view of some selected documents using a script, which is in an other document. Until now, the script could select the wanted documents as a document collection. Now I want to show these document collections a view (in an existing or in a new). Can you help or have some idea?

There is no way to display a document collection generated by code in an actual view. On the Web, you could generate your own view by looping through the collection and generating the HTML necessary to display the documents in a tabular format. This can be very handy because you can generate the view in any format that you like. In the Notes client, you have two choices: You can loop through the collection and display the underlying fields that you are interested in a field on a form, simulating a view to some limited degree. Alternatively, you can loop through the collection and add the documents to a folder using the PutInFolder method of the NotesDocument class.

Dig Deeper on Domino Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




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