Hide all fields except the title in the SharePoint alert message

I need exactly this: to hide ALL fields in the SharePoint warning mail, with the exception of, for example, Title.

Now, before you mark this as a duplicate of Hide Field in a SharePoint e-mail message , note that the above link does resolve this, but this requires an indication of each hidden field.

The property element allows you to include or exclude fields from the list that will be displayed in the email notification. The example below shows how to exclude fields for immediate and summary (digest) alerts.

<Properties>
  <ImmediateNotificationExcludedFields>ID;Author;Editor;Modified_x0020_By;Created_x0020_By;_UIVersionString;ContentType;TaskGroup;IsCurrent;Attachments;NumComments;</ImmediateNotificationExcludedFields>
  <DigestNotificationExcludedFields>ID;Author;Editor;Modified_x0020_By;Created_x0020_By;_UIVersionString;ContentType;TaskGroup;IsCurrent;Attachments;NumComments;</DigestNotificationExcludedFields>
</Properties>

The consequences of this will mean that if a new field is added, I will have to update this custom template.

I was wondering if it’s possible by default to just hide all fields and just indicate what I want to show instead (in this case, just Title).

Is it possible? Or am I stuck with the fact that I need to indicate, one by one, what I want to hide?

+4
source share
1 answer

If this is for a specific list, I would just create a workflow in the SharePoint designer that sends an email whenever something changes in the list. This gives you 100% control over the appearance of the notification that is sent. However, this will not allow individual users to create their own alerts.

0

All Articles