Tag Info

New answers tagged

0

Get a multi-choice field $multichoicevalues = New-Object Microsoft.SharePoint.SPFieldMultiChoiceValue($i["multiplechoicefield"].ToString()); $multichoicevalues.ToString(); for($c=0;$c-lt$multichoicevalues.Count;$c++) { $multichoicevalues[$c] }; Here are the both behavour ...


3

Multi-choice field values are stored internally in ArrayList How to get multi-choice field values in PowerShell $web = Get-SPWeb $Url $list = $web.Lists[$ListTitle] $item = $list.GetItemById($ItemId) $values = new-object Microsoft.SharePoint.SPFieldMultiChoiceValue($item[$fieldName]) //print multi-choice field values for($i=0;$i -lt $values.Count;$i++) ...



Top 50 recent answers are included