How to insert a value for Contact List Column from c# using api
Hi all,
I need to insert a value for a column, whose type is column list, from c# using api. I have even tried by defining the value and display value for this column from c#, but it does'nt get reflected on sheet.
Thanks!
Shoaib
Answers
-
Do you have multiple contacts allowed in this column? Multi Contact columns are a newer column type, so they require the use of the
objectValue
attribute. (See: https://smartsheet-platform.github.io/api-docs/?csharp#objectvalue-object)Let me know if that's helped!
Cheers,
Genevieve
-
Hi,
i have more or less the same question (i'm using python):
the column type is CONTACT_LIST (single value only, not multiple values) ...
here is the code snippet:
case_owner_email = "owner.name@company.com"
new_row.cells.append({
'column_id': project_metadata_column_map["Case Owner"],
'value': case_owner_email
})
all my email addresses are correct, and all my owners are registered users in Smartsheet, but sometimes, when i open the sheet, i get correct user (pic + name), but other times i get only email address ...
i need that this is always user ...
so, is there any specific formatting for the value ?
thx & rgrds,
ljk
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 68 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives