<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "Ten Years On And Still Learning -- Notes Agent Data Stores"</title>
<description>Replies to blog "Ten Years On And Still Learning -- Notes Agent Data Stores" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Fri, 26 Jun 2009 06:06:39 -0500</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20090625" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from Tommy Valand</title>
	<pubDate>Fri, 26 Jun 2009 06:06:39 -0500</pubDate>
	<author>Tommy Valand</author>
	<description><![CDATA[ 
		<p>I think he's referring to the "get design doc by NotesNoteCollection"-method.</p>
		<p>The SavedData-document gets deleted/recreated when you modify the agent. The design document is the same until you delete the agent.</p>
		<p>Example:</p>
		<p>http://www.lotusgeek.com/LotusGeek/LotusGeekBlog.nsf/d6plinks/ROLR-5NU4QB</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=A2FAC16D0F64EF11862575E1003D086F"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_A2FAC16D</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Thu, 25 Jun 2009 11:11:45 -0500</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>"store data in the agent design document"</p>
		<p>Isn't that what I'm doing Peter? If not, please expand on how.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D60E376A1A164C4D862575E00058F757"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_D60E376A</link>
</item><item>
	<title>Reply from Peter Presnell</title>
	<pubDate>Thu, 25 Jun 2009 10:44:49 -0500</pubDate>
	<author>Peter Presnell</author>
	<description><![CDATA[ 
		<p>Another option is to store data in the agent design document itself.  This has the advantage of being accessible from outside the agent and the values can then be included in a view.  I am using this as a way of showing the date/time each agent last ran to those who do not have Designer level access to the database.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=857BF46037546F55862575E000567FDD"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_857BF460</link>
</item><item>
	<title>Reply from MacDork</title>
	<pubDate>Thu, 25 Jun 2009 09:13:52 -0500</pubDate>
	<author>MacDork</author>
	<description><![CDATA[ 
		<p>Ahh.  Delightful.  I was hoping I hadn't been missing something all these years!</p>
		<p>Keep up the great work, btw.  I lurk on your blog and read it regularly through rss.  Thanks for the hard work you put into it.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=BD1FF51E10638D78862575E0004E2C54"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_BD1FF51E</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Thu, 25 Jun 2009 08:20:48 -0500</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Nothing wrong with that approach MacDork. Seems a better one to me. Just not what came to mind when I first implemented this. Always more than one way to skin a ....</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=B9C81B64C17A3A04862575E0004950C6"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_B9C81B64</link>
</item><item>
	<title>Reply from MacDork</title>
	<pubDate>Thu, 25 Jun 2009 07:20:42 -0500</pubDate>
	<author>MacDork</author>
	<description><![CDATA[ 
		<p>What's wrong w/ creating a custom field on the document for it's status?</p>
		<p>-- The absence of the field could indicate that it's a new document.</p>
		<p>-- Setting the field's value to 1 could mean some initial state, like "processed".</p>
		<p>If you then create a view of documents who's "status" field was absent and you then have a handy list of documents on which to run your agent, without the overhead of creating/maintaining a document collection.  When your agent is done processing each document, the last step would be to set the "status" field's value to "1".</p>
		<p>With this approach, it doesn't matter what time the agent last ran, or completed, or even what documents were created while it ran.</p>
		<p>Even if you had 1m documents, that would only be 1MB of data used by the extra field.</p>
		<p>Am I oversimplifying things and missing the point, entirely?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=5A73FF1D5CFC5D5B862575E00043D006"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_5A73FF1D</link>
</item><item>
	<title>Reply from Tommy Valand</title>
	<pubDate>Thu, 25 Jun 2009 06:01:39 -0500</pubDate>
	<author>Tommy Valand</author>
	<description><![CDATA[ 
		<p>I had a little experiment with SavedData in the early days of my blog. This was in regard to caching on the web.</p>
		<p>If anyone reading is considering the same, there are some things you need to consider.</p>
		<p>http://dontpanic82.blogspot.com/2007/10/notessessionsaveddata-great-for-wqo.html</p>
		<p>--</p>
		<p>All I seem to add to you blog lately Jake, are shameful plugs. Sorry about that..</p>
		<p>I'm in the situation you described earlier. I need to find areas  that are interesting to both my readers -and- me. There's new ground to be conquered (XPages), but unless I start working with XPages applications at my job, I'm not going to learn enough to feel it's worth sharing. Here's hoping :)</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=F0A1C22A4C25F4EF862575E0003C9345"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_F0A1C22A</link>
</item><item>
	<title>Reply from Bill Buchan</title>
	<pubDate>Thu, 25 Jun 2009 05:31:33 -0500</pubDate>
	<author>Bill Buchan</author>
	<description><![CDATA[ 
		<p>And even better, if you switch agent profiling on, its saved as a profile document which you can then pick up programmatically. Its in one of my presentations somewhere, easy enough to reverse engineer.</p>
		<p>Handy for harvesting run-times, etc.</p>
		<p>---* Bill</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=9189A4B9005A3CA3862575E00039D1E1"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_9189A4B9</link>
</item><item>
	<title>Reply from Morten Clausen</title>
	<pubDate>Thu, 25 Jun 2009 05:20:14 -0500</pubDate>
	<author>Morten Clausen</author>
	<description><![CDATA[ 
		<p>Be careful about fiddling with the agent data notes. They can go orphan at the drop of a hat (http://www-01.ibm.com/support/docview.wss?rs=0&uid=swg24004199) and cause all kinds of interesting problems. I would use a profile document instead.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=E99A3AB6FB9DBA29862575E00038C85D"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_E99A3AB6</link>
</item><item>
	<title>Reply from Ed Lee</title>
	<pubDate>Thu, 25 Jun 2009 04:39:57 -0500</pubDate>
	<author>Ed Lee</author>
	<description><![CDATA[ 
		<p>Great post Jake and great tip Rob.</p>
		<p>Something I never knew about and will be very handy.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=F8F07AB09C309DD1862575E000351897"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20090625?OpenDocument#DOC_F8F07AB0</link>
</item>

</channel>
</rss> 
