• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to filter Groupwise records using custom fields?

New Here ,
Jan 08, 2009 Jan 08, 2009

Copy link to clipboard

Copied

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?
TOPICS
Advanced techniques

Views

381

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2009 Jan 08, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2009 Jan 09, 2009

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation