+ Start a Discussion
Rupali PophaliyaRupali Pophaliya 

Workaround - Managed package using chatter to be installed in chatter disabled organizations


We have a managed package that makes use of chatter feed object in one of our apex class.
We would like to know if it is possible to develop a managed package that leverages Chatter but can be installed in organisations
that don't have chatter enabled?

In case if there is no such standard way to achieve this, we have thought of a work around. It is to release a later version with all mention of chatter stripped out of apex.
Then later again putting the chatter code back to our apex.

We would like to know if there are chances of any problem with this work around. Or if there are any better work arounds?

Hi Rupali,

One option is to strip all chatter functionality in your base package and add them in an extension package.
Another option would be to make your code dynamic and check for chatter being enabled or not. Please see if these links help:

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.