+ Start a Discussion
B kldB kld 

How to Show FeedItem to Chatter Free User

  1. When case is created from partner Community User(Partner Communtity Profile), I'm creating record in FeedItem,
  2.         FeedItem fi = new FeedItem();
            fi.Body = 'Feed Body';
            fi.ParentId = '5003000000D8cuI';
            fi.Visibility = 'AllUsers';
            fi.NetworkScope = 'AllNetworks';  
        
            Insert fi;

        3. Now i want this feed to be shown to Chatter Free User who is having "Chatter Free License".

How can i show this Feed to ChatterUser?
Any Approaches/Workarounds.
 
alouie_sfdcalouie_sfdc
See my reply to the same question on Salesforce StackExchange (http://salesforce.stackexchange.com/questions/94267/feeditem-should-show-to-chatter-freeuser).
B kldB kld

Yup, I agree.
But I got an idea 
                   FeedItem fi = new FeedItem(); 
                   fi.Body = 'Feed Body';
                    fi.ParentId = 'Some Group Id'; Instead of caseId I have given Group Id
                    fi.Visibility = 'AllUsers';
                    fi.NetworkScope = 'AllNetworks';  
                    Insert fi;

We can make use of Group. I am posting Feed to group & add chatterFree user and Partner to that group. Here the CHALLENGE is Partner community user unable to see Group created by System admin.

Again I stopped here.

alouie_sfdcalouie_sfdc
If the group is a public group, and it's created in the same community as the Partner community user is in, then the Partner community user should be able to access the group.
alouie_sfdcalouie_sfdc
I'm going to use the StackExchange thread for future comments.