PermaLink Processing multiple documents from a Domino view04/17/2006
Domino Development
One facet of Domino development I researched for the Adding Agents to Domino Applications presentation I gave last week at the Advisor Summit was how to process multiple documents from a Domino view. In the Notes client, this is relatively simple, as you can use NotesDatabase.UnprocessedDocuments, NotesUIView.Documents or even NotesUIDatabase.Documents to get a collection of all of the documents that are currently selected in a Notes view. However, for the web, this is not so simple, as there is no NotesUIView or NotesUIDatabase object to access. Also, all agents run via the web must have their Runtime Target set to None, effectively disabling the UnprocessedDocuments property. I'd read several articles on how to give an agent a collection of documents to process, notably Jake's article from back in January '03. However, Jake's method seemed like a lot of work to get a simple view up and running that allowed selection of documents. I managed to stumble upon a tip on the TLCC website that worked under the assumption that you were essentially working with the Notes view as rendered by Domino, not treating the view as HTML and adding your own HTML tags to the view column formulas.

That TLCC tip worked great, and I included it in my presentation. However, for a project I'm currently working on, I need to follow a standard look and feel for all web-enabled Notes applications. This means that I have to treat the view as HTML so I can add all sorts of HTML tags and CSS attributes to the view column headers and column formulas, which then allow me to format the content using the agreed-upon look & feel standards. However, if you enable the Treat view contents as HTML advanced view property, you no longer can select the Allow selection of documents. Sheesh! So, Jake's article proved to be very handy for my situation.
Comments :v

1. harkpabst_meliantrop04/30/2006 01:50:06 PM


Contrary to what the TLCC tip states, I'm pretty sure, that Notes 5 gave us the "Allow selection of documents" property, already.




Credits
NuTechs Powered by Domino
Search
Calendar
February 2012
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Monthly Archive
Get Real, Detroit!
Real Detroit Weekly
SWARM
Service
With
A
Rapid
Motion


-- old Rally's Hamburgers credo
Lotus Domino ND6 RSS News Feed RSS Comments Feed Podcast Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
By Category
The BlogRoll
About
Contact Me
Contact me, Michael Sobczak, using this e-mail address:

my first initial my last name at Yahoo dot com
Recent Entries
No Recent Blogs
Powered by
Blogsphere