Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



How to add Record Image to Drilldown

From: therron (2015-10-14 15:43)


Hi all,

Still chipping away at migrating to 7.6, stopping along the way to implement new "cool" stuff to impress people for when I unveil it.

The current feature I want to add is: For each Location, I'm going to take a floor plan drawing, highlight the area on the drawing that matches the LOCATIONS.LOCATION value, save that as its own file, and add that as the Record Image for the Locations app. That's working fine.

Then I want to put that Record Image somewhere in the Locations Drilldown box. The idea being that when the user clicks on a node of the drilldown tree, the Record Image will appear, so they can see, visually, whether or not they are choosing the correct location.

It's not working for me, at least not yet. I exported LIBRARY.XML, and in the Drilldown dialog I moved the SiteID attribute to be below the Status, and in the now-empty Section Control I added a RecordImage control. (And imported LIBRARY.XML.) Now if I go to the Drilldown, I can click any node on the tree, and the data above (Location, Description, Status, Site, Asset in Location) all change, but the Record Image is just the default gray "no picture" picture. Any ideas?

Travis Herron


From: Adam Davis (2015-10-14 18:11)

Travis,
That's a neat enhancement idea for the Drilldown.
Since RecordImage assumes it's looking at the current record, it's probably
trying to show you an image for the DRILLDOWN object that's actually
associated to that section. Try forcing a section to be owned by the
actual LOCATION like this:
<datasrc id="drilldown_location_datasrc" relationship="LOCATIONS"/>
<section datasrc="drilldown_location_datasrc"
id="drilldown_location_section">
<recordimage height="120" id="drilldown_recordimage" label="Click to see
image in its actual size" width="120"/>
</section>
Thanks,
Adam Davis
Asset Partners
On Wed, Oct 14, 2015 at 5:43 PM, therron@pcci.edu [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
>
> Hi all,
>
>
> Still chipping away at migrating to 7.6, stopping along the way to
> implement new "cool" stuff to impress people for when I unveil it.
>
>
> The current feature I want to add is: For each Location, I'm going to take
> a floor plan drawing, highlight the area on the drawing that matches the
> LOCATIONS.LOCATION value, save that as its own file, and add that as the
> Record Image for the Locations app. That's working fine.
>
>
> Then I want to put that Record Image somewhere in the Locations Drilldown
> box. The idea being that when the user clicks on a node of the drilldown
> tree, the Record Image will appear, so they can see, visually, whether or
> not they are choosing the correct location.
>
>
> It's not working for me, at least not yet. I exported LIBRARY.XML, and in
> the Drilldown dialog I moved the SiteID attribute to be below the Status,
> and in the now-empty Section Control I added a RecordImage control. (And
> imported LIBRARY.XML.) Now if I go to the Drilldown, I can click any node
> on the tree, and the data above (Location, Description, Status, Site, Asset
> in Location) all change, but the Record Image is just the default gray "no
> picture" picture. Any ideas?
>
>
> Travis Herron
>
>
>
>
>


From: therron (2015-10-15 06:17)

Success! Thanks Adam!

Travis Herron


From: maximal (2015-10-15 11:00)

Stealing that idea and solution.