• Julia Kolesnik
  • 0 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 0

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:




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!


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">

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.