CA Service Management

 View Only
  • 1.  How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 12, 2017 03:30 PM

    I am using browser Firefox to login to service desk. I am using a Firefox add-ons Tab Auto Reload to do auto refreshing at 1 min.Each time it refreshes and I am logout and and directed to the login SDM http://hostname/CAisd/pdmweb.exe.

    How can I make Service Desk Manager refresh this page only without logging out my session.



  • 2.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 12, 2017 04:20 PM

    Hi Guan Hua Chee,

    Unfortunately I dont think there is a way to do that with a refresh add on as that can only refresh via a URL and not any other method or function.  Service Desk pages/forms do have a right-click context menu which has a refresh option and will only refresh the page and not the whole session.  What you would have to do is write some type of custom script that you can use with a browser add on such as "TamperMonkey" (chrome) or "GreaseMonkey" (firefox).  The script would seek out that right click menu option and auto-click it at whatever interval you tell it to.    You will have to be pretty good with javascript to do it, but i think it can be done.  This is not something that we can assist you with from a CA Support standpoint as its outside of our scope, but you are welcome to give it a shot on your own.

    Regards,

    Jon I.



  • 3.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 15, 2017 05:07 AM

    Hi,

     

    Did a search seem SDM Auto refresh seem this might work for me. I might not need to learn another tool although I was trying read up on  Greasemonkey :: Add-ons for Firefox  and  WebExtensions - Mozilla | MDN it seem might take some time for me to pick up in this environment.

     

    Regards

    Guan Hua



  • 4.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Broadcom Employee
    Posted Feb 14, 2017 06:25 AM

    Hi Guan Hua Chee,

    Session timeout could be adjusted, but auto refresh of web pages  not possible out of the box.

    I second Jon's Suggesstion.

    ~Vinod.



  • 5.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session
    Best Answer

    Posted Feb 15, 2017 05:47 PM
      |   view attached

    GuanHua1378

     

    Do you need to refresh the entire page or just refresh the Scoreboard on the analyst home page?  If the latter, then 'web_auto_update' in Options Manager lets you set a timer for refresh.  This is a global change and may affect performance.

     

    If you just want this for yourself or need to refresh a full page, then look at  AutoIt - AutoIt    This is an oldie but goodie when it comes to browser mouse/keystroke automation.  You should be able to configure it to perform the 'View->Refresh' sequence on any windows, including in the background.  I haven't done this in a while but it should be straight forward. Here is a very rough draft which assumes the user is already logged in and then activates the FireFox window and sends the View->Refresh keys.  It looks for the Mozilla class and so ignores other windows from other vendors (at least, I tested against another IE in the background and it passed).

     

     

    J.W.

    Attachment(s)

    zip
    RefreshSDM_FF.au3.zip   306 B 1 version


  • 6.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 20, 2017 03:47 AM

    Hi JW,

     

    This script is targeted on Firefox which version ?

    I am using 51.0.

    Output after running with RefreshSDM_FF.au3 as below.

     

     

    Using Firefox version 31.0 only have the Firefox tool bar drop down.

     

    Regards

    Guan Hua



  • 7.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 20, 2017 10:43 AM

    @GuanHua1378

     

    The script is just looking for the Mozilla class - it is not specific to any Firefox version.

    It is a very rough draft.  The script should work if you are focused on the Service Desk tab.  Otherwise, you will need to modify it and send a mouse-click / key stroke to change to that tab (or any one where the View->Refresh sequence is valid for the screen you want to refresh).

     

    Play around with it!

     

    Regards,

     

    J.W.



  • 8.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 22, 2017 05:40 AM
      |   view attached

    I view the youtube AutoIt Tutorials. Your quick and effective way to learn the language. - YouTube  and modified the script.

    It did call Service Desk Manager refresh function on both Firefox 31.0 and 51.0.

    The only problem is when Alt v command send("!v")  was send to version 51.0, it will detect the request and go to the next node Slidebar wanting for next selection.

    It will not go away until the mouse focus on the browser to do something.

    I just add a mouse click and some repeating function and the web page in both version seem to behave like an after refresh action.

    Tried observing but changing ticket status from open to close and close to open look good on the list view.

    Thanks for the advice. This oldie program is still really a goodie as you commented.

     

    Regards

    Guan Hua

    Attachment(s)

    zip
    RefreshSDM_FF - Reply.zip   734 B 1 version


  • 9.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 22, 2017 08:07 AM

    Interesting, I don't have this issue.  If the FF menu is visible, it is ignored and the content / application menu is activated.  (This is FF ESR 45.7.0)

     

     

    If however, the SDM tab does not have the focus (for example, I selected the New Tab above), then the script would not see SDM as a background and bring it forward but it would not activate the FF menu either.  Since the WinWaitActive was used, then as soon as the SDM tab was focused, the script would see it and perform the View->Refresh sequence.

     

    I think you can manipulate this as you did or go further and rotate through tabs until the one is in focus.  At that point, you can have one browser window with multiple tabs as views and take action in each as needed.

     

    It's been a while (and I don't have time to do it now), but I have used this as a very small and portable tester for function and load..  Once you get a scenario in place, you can then simulate user functions and login, create, modify, and logout.

     

    I'm glad this helps you.

     

    J.W.

     

    #autoit #automation



  • 10.  Re: How can I make Service Desk Manager resfresh this page only without logging out my session

    Posted Feb 19, 2017 12:55 PM

    Sorry to take so long.Just setup my service desk vm from scratch.

    I run the script with AutoIt3_x64.exe saw an icon in the notification icon tray.

    After I minus the file explorer the icon disappear. What do I need to observe ?