Skip to main content
Participant
January 8, 2009
Question

How to filter Groupwise records using custom fields?

  • January 8, 2009
  • 1 reply
  • 452 views
I am consuming the Groupwise web service and want to search the appointments based on value provided for a custom field. All the other searches (date, subject, message) are working fine. The only thing that does not work is search on the custom field. If I search on the Custom field the service returns all records.

Following is the excerpt of the code. CFGWID is the field that is sent to groupwise with an application generated value. I am able to query the field but cannot filter appointments using the CFGWID field.

<filter>
<elements type="FilterGroup">
<element type="FilterEntry">
<op xsi:type="xsd:string">eq</op>
<custom xsi:type="xsd:custom">cfgwid</custom>
<value xsi:type="xsd:string">#arguments.AppMsgID#</value>
</element>
</elements>
</filter>

At this time there is only one entry in this filter. Any ideas?
This topic has been closed for replies.

1 reply

Inspiring
January 8, 2009
PS0510 wrote:
> I am consuming the Groupwise web service

First of all, "Groupwise web service"!? Please tell me more about this.
I use Groupwise here and this sounds like an interesting feature!

> and want to search the appointments based on value provided for a custom field.

How are you searching the custom field? Are you accounting for the name
space xsi: and xsd: values? There is a bit of quirkiness with CFML xml
functionality when working with name spaces. I've always been able to
work out these issues with a bit of Google searching.

PS0510Author
Participant
January 9, 2009
Ian,

Yes, this is a web service provided by Novell. You can find the information at http://developer.novell.com/documentation/gwsoap/index.html.

And yes I am using the xsi: namespace and xsd: values as you see in the code snippet. The code works perfectly fine with other fields but it does not filter based on the custom field.

Thanks for your response.