NWC Copy Item in SPO Known Person or Group column issue when crossing site collections

  • 26 March 2021
  • 0 replies
  • 51 views

Userlevel 6
Badge +22

Issue

When copying an item in SharePoint Online using a Nintex Workflow Cloud workflow an issue can occur if the item has a Person or Group column.
If the item is being copied from one site collection to another site collection the person/group in the Person or Group column may change to another name.

 

Known Issue

When copying the Person or Group column the user's ID is used and not the actual name shown in the column.  The user ID is obtained from the User Information List and each Site Collection has its own unique list that can be accessed from :  http://siteurl/_layouts/15/people.aspx?MembershipGroupId=0 

 

Workaround

There are many ways to work around this issue.
1. Use a Retrieve Item action to Retrieve the item and then Create an item based on the item that was retrieved.  Unfortunately if the item has attachments additional actions will be required to get them and attach them on the newly created item.
2.  When using the Copy Item action, the action will copy all columns that match from the source and destination lists.  If the Person or Group column have different names on the two lists the column will not be copied.  This means that you could use the copy item action to do the bulk of the copying including attachments and then use a retrieve item action or a query list action to get the name in the Person or Group column and then use an Update Item to populate the name in the source list.  As the actual value is used and not the Person ID in the User Information list, this process works.

 


0 replies

Be the first to reply!

Reply