[rt-users] RT Assets grouping behaviour

Brett Chambers bchambers at ambertech.com.au
Sun Nov 29 19:20:27 EST 2015


Thanks Armin,

 

That did the trick!

 

I did get a reply off the list too (thanks Tony) advising of
$AssetBasicCustomFieldsOnCreate; I appreciate the link to the Assets_Config
page - can't believe I missed it before.

 

Cheers,

Brett

 

From: Armin Liedtke [mailto:armhamer at uw.edu] 
Sent: Thursday, 26 November 2015 7:07 AM
To: Brett Chambers <bchambers at ambertech.com.au>;
rt-users at lists.bestpractical.com
Subject: RE: [rt-users] RT Assets grouping behaviour

 

Brett,

 

I didn't see any replies to this so I thought I would send this along.

Check out $AssetBasicCustomFieldsOnCreate

https://www.bestpractical.com/docs/assets/1.05/Assets_Config.html

 

Set($AssetBasicCustomFieldsOnCreate, ['Manufacturer', 'Master ID', 'Part
number', 'Serial number', 'Install date'] );

 

Hope that helps!

 

Armin

 

 

From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf
Of Brett Chambers
Sent: Sunday, November 15, 2015 5:23 PM
To: rt-users at lists.bestpractical.com
<mailto:rt-users at lists.bestpractical.com> 
Subject: [rt-users] RT Assets grouping behaviour

 

Hi,

 

I've been experimenting with RT Assets - specifically Asset custom field
grouping
<https://www.bestpractical.com/docs/assets/1.0/RT/Extension/Assets.html#Grou
pings> . I've encountered the following behaviour, which seems like a bug to
me.

 

In RT_SiteConfig.pm, I'm trying to add Asset custom fields to the built in
grouping 'Basics'. Extract below.

 

Set(%CustomFieldGroupings,

    'RT::Ticket' => [

        'Product Details' => ['Manufacturer', 'Product', 'Master ID', 'Part
number', 'Part description', 'Serial Number', '', 'Date of Purchase',
'Purchased from'],

        'Basics'          => ['SLA', 'Fault Type'],

        'People'          => ['Phone number', 'Postcode'],

        'RA Details'      => ['Detail of Fault', 'Warranty Status', 'Pronto
Job #', 'Vendor RA Approval #', 'Vendor RA Order #', 'Vendor shipping
method', 'Incoming Vendor tracking', 'Faulty part received', 'Replacement
part received', 'Replacement part sent', 'Outgoing Vendor tracking'],

        'Support Actions' => ['Return auto-reply'],

    ],

 

    'RT::Asset' => {

        'Basics'        => ['Manufacturer', 'Master ID', 'Part number',
'Serial number', 'Install date'],

    },

);

 

When I go the 'Create Asset' page to create a new asset in the defined Asset
Catalog, my custom fields do not appear under 'Basics'.

However, if I search 'Assets', the Custom Fields appear under the built in
'Basics' group.

 

The behaviour is different to that of creating a new Ticket - custom fields
appear under the 'Basics' built in group for tickets, as you would expect.

 

Furthermore, if I use a custom grouping name instead of the built in
'Basics' (e.g. 'My Asset'), the defined group and the assigned CFs appear in
the 'Create Asset' page.

 

 

Has anyone experienced this behaviour before, or should I log a bug for it?

 

Version info

RT v4.2.12

RT Assets v1.0.5

 

Regards,

Brett

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20151130/662809f8/attachment.htm>


More information about the rt-users mailing list