Subscribe on item change

Hi At some point i think I noticed a community project adding functionality to let a user "subscribe" to item updates. We have users who ask for functionality so they can select to subscribe on by instance a specific part to let them receive an email every time this part, ECO or whatever is updated. Does anyone have information about this old community project or have anyone tried to build such functionality? Best Regards Henrik Olesen Kamstrup A/S Denmark
  • Mr Olesen, I could not find it either, sorry. If you want to accomplish this yourself then you can trigger email notifications in OnUpdate of the item you are interested in. Perhaps keep a list of interested users somewhere as well.
  • Hi Henrik, Stefan is correct - one way is to create a custom onAfterUpdate method that sends emails to a list of users. However if you are using Visual Collaboration (VC), users also have the option to "follow" specific VC-enabled items inside Innovator under "My Discussions". When VC is enabled on an ItemType, users can "Add Item(s) to Bookmarks" by right clicking on the item or using the Actions menu. This adds the item to the user's "Item Bookmark" forum. Users can access the bookmarked items and discussion feed via My Innovator > My Discussions in the TOC. Users can also opt-in to receive an email for each VC message they're subscribed to, or an email digest summary. If you have VC notifications enabled in your Innovator environment, the user will also get notifications when a discussion or history message is created for a followed item. This demo of Visual Collaboration may help you with your use case: https://www.youtube.com/watch?v=PQip8PVYSRI It discusses notifications and emails around the 23:00 minute mark. Eli
    Eli Donahue Aras Labs Software Engineer
  • Hi Stefan and Eli Thank you for your answers. The solution I was looking for gave the users a way to right click a part, ECO or whatever and select subscribe and unsubscribe to receive an email notification on all updates. @Eli we have VC enabled for out Part Itemtypes, but it won't allow us to make a user subscribe and then get email notifications every time somebody edits a part does it? As far as I'm aware of it would only notify the user when a comment is added to the item. Best Regards Henrik
  • Hi Henrik, You can configure your feed template to include history messages, which would trigger an email to subscribed users. To do so, you can open the "board" FeedTemplate on the Part's DiscussionTemplate and add "Update" to the History Events field. Eli
    Eli Donahue Aras Labs Software Engineer
  • Hi Eli I just tested. It's brilliant. I wasn't aware of that functionality. I have tested and it works. Only thing I haven't been able to figure out is how to make VC send out Emails/notifications. Email setup is done on the server and works on workflows but I don't receive any emails even thoug i tick "Email on every message". Henrik
  • Hi Henrik, You will need to configure the Conversion Server and Agent Service to use Visual Collaboration notifications. Section 7 of the Visual Collaboration Administrator Guide on the Aras Innovator CD image should be able to help you with the setup. Eli
    Eli Donahue Aras Labs Software Engineer
  • Hi Eli Thank you very much. Then it makes sense. We haven't installed the Conversion Server or Agent Service at the moment. I will try to do so. We have considered setting up both several times so now perhaps would be a good time. Henrik