Webex Markdown

broken image


Gets or sets the message in Markdown format. Namespace: Microsoft.Bot.Builder.Adapters.Webex Assembly: Microsoft.Bot.Builder.Adapters.Webex.dll. Webex clients, across all platforms, can send and receive a limited form of rich text messages formatted using the Markdown markup language. Bots and integrations can also send rich text messages formatted with Markdown, by using the Messages API.

  • Webex Teams enables continuous teamwork with video meetings, group messaging, file sharing, and white boarding. Always available. With the Webex Teams connector, you can send and receive messages, manage files, and manage spaces and teams.
  • In this video I show a brief tutorial on how to format text using markdown in Webex Teams. I also address how to escape the markdown key characters using th.
  • Check the current status of webex.com, report outages, or other problems with our easy reporting tools. Also, rate webex.com on their overall website performance.
Webex markdown app

Or, 'API Basics for Powershelling Windows Admins'

My team has begun rolling out Cisco's Webex Teams collaboration platform to our internal users. As is often the case, the IT department is the first customer, kicking the tires and exploring different use cases. Apache httpd source. I happened to be working on a Powershell-based script to create new Active Directory users, and decided to get creative …

While creating a Powershell process to automatically create new Active Directory users based on data sent via our HRIS system, I wanted a way to notify the Helpdesk team that a user had been added and they needed to do a few follow-up tasks (actions I can't address via Powershell). I looked at having Powershell write logfiles or send e-mails. Old-fashioned.

Naturally, Webex Teams is fully API-enabled . As a non-developer, the most approachable methods I'd previously seen for addressing Teams via its API had been using Python. However, I found some clues for using Powershell in a Cisco DEVNET lesson introducing the Teams API (sign-in required).

With credit to this article, and through some modification, I got to scripting a sample:

The Apache HTTP Server ('httpd') was launched in 1995 and it has been the most popular web server on the Internet since April 1996. It has celebrated its 25th birthday as a project in February 2020. The Apache HTTP Server is a project of The Apache Software Foundation. Apache httpd 2.4.46 Released 2020-08-07 ¶. Expert Apache & Tomcat Software Support. Our Pantek engineers are on-call and available around the clock. With more than 25 years of experience of working with Ubuntu, we can provide support for most Open Source software and systems 24/7/365 for managed service clients. Get a long-term stable environment with Pantek now! Apache is a remarkable piece of application software. It is the most widely used Web Server application in the world with more than 50% share in the commercial web server market. Apache is the most widely used Web Server application in Unix-like operating systems but can be used on almost all platforms such as Windows, OS X, OS/2, etc. Learn to host your own website with Apache, a solid, well-known, and easy-to-configure web server. Apache web server software.

Now to get this working, you'll need some stuff:

Webex Teams Markdown Not Working

  1. A Bot account (who's going to post these messages [or take any other type of action])
    1. Create one here: https://developer.webex.com/my-apps/
  2. Your Bot's access token (you'll get one after you create the bot account)
  3. Room ID (where you're posting the message to)
    1. Add your new bot to the Webex Teams space you want them to post in
    2. Look up the RoomID: https://developer.webex.com/docs/api/v1/rooms/list-rooms
    3. Hit the 'Try It' button, and provide the Bearer (access token) of your Bot account; you'll see each space the Bot is a member of. Copy the 'Id'

Markdown Webex Teams

In my sample above, I'm storing the Bot's access token in a local text file, reading it in, and storing it as a SecureString to a variable. But you can equally just put it directly in the Bearer section of the Authorization header.

Once you execute your code:

Ultimately I ended up writing this whole process above as a Powershell function and calling it as needed during my User Creation script. Setting the text to a variable, and changing the contents as needed became easy.

Putting it into action:

Notification of a successful user creation

Conditional error, when licensing a user in Office365 fails.

Seeing how easy it was to cook this up, I'm inclined to try some of the other API actions in and out of Webex Teams using Powershell … you don't have to be a developer to get dirty with APIs!





broken image