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.
We have a need in Maximo 6.2.6 to have a link/button/etc on say the asset screen that would take the asset's lat long and build a dynamic url to say google maps (we really would use our own mapping site but if google would work....)
I have created a custom control.jsp file called dynhyper and it builds an html anchor tag. It even gets the url dynamically for the first asset that is brought up and displays google map with the right lat long when clicked.
But if you change the asset number, the control does not dynamically build the url with the next asset's lat long. The url never updates unless I click Refresh on the new asset. Then it does update correctly.
Anyone familiar with controls in Maximo 6? What makes the control automatically refresh when a new asset is displayed?
Any help would be appreciated.
Not sure about version 6, in version 7 "Launch In Context" works for the
same purpose..
On Fri, Sep 2, 2011 at 12:19 PM, columbiagastransmission <
rburns@nisource.com> wrote:
> **
>
>
> We have a need in Maximo 6.2.6 to have a link/button/etc on say the asset
> screen that would take the asset's lat long and build a dynamic url to say
> google maps (we really would use our own mapping site but if google would
> work....)
>
> I have created a custom control.jsp file called dynhyper and it builds an
> html anchor tag. It even gets the url dynamically for the first asset that
> is brought up and displays google map with the right lat long when clicked.
>
> But if you change the asset number, the control does not dynamically build
> the url with the next asset's lat long. The url never updates unless I click
> Refresh on the new asset. Then it does update correctly.
>
> Anyone familiar with controls in Maximo 6? What makes the control
> automatically refresh when a new asset is displayed?
>
> Any help would be appreciated.
>
>
>
--
Thanks,
Vasu
I have done this before using Attached Documents... you can create a URL
attachment instead of a real file attachment and launch that. Basically
you'd create a DOCLINK and DOCINFO entry then launch from the paperclip.
On Fri, Sep 2, 2011 at 1:29 PM, Vasu Kiran Chilukuri
<vasukiranch@gmail.com>wrote:
> **
>
>
> Not sure about version 6, in version 7 "Launch In Context" works for the
> same purpose..
>
> On Fri, Sep 2, 2011 at 12:19 PM, columbiagastransmission <
> rburns@nisource.com> wrote:
>
> > **
> >
> >
> > We have a need in Maximo 6.2.6 to have a link/button/etc on say the asset
> > screen that would take the asset's lat long and build a dynamic url to
> say
> > google maps (we really would use our own mapping site but if google would
> > work....)
> >
> > I have created a custom control.jsp file called dynhyper and it builds an
> > html anchor tag. It even gets the url dynamically for the first asset
> that
> > is brought up and displays google map with the right lat long when
> clicked.
> >
> > But if you change the asset number, the control does not dynamically
> build
> > the url with the next asset's lat long. The url never updates unless I
> click
> > Refresh on the new asset. Then it does update correctly.
> >
> > Anyone familiar with controls in Maximo 6? What makes the control
> > automatically refresh when a new asset is displayed?
> >
> > Any help would be appreciated.
> >
> >
> >
>
> --
> Thanks,
> Vasu
>
>
>
>
>