CA Service Management

 View Only
Expand all | Collapse all

Create Reload Button

Jump to Best Answer
  • 1.  Create Reload Button

    Posted Feb 25, 2016 02:21 AM

    Hello,

    I want to create reload button. How can I do ?

    I used to refresh button but I need reload button for menubar's refresh.

     

    For example, Is it possible Refresh button code's changing for reload button ?

    ***

    ImgBtnCreate("btnRefresh", "Refresh", "refreshForm()", true, 80);

    ***

    Thanks & Regards

    Ozge



  • 2.  Re: Create Reload Button

    Posted Feb 25, 2016 05:16 AM

    Hi Ozge,

    Can you explain more what you are trying to archive?

    What will be the point to reload the menu? as the menu is already displaying in context.

    Trying to understand for better help

    /J



  • 3.  Re: Create Reload Button

    Posted Feb 25, 2016 07:46 AM

    Hi jmayer,

    I want reload screen detail_in and detail_cr because firstly one activity at the end of  open the other activities.

    So I must reload for see other activity.

    Because menubar don't refresh, and I don't want closed  - opened on ticket.

    And I can use only reload for solution.

     

    First Screen (Before Activity)

    After Reload Screen (After Activity + Reload)



  • 4.  Re: Create Reload Button

    Posted Feb 25, 2016 09:12 AM

    ok understand now and not sure on what release you are and how you can easily accomplish that  but if your business requirement here is to enforce your process I will better recommend to use workflow or status transition.

     

    Hope this help

    /J



  • 5.  Re: Create Reload Button

    Posted Feb 26, 2016 02:11 AM

    Hi jmayer,

    I used to 12.9 version for Ca Service Desk. I don't know any other way for that.

    If I can't, The Users will have to close- open it and I don't want to do.

    So, How can I solution for otomatic menubar reload?

     

    Thanks & Regards

    Ozge



  • 6.  Re: Create Reload Button
    Best Answer

    Posted Feb 26, 2016 03:53 AM

    Hi,

    You can automaticaly refresh menu bar everytime you perform activity, all you need to do is to place  setup_for_menubar('mod'); call to function unloadActions() in detail_in.htmpl

     

    e.g.

    function unloadActions()

    {

       if ( _dtl.edit )

       {

          if (typeof ahdframe != "undefined" && typeof ahdframe.currentAction != "undefined" && ahdframe.currentAction == ACTN_COMPLETE)

          {

             cancel_window();

          }

          else

          {

             unload_check();

          }

       }

       cancel_any_lrel_update();

       setup_for_menubar('mod');

    }



  • 7.  Re: Create Reload Button

    Posted Feb 26, 2016 04:28 AM

    Thanks Gutis

    I was looking into it too and sow that function but was not sure what parameters to pass.

    Helpful either if I don't really understand the business approach of Ozge there but that another discussion

    /J



  • 8.  Re: Create Reload Button

    Posted Feb 26, 2016 04:44 AM

    Usualy we are also implementing this kind of contextual activities for customers. We use status transitions to enforce process and contextual activities to provide better user expirience. Contextual activities allow to provide all fields that are needed in particular process step in one form. This is especialy helpfull when implementing first process, tipicaly incident management, for the client.



  • 9.  Re: Create Reload Button

    Posted Feb 26, 2016 04:50 AM

    I see make more sense now

    Any better UX is a go for me as this is the main fall back of SDM really powerfull but old fashion interface

    Really looking forward for the new UX that CA is working on

     

    /J



  • 10.  Re: Create Reload Button

    Posted Feb 29, 2016 03:30 AM

    Hi Gutis,

    Thank you for your help. Change the function worked

     

    Thanks & Regards

    Ozge



  • 11.  Re: Create Reload Button

    Posted Feb 26, 2016 04:57 AM

    If this interface will have the same configuration and customization possibilities as USS, than i would prefer to stick to the old one. And one more interface in addition to existing 4 or 5 interfaces is bit to much.