Adding canvas App in chatter feed

Salesforce Feb 28, 2015

Salesforce has given us a way to run third party applications directly without remaking it on Force.com. This is through CANVAS applications. We can use canvas to run third party application.

Few months back, a scenario came up in front of me wherein I need to put a chatter post displaying canvas application through a trigger. I spent some time to find it out.

Below is the code to add a canvas along with chatter post.

Hope this helps!

Related Tags:

Salesforce