The reason I need this is that instead of sending users an e-mail when a new item is added, I want to send them a notification message that appears on the top right corner on any page in the intranet whenever a new item was added somewhere.
Any suggestions would be greatly appreciated.
closed as off-topic by Eric Alexander Sep 10 '14 at 22:30
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems encountered using commercial 3rd-party software or plugins are off-topic as they can be more easily answered by the specific vendor's support team. See: When should we allow questions about products that don't belong to a SharePoint SKU?" – Eric Alexander
Basically every user session would have to be connected to some sort of hub (SignalR) and then you would have to trigger an event in that hub, from your workflow, that in turn would push out the message to the user.
And one other culprit: how will you handle the scenario that the user is not connected to the intranet / SignalR hub? That is another big question you need to solve.
This is the way I would do it:
- Create a new field on the list, for example: Notification (boolean), yes/no
- Create a user control or web part that use some server side logic to read the username and the list item property.
- On the user control you can do some jquery in the document.ready(), do some CSOM Calls to know if the property is set to yes, if its set to yes, then use a jquery plugin to show the notification.
http://tympanus.net/Development/jbar/ (click demo top)
- Include the webpart or usercontrol in the master page.