0

I have a document library with 4 columns which are of type metadata. All 4 columns are mandatory.

When an user creates an alert, and somebody uploads a document and fills the metadata column, then in the alert, that information is not sent.

Is this possible to customize and how?

1 Answer 1

2

My advice would be for you to answer "No" to this and go on with your life. However, if the customer is requiring that this information be included in the alert then prepare yourself to enter the world of pain known as SharePoint Custom Alerts.

This article should get you started on understanding what is involved in custom alerts. The article is for SP2007 but pretty much everything in it applies to 2010 as well as they have not changed substantially.

6
  • sharemuch.com/2010/08/15/… this seem an easy way to do it. Commented Mar 14, 2012 at 19:25
  • I was also thinking that an easier way might be to create an event receiver for the itemadding for example and then send the formatted email? in the itemadding event I should be able to access all fields. However if the doc library has alerts enabled they would receive 2 emails- Commented Mar 14, 2012 at 19:32
  • That is merely how to change the template which you would have to do anyway when making changes. Step 6 in that article should read: "Insert Pixie Dust Here" because that is the step that will trip you up. Making fields that are not normally included in alerts appear in the alert is tricky. To do this, you need to take more control over the alert processing logic itself which usually requires custom code that implements an IAlertNotifyHandler interface
    – Dave Wise
    Commented Mar 14, 2012 at 19:38
  • @EstebanV. More often than not, that is what people do - simply avoid the whole Microsoft.SharePoint.SPAlertMineField and create their own emails. They aren't as pretty, can't do digest emails, can't allow subscribe/unsubscribe or have the links back to the original list, but it is much easier and often solves the business need.
    – Dave Wise
    Commented Mar 14, 2012 at 19:40
  • just a question, I need to estimate the time I would take to do this for a specific document library, because its the first time I would do it, how many days or hours would you estimate for these 2 options?... Commented Mar 14, 2012 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.