Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Tweeted twitter.com/StackSharePoint/status/692392553010839553
Notice added Draw attention by Robert Lindgren
Bounty Started worth 50 reputation by Robert Lindgren
Corrected the API link.
Source Link

I would like to set the EnableAssignToEmail bit on a task list via CSOM after a list is created dynamically. I have found a way to do this in Powershell and in code using SPList:

Add-PSSnapin Microsoft.SharePoint.Powershell

$web = Get-SPWeb "http://foo/web"
$list = $web.Lists.TryGetList("Tasks")
 
$list.EnableAssignToEmail = $true
$list.Update()

I do not see a specific method or property on SP.List in the CSOM SP.List API: http://msdn.microsoft.com/en-us/library/office/ee552043(v=office.14).aspxhttp://msdn.microsoft.com/en-us/library/office/jj245826(v=office.15).aspx#constructors.

Is there some trick to get this enabled, or is it just not possible?

I would like to set the EnableAssignToEmail bit on a task list via CSOM after a list is created dynamically. I have found a way to do this in Powershell and in code using SPList:

Add-PSSnapin Microsoft.SharePoint.Powershell

$web = Get-SPWeb "http://foo/web"
$list = $web.Lists.TryGetList("Tasks")
 
$list.EnableAssignToEmail = $true
$list.Update()

I do not see a specific method or property on SP.List in the CSOM SP.List API: http://msdn.microsoft.com/en-us/library/office/ee552043(v=office.14).aspx.

Is there some trick to get this enabled, or is it just not possible?

I would like to set the EnableAssignToEmail bit on a task list via CSOM after a list is created dynamically. I have found a way to do this in Powershell and in code using SPList:

Add-PSSnapin Microsoft.SharePoint.Powershell

$web = Get-SPWeb "http://foo/web"
$list = $web.Lists.TryGetList("Tasks")
 
$list.EnableAssignToEmail = $true
$list.Update()

I do not see a specific method or property on SP.List in the CSOM SP.List API: http://msdn.microsoft.com/en-us/library/office/jj245826(v=office.15).aspx#constructors.

Is there some trick to get this enabled, or is it just not possible?

Source Link

Set Task list EnableAssignToEmail in CSOM

I would like to set the EnableAssignToEmail bit on a task list via CSOM after a list is created dynamically. I have found a way to do this in Powershell and in code using SPList:

Add-PSSnapin Microsoft.SharePoint.Powershell

$web = Get-SPWeb "http://foo/web"
$list = $web.Lists.TryGetList("Tasks")
 
$list.EnableAssignToEmail = $true
$list.Update()

I do not see a specific method or property on SP.List in the CSOM SP.List API: http://msdn.microsoft.com/en-us/library/office/ee552043(v=office.14).aspx.

Is there some trick to get this enabled, or is it just not possible?