Hi,
I’ve got multiple areas in my pages where I would like to show the chatter feed for different rows in a table either through popups or drawers. Would anyone know how I can do that so that it shows the chatter for the row in context and not just the first model row? Also i have developed my own UI so would like it to appear as it does in Skuid not Salesforce.
thanks
You can do this by having a Row Action that calls a pop up.
!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-82729-10mmbvu-ScreenClip 5 inline.png “Image https//d2r1vs3d9006apcloudfrontnet/s3_images/1476349/RackMultipart20160831-82729-10mmbvu-ScreenClip__5__inlinepng1472623940”)
!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-89175-1gu5y5k-ScreenClip 6 inline.png “Image https//d2r1vs3d9006apcloudfrontnet/s3_images/1476350/RackMultipart20160831-89175-1gu5y5k-ScreenClip__6__inlinepng1472623972”)
I personally use a Page Include in the popup. I use a page include because I can easily reuse the page in other pages for that object without having to recreate it.
!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-71704-1q54j9q-ScreenClip 7 inline.png “Image https//d2r1vs3d9006apcloudfrontnet/s3_images/1476351/RackMultipart20160831-71704-1q54j9q-ScreenClip__7__inlinepng1472624021”)
You pass the ID of the record to the page include using the query string. id={{Id}}
!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-59813-12jokbp-ScreenClip 8 inline.png “Image https//d2r1vs3d9006apcloudfrontnet/s3_images/1476352/RackMultipart20160831-59813-12jokbp-ScreenClip__8__inlinepng1472624063”)
The page include has 1 model (the model of the object you are trying to see chatter on i.e. Account etc.). The model has a condition set to Id= (param)id the id page parameters and is set to always on. This allows the model to grab only the record you sent to it.
!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-17864-61f69j-ScreenClip 9 inline.png “Image https//d2r1vs3d9006apcloudfrontnet/s3_images/1476353/RackMultipart20160831-17864-61f69j-ScreenClip__9__inlinepng1472624136”)
I create a Page TItle on the page.
I create a Page Template on the page.
!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-3156-m1pia9-ScreenClip 10 inline.png “Image https//d2r1vs3d9006apcloudfrontnet/s3_images/1476354/RackMultipart20160831-3156-m1pia9-ScreenClip__10__inlinepng1472624163”)
The template has this information in it:
!t](https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20160831-113737-xh1hwu-ScreenClip __11__ inline.png "Image https//d2r1vs3d9006apcloudfrontnet/s3\_images/1476355/RackMultipart20160831-113737-xh1hwu-ScreenClip\_\_11\_\_inlinepng1472624201")
That’s it. When you click on the icon on your main page a pop up will show up that shows that objects chatter feed. Here is the XML code for my Client Page Include Chatter Feed (Client is Account in my ORG).
{{Name}}
{{Model.label}}
I have a similar page set up for my Task Chatter feeds. The only thing that changes is the Task is the Object in the Page include. The template says the exact same thing in the Template field.
Good luck!
You are brilliant!!! Thanks so much, it worked like a charm!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.