• Julia Kolesnik
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies

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

I have a problem with rendering pdf  documents using tag <object> in VF page in mobile browsers.

Please, look, this is code of VF page:

<apex:page id="thePage" controller="myctrl"  action="{!doAction}" cache="false">
<object type="{!attach.ContentType}" data="servlet/servlet.FileDownload?file={!fileId}" id="c">
</object>
</apex:page>

If i open this page in browsers in my PC - pdf is rendered successfully, but if i try to open this page in mobile broswers - i'm available to see only first page of pdf doc.

Did anybody solve this issue?

Thank you.