OpenNTF.org - Domgle
DomgleOpenDocument[/projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: Domgle (Managed by Julien Bottemanne)
Actions:


Subject
 Bug and possible fix in search agent
Categories
 Feedback
Posted by
 Markus Jungbluth on 12/21/2006 at 05:00 AM
Details

Hi,
I just tested Domgle and I'm quit expressed with the result. But I ran into problems when using the search on two databases where one database doesn't have the fields I'm requesting.
It seems that if the search agent produce different result sets with a different number of columns. Only the database which has the field delivers results.

here's a little change to the agent which takes care of the problems. You might wan't to implement this into your offical version as it takes better care of missing values:


'Get Field asked
For j% = 1 To 5
fvalue$ =""
If docFound.HasItem(AgentArgs("AS_Field_Name_"+Cstr(j%))) Then
fvalue$ = docFound.GetItemValue(AgentArgs("AS_Field_Name_"+Cstr(j%)))(0)
End If
Print |<entrydata><![CDATA[|+fvalue$+|]]></entrydata>|
Next
Modification history
Entered 21-Dec-2006 5:00 by Markus Jungbluth. Last Modified <none> by <none>.
Feedback

Hide details for Hi,Hi,
I just tested Domgle and I'm qu... (Markus Jungblut... on 12/21/2006 05:00:57 AM )
. . Done in 1.2 (Julien Botteman... on 02/06/2007 09:35:34 AM )
. . Thanks ! (Julien Botteman... on 12/21/2006 07:16:25 AM )
Check out other projects
Switch to project:


Anonymous