I'm working on a management tool voor GW admins/support.


I try to understand the filters of rules. I do hava a few questions.


x-field

Is there a way to reteive the x-fields a user has defined with the SOAP-API?

How can you add a new x-field for a user in SOAP?


Attachment List

I have some difficulties to understand the filter for attachment list.



I know it is not a useful filter but it will make clear my problem.


In GW 14.0.1 the filter I get is:

<filter>
<element xsi:type="gwt:FilterGroup">
<op>or</op>
<element xsi:type="gwt:FilterEntry"><op>isNotOf</op><field>89</field><value>64</value></element>
<element xsi:type="gwt:FilterEntry"><op>isNotOf</op><field>89</field><value>64</value></element>
</element>
</filter>


I suppose field 89 is the attachment list. Is there a way to translate this to a "readable" fieldname?

I think the result is wrong, both conditions give the same result.

I have not yet upgraded the system to 14.0.2, will test that this week.


In 14.2.0 (R2) beta release I get:

<filter>
<element xsi:type="FilterGroup">

<op>or</op>
<element xsi:type="FilterEntry"><op>bitCare</op><field>89</field><value>64</value><mask/></element>
<element xsi:type="FilterEntry"><op>bitCare</op><field>89</field><value>64</value><mask/></element>
<element xsi:type="FilterEntry"><op>bitCare</op><field>89</field><value>0</value><mask/></element>
<element xsi:type="FilterEntry"><op>bitCare</op><field>89</field><value>64</value><mask/></element>

</element>
</filter>


For every line there are two lines in the filter, depending on the condition the value is 0 or <>0

Is this the correct info?


Hans