Forum Discussion

santosh_csc's avatar
8 years ago

Create a message with an attachment using the Community API

I have HTML content in the message body.  When I sent a message over API, I'm getting below error.

 

Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and send the message when you are satisfied.

How to use HTML content in the message body. Is there any specific header required to use HTML body?

 

 

  • santosh_csc - It is because the user does not have permission to Use full HTML in posts and signatures.  Allow this permission from community admin - > users and try again. 

     

     

     

  • santosh_csc - It is because the user does not have permission to Use full HTML in posts and signatures.  Allow this permission from community admin - > users and try again. 

     

     

     

      • AbhishekIlindra's avatar
        AbhishekIlindra
        Boss

        santosh_csc : It can be managed in the Admin Console

         

        Community Admin  --> Discussion Styles -->Posts & Topics --> Post Display --> Maximum number of characters in post

         

        If my post is helpful and answers your question, please give "Kudos" and "Accept it as a Solution."

        Thanks & Regards,
        Abhishek Illindra