Search found 3 matches

by MDIeragland
05 Jan 2013, 00:38
Forum: Help
Topic: Columns in CMBD overview
Replies: 18
Views: 19585

Re: Columns in CMBD overview

Been ask to recap what was done. Put altogether here are the 4 steps to add Owner to the CMDB Overview. (works for Search results too)

1) ITSMConfigItemOverviewSmall.pm Module - retrieve ConfigItem with all XML data

# get config item data
my $ConfigItem = $Self->{ConfigItemObject}->VersionGet ...
by MDIeragland
07 Dec 2012, 22:59
Forum: Help
Topic: Columns in CMBD overview
Replies: 18
Views: 19585

Re: Columns in CMBD overview

Fixed. Though my perl is weak so someone else might be able to show a better way to get to the data in the array/hash.

Finishing my example from earlier, this is what I ended up with.

$ConfigItem -> {Owner} = $ConfigItem -> {'XMLData'}[1] -> {'Version'}[1] -> {'Owner'}[1] -> {'Content'};

It ...
by MDIeragland
04 Dec 2012, 01:14
Forum: Help
Topic: Columns in CMBD overview
Replies: 18
Views: 19585

Re: Columns in CMBD overview


2) Parse XML and retrieve needed values from a config item (not a helper here, it depends on you, if you want custom data retrieval or it is enough with standart Framework parse)

3) Save retrieved value in $ConfigItem variable before it is copied into %Data hash, like
$ConfigItem ...