watsonx Assistant

 View Only
Expand all | Collapse all

Using table html on watson messages.

  • 1.  Using table html on watson messages.

    Posted Tue June 22, 2021 05:37 PM

    Hey! I'm trying to use <table> on the assistant, but it seems to be adding random <br> on my code! Can someone help me? I'm attaching my code and the bot display

    <table>
    <tr>
            <th><strong>Product</strong></th>
            <th><strong>Price(R$)</strong></th>
        </tr>
        <tr>
            <td>Coxinha</td>
            <td>10</td>
        </tr>
        <tr>
            <td>Pão de queijo (10 uni)</td>
            <td>15</td>
        </tr>
        <tr>
            <td>Folhado</td>
            <td>8</td>
        </tr>
        <tr>
            <td>Risole de queijo</td>
            <td>10</td>
        </tr>
    </table>

    This is how the assistant shows the table



    ------------------------------
    Vinicius Soares
    ------------------------------

    #WatsonAssistant


  • 2.  RE: Using table html on watson messages.

    Posted Fri June 25, 2021 02:04 PM
    ya even i tried this , there seems to be no direct solution, but if you can aces this link it will give you an idea but i dont know how we can implement those.

    Watson Assistant web chat documentation

    Ibm remove preview
    Watson Assistant web chat documentation
    Web chat is a framework-agnostic code snippet you can immediately embed on your website. Web chat can be extended and customized in a variety of ways, so you can concentrate on your unique solutions.
    View this on Ibm >

    awaiting  a workable illustration ..pls guide..


    ------------------------------
    kesavamurthi d
    ------------------------------