Re: [rt-users] Defining custom attributes

2008-04-01 Thread Todd Chapman
Too complex. Try: $QueueObj->AddAttribute( Name=> "Etc", Description => "Etc", Content => "Etc"); See RT::Record for more. On Tue, Apr 1, 2008 at 5:53 AM, Carlos Silva <[EMAIL PROTECTED]> wrote: > I am trying to define a custom attribute for queues, but I can't find > what I'm doing wrong, mayb

[rt-users] Defining custom attributes

2008-04-01 Thread Carlos Silva
I am trying to define a custom attribute for queues, but I can't find what I'm doing wrong, maybe some of you can help me. Here's my code: my $at = RT::Attributes->NewItem($session{'CurrentUser'}); $at->Create(ObjectType => "RT::Queue", ObjectId => $QueueObj->Id, Name => "Etc", Description => "