You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

writing HTML content into incident thread

Accepted answer
49
Views
3
Comments
edited Aug 10, 2016 9:42PM in Integrations and APIs 3 comments

Content

Hi, 

As part of our automation project, I have to add a incident thread  from a Standard Content (HTML version). When I add it using my below code, it writes the raw html tags too (as shown in the pic - html_content.png).

Any help to display the html version of the content without showing the raw html tags in the incident threads would be much appreciated.  

Thanks

Senthil K

 

 

Code Snippet

                             $threadCnt = count($incident->Threads);
                if($threadCnt == 0) {
                    $incident->Threads= new RNCPHP\ThreadArray();
                }           

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!