function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Julia KolesnikJulia Kolesnik 

Uploading files into Chatter from Customer Portal

I've faced with an issue during creating FeedItem via Portal user. Once I've inserted FeedItems, I got an error:

 

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Entity is read-only: FeedItem:

 

I found a some old posts:

http://boards.developerforce.com/t5/Chatter-and-Chatter-API/Chatter-and-Site-Chatter-and-Customer-Portal/m-p/176825#M96

http://boards.developerforce.com/t5/Chatter-and-Chatter-API/Is-Chatter-accessible-to-the-Company-Portal-users/m-p/226361/highlight/true#M573
http://boards.developerforce.com/t5/Chatter-and-Chatter-API/Is-it-possible-to-enable-Chatter-to-Customer-Portal-User/m-p/361239/highlight/true#M1294
http://boards.developerforce.com/t5/Chatter-and-Chatter-API/Exception-when-triggering-a-Post-Feed-from-a-Portal-User/m-p/274481/highlight/true#M867

 

And they are saying that Chatter is not Available for the Portals (but is available for Sites). But probably it is old information? Does anybody know how to create FeedItem via Portak User?

 

I was going to store values into Attachment (sObject) and create scheduled batch which should process records from Attachments: create appropriate FeedItems and delete "converted" records from Attachments. But in this very case Owner of FeedItems will be SF User (who scheduled the batch). And as I don't have Public access in OWD to the Custom Object where FeedItems will be posted - I can't see these feeditems via my logged Portal User...

 

If I find a way to post FeedItems via Portal User it will solve my problem. Does anybody faced with such issue?

 

Thank you!

Julia

Ryan-GuestRyan-Guest

Chatter isn't currently available in customer portal.

 

 

Salesforce Communities, which is currently in pilot, allows portal users (partner and customer) to use chatter.

 

http://www.salesforce.com/chatter/features/communities.jsp