Hi all,
I have list in Sharepoint with two new custom column "First line approvers" and "Second line approvers". Type of this columns is "Person or Group" and "Allow multiple selections" is set to "Yes".
How to get value of custom columns?
I try this method:
string Name = item["Name"] as string;
string ModifiedBy = item["Modified By"] as string;
string FirstLineApprovers = item["First line approvers"] as string;
string SecondLineApprovers = item["Second line approvers"] as string;
and for first two columns I obtain correct values:
"New Text Document.txt"
"1;#SHAREPOINT\\Administrator"
but for my new columns I obtain
null
null
but this columns have values!!!
"First line approvers"
SHAREPOINT\user1
SHAREPOINT\user2
SHAREPOINT\user3
and "Second line approvers"
SHAREPOINT\user4
What is wrong and how I can get values of this columns?