I wish I could combine NotesDocumentCollection with PickListCollection dialog box
I have a database where I want to select some document with LotusScript. These documents should be presented to the user in a dialog box so he or she can choose what documents to delete.
Now, this isn’t hard to do with a dialog box containing a list of selected values from the documents. However, this always looks “oh so dialogish” ….
What if I could present any documents (such as a NotesDocumentCollection) in a PickListCollection dialog box? This would be much more nice looking IMO.
My initial ideas is to use a hidden folder, and store the NotesDocumentCollection with PutAllInFolder. Then the PickListCollection would show those documents. This may however lead to a race-condition if multiple users attempt to do the same thing at the same time.
Unfortunately it seems like I can’t use a temporary folder name either, as the folder must to be known to the design collection at an early stage of the database-open process. The PickListCollection seems to have issues finding newly created folders.
Any ideas?
Comments
Posted by Petter At 12:35:52 On 19.10.2010 | - Website - |
You could create a temporary document where there are several fields (multiple values) like :
ID
Title
...
You get your documentcollection and you fill your fields with these values.
There's a checkbox on the left of that datas table, where you select your documents and relies it with their UniversalID.
The OK button launch the process ... as if you are on a web page...
Drawbacks:
Performances are not the main criteria.
32K limits...
Posted by Satourne At 13:58:52 On 19.10.2010 | - Website - |
Best Regards
Barry
Posted by Barry Lewin At 14:30:09 On 19.10.2010 | - Website - |
Posted by Benoit Dubuc At 19:34:51 On 19.10.2010 | - Website - |
Posted by Robert Ibsen Voith At 09:28:36 On 20.10.2010 | - Website - |