Watson Workspace will no longer be available after February 28, 2019. Learn more.

Developers

Style and format in attachments is wrong/broken

Comments

5 comments

  • Avatar
    Miguel Estrada

    Hello Ivan.  Thank you for your feedback.

    Currently the AF Cards only support simple text and buttons, but we have intentions to provide for a richer experience.  I have made a note of this request in our tracking system.  

    Thanks again

  • Avatar
    Ivan Bella

    Thanks Miguel,

    Then I'd suggest to just show plain text and not trying to style it, like when you create cards... It can be really confusing otherwise. 

  • Avatar
    Miguel Estrada

    ahhh.  That line "like when you create cards" made me re-read your original entry.

    You are just creating a generic annotation and not using annotations as part of the AF flow correct?

    That is a different thing.... let me investigate.

  • Avatar
    Ivan Bella

    Hello Miguel,

    Were you able to take a look at it? 

    Thanks!

  • Avatar
    Miguel Estrada

    I could not reproduce it using my method.  The formatting shows ok.  Can you share exactly what contents you are using to create the message?

     

    I sent this and the output follows:

    {
    "type": "appMessage",
    "version": "1",

    "annotations": [
    {

    "type": "generic",
    "version": "1",

    "text": "Message text\nItems:\n1. `Command 1`: text\n2. `Command 2:`: text"

    }

    ]
    }

     

Please sign in to leave a comment.