• TatianaSmirno
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Is there a reason I can't show the salesforce login page in an iframe? ie:

 

<iframe src="https://login.salesforce.com" />

 

It just shows a blank page...

 

All I am trying to do is show the login page on our company intranet as an iframe

Thanks

I am very new to this sorry.  I've tried to use the chatter code recipie to retrieve comments on a feed item, but what code can I use to display it on my visual force page?

 

 

List<NewsFeed> myfeed = [SELECT Id, Type, 
                         CreatedById, CreatedBy.FirstName, CreatedBy.LastName,
                         ParentId, Parent.Name, 
                         Body, Title, LinkUrl, ContentData, ContentFileName,
                             (SELECT Id, FieldName, OldValue, NewValue 
                              FROM FeedTrackedChanges ORDER BY Id DESC), 
                             (SELECT Id, CommentBody, CreatedDate,
                              CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedComments ORDER BY CreatedDate LIMIT 10),
                             (SELECT CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedLikes)
                         FROM NewsFeed
                         ORDER BY CreatedDate DESC, Id DESC
                         LIMIT 20];
In my visualforce page I use:
<apex:dataTable value="{!userFeeds}" var="uf" >
I use {!uf.createdby.Firstname} to get the first name but I do not know how to get the comment body out.
Can you suggest what I could try?
Thankyou...sorry my english is not good.