General Technical Discussions for Service

Get Involved. Join the Conversation.

Topic

    Pushkar Bisht
    How to create a workspace ribbon addin using Agent Browser...
    Topic posted May 16, 2018 by Pushkar Bisht 
    100 Views, 5 Comments
    Title:
    How to create a workspace ribbon addin using Agent Browser UI Extensibility Framework for Agent...
    Content:

    Hi All,

    I have been going through the following documentation to create UI Extensions in Agent Browser UI.

    http://documentation.custhelp.com/euf/assets/devdocs/unversioned/BUI_Extensibility/index.html

    I tried creating few extensions (addins) but i didn't found any Interface or Class or function using which i can create a Workspace Ribbon Addin. I tried "registerWorkspaceExtension" but here i was only able to create the component which can be added to the workspace, which is not something we can add to the ribbon.

    Please help me.

     

    Many Thanks,

    Pushkar 

    Comment

     

    • Anuj Behl

      Hi Pushkar,



      You might be getting confused between the .NET add-ins (work on thick .net desktop console) and BUI extensions (for web based browser agent). Add-Ins won't work on BUI interface and BUI extensions don't work on the desktop console.



      If you are looking for a workspace ribbon extension, it cannot be possible since there's no ribbon in BUI. You can only add the component to workspace.  Take a look at extensionbar type BUI extension, and an example implementing this. Maybe it will give you some ideas.



      -Anuj

    • Pushkar Bisht

      Hi Anuj,

      Thanks for your views.

      I am clear with the difference between those two. The already saw the link which you have mentioned. 

      There is a horizontal bar on the top of the workspace in BUI which has all the buttons which we use to include to the ribbon while designing workspace.

      We do workspace designing on desktop console so we get the option to modify ribbon items there and it gets reflect on BUI.

      I attached a image which refers this. I want to add a new button over there.

      Will it be possible.

       

      Thanks,

      Pushkar

       

       

        

    • Anuj Behl

      I believe, this is not possible yet. Hopefully, we might see something in future releases.

      Till then, you could utilize other types of extensions, try getting a reference to workspace record from, maybe, extensionbar or globalheader extension. If that works, you should have something similar to what you want. Try playing with tabChange event and show/hide the extensionbar component only when your preferred workspace is in focus. I haven't tried any of this, these are just ideas to create a workaround.

      Hope it helps.

      -Anuj

    • Pushkar Bisht

      Thanks Anuj

      I decided to put all those addins at a particular location inside the workspace. 

      It will be like similar to ribbon (Some Horizontal Bar), but it will be inside workspace.

      Thanks,

      Pushkar

    • Anuj Behl

      That's a great solution. Do share a screenshot once it's ready. yes