Genesys Cloud - Main

 View Only


Discussion Thread View
  • 1.  Markdown function in the Agent Script is NOT working

    Posted 07-02-2020 18:42
    Edited by Antwuan Rencher 13 days ago
    Hello,

    I found that the Markdown function in the Agent Script is not working for some scenarios.

    Like the code below

    <details>
    <summary>Click to expand!</summary>

    Some Content Here
    </details>

    It should be viewed like this

    ▶ Click to expand!

    and after you click on it, it expands like this

    ▼ Click to expand!
         Some Content Here

    However, in the Genesys Cloud, it is not working and I found it is because of <p> </p> automatically generated in the HTML

    Genesys Cloud Markdown code:

    Genesys Cloud Preview:

    HTML codes:

    Please anyone can fix this problem?

    Regards,

    Charles

    #Unsure/Other

    ------------------------------
    Charles Duan
    CVT (Global) Pty Ltd
    ------------------------------


  • 2.  RE: Markdown function in the Agent Script is NOT working

    Posted 07-07-2020 01:20
    While this looks cool and useful, I fear that Genesys did not exactly build in all the Markdown Syntax there is and they have a very different format than the standard out there.  I tried many things, but got very different results.  The sites they reference don't have the Details/Summary examples you have.  I would say open a ticket and see if you can find ANYONE that has even heard of this much less used it at Genesys.  I'll keep playing and see what I get.

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Markdown function in the Agent Script is NOT working

    GENESYS
    Posted 07-08-2020 09:01
    Hi Charles,

    The reason this is not working is because with the markdown component we do not process html at all. The markdown component sees this html and converts to text. We at this time do not support any form of html going into the markdown component because it opens the door for security issues. We will look to update the documentation to say that html is not supported in the markdown component.

    Thanks,

    ------------------------------
    joshua frederick
    Genesys - Employees
    ------------------------------



  • 4.  RE: Markdown function in the Agent Script is NOT working

    Posted 06-12-2024 13:44
    Edited by Antwuan Rencher 13 days ago

    Since the component doesn't support HTML tags, is there a way to do row merge or column merge or multiple lines in a cell? What about putting a list in one cell? Thanks.

    Best Regards,

    Vincent



    ------------------------------
    Vincent Cheng
    Blue Cross and Blue Shield of Florida Inc.
    ------------------------------



  • 5.  RE: Markdown function in the Agent Script is NOT working

    Top 25 Contributor
    Posted 06-12-2024 17:23

    A different way to achieve this, is to just use the visibility controls in the agent script.

    And have a button or image or checkbox, where on click it changes the visibility of the show Some Content Here section/panel to true/false. Yes a little clunky to do, but possible.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 6.  RE: Markdown function in the Agent Script is NOT working

    Posted 06-13-2024 09:09

    Thanks, Anton. But we will end up with too many clicks for agents if we go that route. That would be a bad agent experience.



    ------------------------------
    Vincent Cheng
    Blue Cross and Blue Shield of Florida Inc.
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources