Re: CI Viewer: How to open AST form rather than Class form

2009-10-15 Thread Frank Caruso
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


Re: CI Viewer: How to open AST form rather than Class form

2009-10-15 Thread Nichols, Wesley D CTR USAF ABW 72 ABW/SCOOA
If I understand the issue correctly you would need an active link on the form 
which contains the CI View that fires on event. 

If your config.xml file contains:

menuitem id=MNU_ID1 textid=48173 text=item1 action=CIRV_NOTIFY_AR/

When you click this item in the menu it will throw the event MNU_ID1.

If you have the activelink configured to fire for this event it should perform 
any action you would like.

Here is a link to the developer guide for 2.1.

http://documents.bmc.com/supportu/documents/00/88/70088/70088.pdf

Starting at Page 70 it describes this process fairly well.

Please let me know if I miss understood what you were asking.

Thanks,
Wes 



-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Frank Caruso
Sent: Thursday, October 15, 2009 8:46 AM
To: arslist@ARSLIST.ORG
Subject: Re: CI Viewer: How to open AST form rather than Class form

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

Re: CI Viewer: How to open AST form rather than Class form

2009-10-15 Thread Frank Caruso
That helped a little bit. I was using the wrong action type.
However, now I get a Javascript error about a missing ; somewhere. I
have triple checked my config file and can see nothing wrong. The line
reads:

menuitem id=MNU_HELP textid=48173 text=Help action=CIRV_NOTIFY_AR/

and comes directly after the MNU_VIEW line


On Thu, Oct 15, 2009 at 5:46 PM, Nichols, Wesley D CTR USAF ABW 72
ABW/SCOOA wesley.nichols@tinker.af.mil wrote:
 If I understand the issue correctly you would need an active link on the form 
 which contains the CI View that fires on event.

 If your config.xml file contains:

 menuitem id=MNU_ID1 textid=48173 text=item1 action=CIRV_NOTIFY_AR/

 When you click this item in the menu it will throw the event MNU_ID1.

 If you have the activelink configured to fire for this event it should 
 perform any action you would like.

 Here is a link to the developer guide for 2.1.

 http://documents.bmc.com/supportu/documents/00/88/70088/70088.pdf

 Starting at Page 70 it describes this process fairly well.

 Please let me know if I miss understood what you were asking.

 Thanks,
 Wes



 -Original Message-
 From: Action Request System discussion list(ARSList) 
 [mailto:arsl...@arslist.org] On Behalf Of Frank Caruso
 Sent: Thursday, October 15, 2009 8:46 AM
 To: arslist@ARSLIST.ORG
 Subject: Re: CI Viewer: How to open AST form rather than Class form

 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

Re: CI Viewer: How to open AST form rather than Class form

2009-10-15 Thread Nichols, Wesley D CTR USAF ABW 72 ABW/SCOOA
I'm not real sure what would cause that.  Does the javascript debugger in the 
browser give any hints or clues?

Does the error only occur when you click the menu option or on page load, etc...


-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Frank Caruso
Sent: Thursday, October 15, 2009 2:32 PM
To: arslist@ARSLIST.ORG
Subject: Re: CI Viewer: How to open AST form rather than Class form

That helped a little bit. I was using the wrong action type.
However, now I get a Javascript error about a missing ; somewhere. I
have triple checked my config file and can see nothing wrong. The line
reads:

menuitem id=MNU_HELP textid=48173 text=Help action=CIRV_NOTIFY_AR/

and comes directly after the MNU_VIEW line


On Thu, Oct 15, 2009 at 5:46 PM, Nichols, Wesley D CTR USAF ABW 72
ABW/SCOOA wesley.nichols@tinker.af.mil wrote:
 If I understand the issue correctly you would need an active link on the form 
 which contains the CI View that fires on event.

 If your config.xml file contains:

 menuitem id=MNU_ID1 textid=48173 text=item1 action=CIRV_NOTIFY_AR/

 When you click this item in the menu it will throw the event MNU_ID1.

 If you have the activelink configured to fire for this event it should 
 perform any action you would like.

 Here is a link to the developer guide for 2.1.

 http://documents.bmc.com/supportu/documents/00/88/70088/70088.pdf

 Starting at Page 70 it describes this process fairly well.

 Please let me know if I miss understood what you were asking.

 Thanks,
 Wes



 -Original Message-
 From: Action Request System discussion list(ARSList) 
 [mailto:arsl...@arslist.org] On Behalf Of Frank Caruso
 Sent: Thursday, October 15, 2009 8:46 AM
 To: arslist@ARSLIST.ORG
 Subject: Re: CI Viewer: How to open AST form rather than Class form

 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

Re: CI Viewer: How to open AST form rather than Class form

2009-09-08 Thread Peter Romain
Hi Leonard,

Another alternative would be to add a federated link to access the AST
form in the federation manager.

The downside would be that the users would need to select the federated
link via the launch in context sub menu which is not as intuitive as
selecting the View option directly.

Cheers

Peter


 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_


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

CI Viewer: How to open AST form rather than Class form

2009-09-07 Thread Leonard Neely - FOJ
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


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


Re: CI Viewer: How to open AST form rather than Class form

2009-09-07 Thread P Romain ARSlist
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_

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


Re: CI Viewer: How to open AST form rather than Class form

2009-09-07 Thread P Romain ARSlist
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_

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


Re: CI Viewer: How to open AST form rather than Class form

2009-09-07 Thread Leonard Neely - FOJ
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_


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