title: Display selected documents using picklistcollection
body: <p>I have an agent that i can initialize using a action in view.</p>
  
  <p>Code I have in agent:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Dim sesija As New NotesSession
  Dim db As NotesDatabase
  Dim collection As NotesDocumentCollection
  Dim workspace As New NotesUIWorkspace
  Set db = sesija.CurrentDatabase
  
  Set collection = workspace.Picklistcollection(PICKLIST_CUSTOM, True, "", _
    "Prakse2015/Uzdevums_Maris", "kategorijas", "Virsraksts", _
    "Apakšvirsraksts", "")
  </code></pre>
  
  <p>I know that few of those lines are not necessary. What it does now it that it displays all documents in the view. What i'm wondering about is that is there a way how I can display only the selected documents using picklistcollection?</p>