Skip to Content
avatar image
Former Member

Add new button in Interaction Center toolbar. Define new action

Hi experts,

I need to add new button in Interaction Center toolbar. This new button already created but the problem is the action for this new button.

I checked the class CL_CRM_MCM_SESSION method ACTION_HANDLER, but It´s possible to add new action in this method?

How to redefine this class only for my requirements?

Thanks in advance!

Kind regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 25, 2017 at 10:06 PM

    Hi Schez,

    I'm pretty sure you've already checked my blog IC Toolbar z-button handling since I saw your question initially appeared there. I would suggest following the approach I described there. But if you're sure you need to enhance CL_CRM_MCM_SESSION->ACTION_HANDLER then, again as mentioned in my blog at the end of it (the piece which describes how to prevent a warning message), the only way I can see right now is to do an implicit enhancement there and do your logic right withing IF action CP 'z*' OR action CP 'Z*' statement before RETURN in my code example.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Schez,

      I don't see any issues, why you wouldn't be able to call a popup with the approach proposed initially in my blog. There I explained how to execute "popup to confirm". But there is nothing stopping you to implement any other popup required, e.g. the one required in your case to show agents who are online (am I wrong you need such a list?).