Create list item in any site

by bladec59 » Thu Jun 04, 2015 7:12 pm

Having two issues with this action:

1) What is right dictionary syntax for a destination column that has a space in the name (e.g., Start Date). Am getting error message: Exception: Column 'Start Date' does not exist. It may have been deleted by another user. Columns without a space in the name work fine.

2) Is it possible to create an item with a populated 'People' type column? If so, what is the right dictionary syntax? Am getting error message: Exception: Invalid data has been used to update the list item. The field you are trying to update may be read only.
bladec59
 
Posts: 12
Joined: Thu Jun 04, 2015 6:31 pm

by Roman Rylov » Fri Jun 05, 2015 10:42 am

Thanks for good questions.

1. Please open List Settings, scroll down to column list and click on the column with white space. Next please pay attention at URL string, you should see something like on screenshot below:
InternalFieldNameSample.png
SharePoint - How to find internal field name
InternalFieldNameSample.png (3.73 KiB) Viewed 998 times


In that case field internal name is Test_x0020_Field_x0020_with_x0020_whitespace

2. To setup a value in SPUser field you can just specify a user ID, please see sample below:
SetSPUserSample.png
SharePoint - How to setup SPUser field via SharePoint Designer
SetSPUserSample.png (14.3 KiB) Viewed 998 times
User avatar
Roman Rylov
 
Posts: 335
Joined: Tue Nov 11, 2014 6:25 pm


Return to Workflow Actions Pack for Office 365