Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Set mail attribute in SharePoint Task List "107"

$
0
0

We recently migrated to SharePoint 2010 from 2007.  During the migration on all task lists theList Settings> Advanced Settings> "Send e-mail when ownership is assigned" radio button got switched to "No" if it was set to "Yes". I need to have this switched back to "Yes" on all task lists but have no idea how many of these lists are out there or what their URL may be.  I think I found the attribute that needs to be set...



# Send e-mail when ownership is assigned?

$list.EnableAssignToEmail = $true

I need a script that would query each of the 3 site collections we have for tasks list which I believe is 

$listTemplate = "107" #Tasks List

and then set the radio button List Settings > Advanced Settings > "Send e-mail when ownership is assigned" to "Yes".  Any help would be immensely appreciated.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>