Has anybody had any luck with this?
The only thing I can get to happen is adding a new menu item, but I
cannot capture its click event.


On Tue, Sep 8, 2009 at 2:41 AM, Leonard Neely - FOJ
<lne...@focusonjobs.com> wrote:
> **
>
> Hi Peter,
>
>
>
> I actually tried that (sort of).  I modified the existing [View] menu item
> in config.xml, by adding the action=”CIRV_NOTIFY_AR” attribute.
>
> I couldn’t get that to work either.  Then I realized that on my test system,
> Mid-Tier was at v7.01, so I thought that might have something to do with it
> so I upgraded to 7.1,
>
>
>
> Of course now, my mid-tier didn’t come back up after the upgrade, so I’ll
> have to troubleshoot that first.
>
>
>
> Thanks,
>
>
>
> Leonard
>
>
>
> From: Action Request System discussion list(ARSList)
> [mailto:arsl...@arslist.org] On Behalf Of P Romain ARSlist
> Sent: Monday, September 07, 2009 3:54 PM
> To: arslist@ARSLIST.ORG
> Subject: Re: CI Viewer: How to open AST form rather than Class form
>
>
>
> **
>
> BTW, I only tried this on CMDB 2.1 Patch 1.
>
>
>
> Maybe it was a bug that prevented my tests working.
>
>
>
> Let me know if you try this and get it to work on your Patch 5 system.
>
>
>
> Cheers
>
>
>
> Peter
>
>
>
> ________________________________
>
> From: P Romain ARSlist [mailto:p.romain.arsl...@parsolutions.co.uk]
> Sent: 07 September 2009 23:48
> To: 'arslist@ARSLIST.ORG'
> Subject: RE: CI Viewer: How to open AST form rather than Class form
>
>
>
> Hi Leonard,
>
>
>
> I’ve played around a little in this area but didn’t manage to get the result
> I wanted before needing to move to other things but maybe you can crack it.
>
>
>
> Try editing the default config.xml file for the CI Viewer entry in the Data
> Visualization Definition form.
>
>
>
> Add a new line under the MNU_VIEW line to create a new menu item and get it
> to signal the calling form using action=”CIRV_NOTIFY_AR”
>
>
>
> I could get the menu item added and, using an active link on the CMDB
> Console form firing on event with no Runif to display a message showing the
> $EVENTTYPE$ and $EVENTDATA$ keywords, I could see the instance id of the CI
> selected in the CI Viewer. I couldn’t, however, get the active link to
> trigger when my new menu item was selected.
>
>
>
> If you can get this to work then you should be able to add the workflow to
> the CMDB Console form to open the AST forms.
>
>
>
> Look in the CMDB Developers Guide to get more info about this.
>
>
>
> Don’t forget to re-start Tomcat or whatever other servelet engine you are
> using when you modify the attachment in the Data Visualization Definition
> form.
>
>
>
> Best of luck!
>
>
>
> Cheers
>
>
>
> Peter
>
>
>
>
>
> ________________________________
>
> From: Action Request System discussion list(ARSList)
> [mailto:arsl...@arslist.org] On Behalf Of Leonard Neely - FOJ
> Sent: 07 September 2009 19:23
> To: arslist@ARSLIST.ORG
> Subject: CI Viewer: How to open AST form rather than Class form
>
>
>
> Hello list.
>
>
>
>
>
> Environment:
>
> OS: Sun OS 5.9
>
> DB: Oracle 10.2.0.2.0 - 64bi
>
> AR Server v7.1 (patch 007)
>
> AR Mid Tier v7.1.0.007
>
> Atrium CMDB v2.1.0.005
>
> ITSM v7.03 (patch 007)
>
>
>
> I have a requirement to open the related “AST…” form rather than the “BMC…”
> class form when a user right clicks on a object within the CI Viewer and
> selects [View] from the menu to open the CI.  The “AST…” form should only be
> displayed if launched from within the CI Viewer.  The normal “BMC…” class
> form should be opened when interacting directly with the CMDB.
>
>
>
> Here’s what I have so far:
>
> 1.  I added a new (Display Only) attribute to “BaseElement” named
> “z1D_CI_Action”
>
> 2.  On “Window Open”, I need to set this field with a value of “CI_VIEWER”
> ONLY if the form was opened from within the CI Viewer.
>
> a.  This is where the problem exist.  I cannot figure out how to identify
> that the form was opened via the CI Viewer.
>
> b.  With Active Link logging on, the first thing that shows up in the log,
> is the “On Window Open” condition, which is the same regardless to if the
> form was open from the CI Viewer or direct interaction with the CMDB.
>
> 3.  If I set the flag field with “CI_VIEWER”, I can then have AL workflow
> perform a lookup in “SHR:SchemaNames” to get the AST form name, then open
> that form.  Otherwise, the normal BMC class form is opened.
>
>
>
> Currently, the flag field is always set, so the AST form is always opened
> (which is not what we want). Has anyone successfully implemented such a
> customization?  Or, does anyone know how I can capture the menu selection
> event from the CI Viewer?
>
>
>
> Any insight would be greatly appreciated.
>
>
>
> Regards,
>
>
>
> Leonard Neely
>
> _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
> Are"_ _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the
> Answers Are"_
>
> _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
> Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to