08-16-2021 02:07 PM
Hello Cisco Webex Teams Experts out there,
Not sure this is a right forum but giving it a shot? Two questions
1) Does Webex Teams support posting (thru an API) a table or more broadly are tables supported by Webex Teams if I were to copy/paste (markdown is also ok)
2)For Webex Teams webhook to work, does the target url need to be accessible over the internet. What options do we have if target url is behind firewall (corporate network), how can webhook payload reach there?
Regards,
Raghu
05-10-2022 07:14 AM
You can use markdown to create tables, however, some of the generally accepted markdown standards for tables doesn't seem to work.
The way I have gotten it to consistently work is to have ``` lines before and after the table text, and then only use the pipe "|" as a field separator and at the beginning of each row. Do not include the "----+----+---" row. You can use normal markdown to emphasize your header column names though (e.g., bold, italics), otherwise they won't look any different from the rest of the data.
It is a bit painful to convert a normal dataset to a displayable table if you have a big table, so I created a shell script to do the conversions for me. A macro in a text editor could work too if that's more your style.
I hope that helps,
-frd1963
08-17-2021 05:13 AM
There is no Webex Teams anymore.. There is just Webex
Webex supports posting messages using markdown. In the Webex app's chat input, there is a symbol for enabling mark down (3rd icon, M). Unfortunately, the supported markdown subset does not support tables.
Besides what Nithin already mentioned regarding the webhooks: there is also a DevNet Learning Labs on webhooks: https://developer.cisco.com/learning/lab/collab-sparkwebhook/step/1 They use the ngrok tool for developing and testing; it helps you to receive webhooks also if you do not have a public ip/dns.
Questions regarding the Webex Rest API can be placed best in the Webex developer commuity, see https://developer.webex.com/. The #webex4devs space is also a very good resource for API related help
08-16-2021 07:20 PM - edited 08-16-2021 07:21 PM
For Webex Teams webhook to work, does the target url need to be accessible over the internet. AFAIk yes, need be accessible over internet.
Developer.cisco.com & developer community will be the right place.
You can also refer below link.
https://developer.webex.com/docs/api/guides/webhooks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide