Re: [rt-users] Limit users by a non-empty customfield

2010-06-29 Thread Wolfram Huettermann

Kevin Falcone wrote:

On Mon, Jun 28, 2010 at 12:05:13PM +0200, Wolfram Huettermann wrote:
  

   Hello,

   I have got a user customfield called  MyComment and I want to filter all 
users where this
   customfield is not empty. In my case,  it is of freefrom type. The function 
LimitToCustomField
   does not work properly if I use

   $User-LimiToCostumField(FIELD = MyComment,
  OPERATOR = !=,
   VALUE = );



I assume you meant LimitCustomField, and that doesn't take a FIELD
argument

-kevin
  




Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Yes, you are totally right.

But even this code:

$User-LimiToCostumField(CUSTOMFIELD = MyComment,
 OPERATOR = !=,
  VALUE = );


does not work.

Greetings,

Wolfram



Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Limit users by a non-empty customfield

2010-06-29 Thread Kevin Falcone
On Tue, Jun 29, 2010 at 09:29:08AM +0200, Wolfram Huettermann wrote:
 Kevin Falcone wrote:
 On Mon, Jun 28, 2010 at 12:05:13PM +0200, Wolfram Huettermann wrote:
Hello,
 
I have got a user customfield called  MyComment and I want to filter all 
  users where this
customfield is not empty. In my case,  it is of freefrom type. The 
  function LimitToCustomField
does not work properly if I use
 
$User-LimiToCostumField(FIELD = MyComment,
   OPERATOR = !=,
VALUE = );
 
 I assume you meant LimitCustomField, and that doesn't take a FIELD
 argument
 
 Yes, you are totally right.
 
 But even this code:
 
 $User-LimiToCostumField(CUSTOMFIELD = MyComment,
  OPERATOR = !=,
   VALUE = );
 

You're still using the wrong method name.  There is no method
LimitToCustomField on Users objects.

-kevin


pgpmK0jDNRRPz.pgp
Description: PGP signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Limit users by a non-empty customfield

2010-06-28 Thread Wolfram Huettermann

Hello,

I have got a user customfield called MyComment and I want to filter all 
users where this customfield is not empty. In my case,  it is of 
freefrom type. The function LimitToCustomField does not work properly if 
I use


$User-LimiToCostumField(FIELD = MyComment,
  OPERATOR = !=,
   VALUE = );


Has anybody got a hint?

Greetings,

Wolfram


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Limit users by a non-empty customfield

2010-06-28 Thread Kevin Falcone
On Mon, Jun 28, 2010 at 12:05:13PM +0200, Wolfram Huettermann wrote:
Hello,
 
I have got a user customfield called  MyComment and I want to filter all 
 users where this
customfield is not empty. In my case,  it is of freefrom type. The 
 function LimitToCustomField
does not work properly if I use
 
$User-LimiToCostumField(FIELD = MyComment,
   OPERATOR = !=,
VALUE = );

I assume you meant LimitCustomField, and that doesn't take a FIELD
argument

-kevin


pgpCSnqFUR88q.pgp
Description: PGP signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com