Created
February 19, 2015 13:31
-
-
Save tyoshikawa1106/d4a01ca913e662bb0ef3 to your computer and use it in GitHub Desktop.
Lightning Apps "forceChatter:feed" Sample Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:application > | |
<link rel="stylesheet" href="/resource/BootstrapSF1/dist/css/bootstrap.css" /> | |
<link rel="stylesheet" href="/resource/BootstrapSF1/dist/css/docs.min.css" /> | |
<script type="text/javascript" src="/resource/jQuery/dist/jquery.min.js" /> | |
<script type="text/javascript" src="/resource/BootstrapSF1/dist/js/bootstrap.min.js" /> | |
<script type="text/javascript" src="/resource/BootstrapSF1/js/docs.js" /> | |
<!-- Header Component --> | |
<c:LightningHeaderComponent header="Lightning Components" detail="- Sample Application -" /> | |
<!-- forceChatter:feed --> | |
<forceChatter:feed type="News" /> | |
</aura:application> |
Hi, Thank you for message. I thought I could do with Subject Id. But it seems not to be supported.
OK! I did It! you set type="Record" subjectId="groupId".
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
<forceChatter:feed type="Record" subjectId="0F928000000AZ7oCAG"/>
</aura:component>
Hi,
I am using the following line of code in my lightning component:
<forceChatter:feed type="Record" subjectId="0057F000000YuK0QAK"/>
But, my footer i.e., comment, share is not working.
Can anyone tell me what is the problem?
Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can we display feeds specific to Group? I mean can we set group id somewhere in forceChatter:feed?