This is SharePoint 2013 on-prem. I want to be able to follow pages in my intranet, just like I can follow documents. Being able to follow pages is easy enough.
At its simplest, following a page can be achieved using the following javascript on a page:
function getUrl() {
return window.location.protocol + "//" + window.location.host + window.location.pathname;
}
function followPage() {
window.SetFollowStatus(getUrl(), true, true);
}
SP.SOD.executeFunc('followingcommon.js', null, function () {
followPage();
});
This will follow the page, and a newsfeed notification will show saying "Person X followed Page Y".
Unfortunately, that's the last you'll hear from this page. Further updates to the page will not show in the newsfeed. I tried dissecting the content of the Social list on mysite, but could not find what controlled this behavior.
So the question is: How do I make updates to pages I follow show in my newsfeed?
Aucun commentaire:
Enregistrer un commentaire