cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4192
Views
0
Helpful
6
Replies

Sending tables in webex

khanali198361
Level 1
Level 1

Hi developers,
I'm trying to send tables to webex using markdown using the messaging API but the tables received are completely out of order. 
Is there a way to send tables to webex without disturbing the formatting ?

khanali198361_0-1664202307621.png

 

6 Replies 6

Since markdown tables aren't supported, I've used basic ascii tables generated from https://ozh.github.io/ascii-tables/ and surrounded by triple backticks to get it to render properly

AdamWeeksWebexEvangelism_0-1666282840691.png

 

dtibbe
VIP
VIP

Tables are not supported in the markup subset used by Webex.

You may try sending them using html tags (untested, just as an idea), but that is not officially supported

I tried sending through HTML tags but it just sends the code to webex and doesn't format it to table. Can you tell me how I can send using HTML tags ? Maybe an example ? 

 

Have you put it into the markdown field?

See this example for a blockquote: https://community.cisco.com/t5/webex-meetings-and-webex-app/blockquote-color-vertical-bar-help/m-p/4627226#M8871

The webex messaging API is so bad doesn't even format HTML tables properly. 
Im passing the following HTML. 

"<table> <thead> <tr> <th>Header</th> <th>Header</th> <th>Header</th> </tr> </thead> <tbody> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> </tbody> </table>"

khanali198361_1-1664276851833.png

 

khanali198361_0-1664276803667.png

 

As embedded HTML is not documented/supported for message formatting, it's perhaps unsuprising (if disappointing) that it doesn't work well
Perhaps using an adaptive card (which has a lot more layout/formatting options) would be a useful workaround.