jeudi 5 février 2015

Multiple FeedWebPartBase on one page



I want to show multiple Site-Feeds on one page with the possibility to respond to each inline. What would be the correct way to use the PostBox of this web part for a single thread?


Is it possible, to have multiple WebParts inheriting FeedWebPartBase on the same page? I have some difficulties with that - as it seems, it is not possible to override the generated HTML IDs in the DOM. Hence the JavaScript works only for the first appearance of this WebPart...


I saw, that SharePoint is rendering different reply post boxes, but that seems not to be public - its part of the SP.UI.MicroFeed.js and I assume the magic happens in a function called SP_UI_MicroFeed_SPMicroFeed$$5w_0.


Any ideas and hints are welcome!








0 commentaires:

Enregistrer un commentaire