first i will explain about the chatter objects and chatter data model.
Feed item is the Basic entity in the chatter,information about the each chatter feed(post) like created date,created by,body,....are stored as Feed item in chatter.Here Feed items are different types ,they are
User Profile feed
Entity feed
News Feed
Collaboration Group Feed.
Entity Feed :- In Chatter to follow data ,we need to enable feed tracking for the desired object and we can specify the fields to know updations for that fields.
Set up--> App Setup--> customize-->Chatter-->Enable feed tracking.
There you can select object and fields also.(Note you can follow only 20 fields for an object.)
Let us consider you have selected Account object,then entity feeds for that object are stored in Accountfeed(chatter automatically created this).if you want to see all the feeds related to account object you can query data from that records,
Example:-
SELECT Body, Type, Title, CreatedBy.Name
FROM AccountFeed WHERE ParentId = <Account Record Id>
in the case of custom object
in the case of custom object
SELECT Body, Type, Title, CreatedBy.Name
FROM Employee__Feed WHERE ParentId = < Employee Record Id>
When you update the record then the updates are stored in to FeedTrackedChanges.this contains both old and new value of the field for a particular record.We can not query directly from Feed tracked changes,
you can query like,
Example:-
Example:-
SELECT Id, (SELECT Id, FieldName, OldValue, NewValue FROM
FeedTrackedChanges ) FROM AccountFeed.
FeedTrackedChanges ) FROM AccountFeed.
NewsFeed:- Newsfeed forms a sort of aggregate of posts of all users, groups, objects that a particular user following. Which hold all the posts, you can see on user home tab.
Example:-
User Profile feed:-User Profile feed like Newsfeed but it is specific to a particular user.
Example:-
SELECT Id, Type, Body, Title, CreatedBy.Name FROM UserProfileFeed WITH UserId = <User Id>
Collaboration Group feed:- It represents chatter feed for a specific chatter group (private/public).Example:-
SELECT Id, Type, Body, CreatedBy.Name FROM CollaborationGroupFeed where parentId = <GroupId>
Feed Comment:-
If one user adds a comment to another user post, then a record is created in Feed Comment with reference to feeditemid. We can’t directly query the Feed Comment object, we query from Entity feed.
Example:-
SELECT Id, (SELECT Id, CommentBody, CreatedDate, CreatedById,
CreatedBy.FirstName, CreatedBy.LastName
FROM FeedComments ORDER BY CreatedDate DESC LIMIT 10)
FROM AccountFeed ORDER BY CreatedDate DESC, Id DESC LIMIT 1 chatter Data Model
ReplyDeleteI was searching for the better blog on Sales force CRM techniques to understand what CRM is and what is the use? Your blog is the right one I found to get depth knowledge. Thanks for sharing your wonderful ideas.
Regards
Salesforce Training in Chennai
Salesforce Training
Excellent blog on Cloud Computing where I can see some unknown facts about cloud computing. Please update your thoughts frequently.
ReplyDeleteCloud Computing Courses | Cloud computing course in Chennai
Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
ReplyDeleteAdvance Digital Marketing Training in chennai– 100% Job Guarantee
digital marketing jobs career opportunities in abroad
I likable the posts and offbeat format you've got here! I’d wish many thanks for sharing your expertise and also the time it took to post!!
ReplyDeletejava training in chennai | java training in bangalore
java online training | java training in pune
java training in chennai | java training in bangalore
Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
ReplyDeleterpa training in Chennai | rpa training in pune
rpa training in tambaram | rpa training in sholinganallur
rpa training in Chennai | rpa training in velachery
rpa online training | rpa training in bangalore
I was looking for this certain information for a long time. Thank you and good luck.
ReplyDeletepython training in tambaram
python training in annanagar
python training in Bangalore
Your blog is the best one about that latest technology that I have come across today, really thanks for spending your valuable time with us.
ReplyDeleteSelenium Training in Chennai
selenium testing training in chennai
iOS Training in Chennai
Digital Marketing Training in Chennai
testing training
testing Courses in Chennai
Big Data Training in Chennai
Software testing Course in Adyar
Good to read thanks for sharing
ReplyDeletesoftware testing training institute in chennai
Very well written blog and I always love to read blogs like these because they offer very good information to readers with very less amount of words....thanks for sharing your info with us and keep sharing.
ReplyDeleteMicrosoft Azure online training
Selenium online training
Java online training
uipath online training
Python online training
Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
ReplyDeletemobile app development training
mobile application development training online
web designing course with placement in chennai
web designing training institute in chennai
web design and development training
Web Designing Course Training Institute in Chennai
mobile app development course
mobile application development course
learn mobile application development
I have gone through your article and it motivates me in different way. Thanks for sharing such a wonderful content. web design company in velachery
ReplyDeletenice post...!
ReplyDeleteinternship in chennai for ece students
internships in chennai for cse students 2019
Inplant training in chennai
internship for eee students
free internship in chennai
eee internship in chennai
internship for ece students in chennai
inplant training in bangalore for cse
inplant training in bangalore
ccna training in chennai
Your information about dot net is really interesting and innovative. Also I want you to share latest updates about this dot net. Can you update it in your website? Thanks for sharing
ReplyDeleteMicrosoft Windows Azure Training | Online Course | Certification in chennai | Microsoft Windows Azure Training | Online Course | Certification in bangalore | Microsoft Windows Azure Training | Online Course | Certification in hyderabad | Microsoft Windows Azure Training | Online Course | Certification in pune
"Valuable one...thanks for sharing..
ReplyDeleteDigital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery
"
Hi, Thanks for sharing giving lovely content...
ReplyDeleteData Science Training In Hyderabad
HI, Thanks for sharing wonderful articles...
ReplyDeleteAI Training in Hyderabad
Thank you for the informative post. It was thoroughly helpful to me. Keep posting more such articles and enlighten us.
ReplyDeleteDevOps Training in Hyderabad
Thanks, this is generally helpful.
ReplyDeleteStill, I followed step-by-step your method in this salesforce einstein analytics training
salesforce analytics training
salesforce einstein analytics certification
einstein analytics salesforce training
ReplyDeleteNice article and thanks for sharing with us. Its very informative
Machine Learning Training in Hyderabad
Nice blog! Thanks for sharing this valuable information
ReplyDeleteGerman Classes in Bangalore
German Language Course in Hyderabad
Всякий жаждет предугадать собственное будущее и видит конкретные типы гадания максимально достоверными. Гадание на будущее значение это вариант увидеть приближающиеся события непрерывно манил род человеческий. Ворожба дает увидеть, что человека подстерегает в ближайшее время.
ReplyDeleteGreat post. keep sharing such a worthy information.
ReplyDeleteTally Course in Chennai
Online Tally Course
slot siteleri
ReplyDeletekralbet
betpark
tipobet
betmatik
kibris bahis siteleri
poker siteleri
bonus veren siteler
mobil ödeme bahis
ULF
betmatik
ReplyDeletekralbet
betpark
mobil ödeme bahis
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
ELX5A2
شركة صيانة افران بمكة
ReplyDeleteصيانة افران
<a href="https://www.al-mnarr.com/%d8%b4%d8%b1%d9%83%d9%87-%d9%85%d9%83%d
ReplyDelete