cancel
Showing results for 
Search instead for 
Did you mean: 
dgoodridge
Nintex Newbie

Assigning User Field to Document Set properties using Create Item error

Good day all,

Trying to create a document set to store some documents related to a list item and I can create the docset just fine, but if I try to assign values to the user and date properties of the document set I get the following errors:

When attempting to set user field: Failed to create item. Invalid data has been used to update the list item. The field you are trying to update may be read only.

When attempting to set DateTime field: Failed to create item. The file or folder name contains characters that are not permitted. Please use a different name.

I found some advice on this blog, but his resolution didn't work for me either. I keep getting the same error whether I pass i:0#.w|domain\username, -1;#domain\username or domain\username

So the solution I found was to create the document set and then use the Update Item action to update the fields after the docset was created. This worked splendidly! Hope this helps you!

Reply
2 Replies
Automation Master
Automation Master

Re: Assigning User Field to Document Set properties using Create Item error

I have found this to also be true when creating Document Sets via code. I found it more stable to create the document set with required Name first. Then update the doc set with all other fields after. This is a SharePoint work around, not a Nintex workaround.

Reply
Automation Master
Automation Master

Re: Assigning User Field to Document Set properties using Create Item error

2 years later and this is still great advice  thanks for posting it, helped me out today!

Reply