CONTRIB: Display custom fields in User Prefs

Hello!

Just added to the wiki:

http://wiki.bestpractical.com/index.cgi?DisplayCustomFieldsInUserPrefs

If someone transplants this into a 3.4.x (or 3.2.x) instance, please
post (to the wiki or mailing list) the results of:

cd /path/to/rt && diff -U4 {share,local}/html/User/Prefs.html

Thanks!

–j
Jim Meyer, Geek at Large purp@acm.org

Hello!

Just added to the wiki:

Request Tracker Wiki

If someone transplants this into a 3.4.x (or 3.2.x) instance, please
post (to the wiki or mailing list) the results of:

cd /path/to/rt && diff -U4 {share,local}/html/User/Prefs.html

Thanks!

Interesting… This is already working in 3.4.4

-Todd

At Monday 11/28/2005 08:50 PM, Jim Meyer wrote:

Hello!

Just added to the wiki:

Request Tracker Wiki

What’s the interface for initially setting a custom field for a user? I’ve
added a ‘user’ custom field but it does not appear on the User config
screen, because it uses this:

my $CFs = $UserObj->CustomFields;

and there are no custom fields for this user yet.

I have the same question about group custom fields.

Thanks,
Steve

At Monday 11/28/2005 08:50 PM, Jim Meyer wrote:

Hello!

Just added to the wiki:

Request Tracker Wiki

What’s the interface for initially setting a custom field for a user? I’ve
added a ‘user’ custom field but it does not appear on the User config
screen, because it uses this:

my $CFs = $UserObj->CustomFields;

and there are no custom fields for this user yet.

I have the same question about group custom fields.

There is an annoyance that you have to set the custom field
to be a global custom field. Since all user custom fields
are global this should be fixed in RT.

-Todd

and there are no custom fields for this user yet.

I have the same question about group custom fields.

There is an annoyance that you have to set the custom field
to be a global custom field. Since all user custom fields
are global this should be fixed in RT.

No, all current user custom fields are global. There’s nothing about
the implementation that requires that.

At Tuesday 11/29/2005 02:38 PM, Todd Chapman wrote:>On Tue, Nov 29, 2005 at 01:50:50PM -0500, Stephen Turner wrote:

What’s the interface for initially setting a custom field for a user?

There is an annoyance that you have to set the custom field
to be a global custom field. Since all user custom fields
are global this should be fixed in RT.

-Todd

Thanks Todd - that did the trick.

Steve

No, all current user custom fields are global. There’s nothing about
the implementation that requires that.

What can they be “applied” to other than global? For the time
being shouldn’t the web interface create them as global?

Last time I tried, you could actually apply a custom field to an
individual user. Why you’d want to, I have no idea. But there’s always
somebody who does.

and there are no custom fields for this user yet.

I have the same question about group custom fields.

There is an annoyance that you have to set the custom field
to be a global custom field. Since all user custom fields
are global this should be fixed in RT.

No, all current user custom fields are global. There’s nothing about
the implementation that requires that.

What can they be “applied” to other than global? For the time
being shouldn’t the web interface create them as global?

-Todd

Last time I tried, you could actually apply a custom field to an
individual user. Why you’d want to, I have no idea. But there’s always
somebody who does.

Oh. My.

mind reels

–j
Jim Meyer, Geek at Large purp@acm.org

At Tuesday 11/29/2005 02:19 PM, Jesse Vincent wrote:

Last time I tried, you could actually apply a custom field to an
individual user. Why you’d want to, I have no idea. But there’s always
somebody who does.

I can see why you might want to apply a field to an individual group (or
set of groups) though…

Incidentally, I was wondering why there are no ‘queue’ custom fields,
similar to group & user CFs?

Thanks,
Steve

At Tuesday 11/29/2005 02:19 PM, Jesse Vincent wrote:

Last time I tried, you could actually apply a custom field to an
individual user. Why you’d want to, I have no idea. But there’s always
somebody who does.

I can see why you might want to apply a field to an individual group (or
set of groups) though…

Incidentally, I was wondering why there are no ‘queue’ custom fields,
similar to group & user CFs?

Because nobody has written the code?

No, all current user custom fields are global. There’s nothing about
the implementation that requires that.

What can they be “applied” to other than global? For the time
being shouldn’t the web interface create them as global?

Last time I tried, you could actually apply a custom field to an
individual user. Why you’d want to, I have no idea. But there’s always
somebody who does.

Not it the web interface for 3.4.4.

Seems like a better application of attributes…