+7
Hi,
I have generated a Content Field with a SharePoint Document event to upload files to SharePoint library and found no errors with it. Files were copied and the Content Field contained an actual links to files.
But when some steps later I needed to move files to another document library and I used the same SharePoint Document event with Move option and pointed Content Field as a data source, I got the situation when all files were successfully copied but the content field was updated only for the nodes, where filename did not contain cyrillics.
Example:
<Items Type="Documents">
<SiteURL>http://rgm-s-k2-dev/ecaf</SiteURL>
<ListURL>Archived Library</ListURL>
<FolderURL>Company Name/CAF-20090829-00011</FolderURL>
<Item>Company Name_Addendum N1 (eng) v3.doc</Item>
<URL>http://rgm-s-k2-dev/ecaf/Archived%20Library/Company Name/CAF-20090829-00011/Company Name_Addendum%20N1%20(eng)%20v3.doc</URL>
</Item>
<SiteURL>http://rgm-s-k2-dev/ecaf</SiteURL>
<ListURL>Archived Library</ListURL>
<FolderURL>i-Cube Solutions/CAF-20090829-00011</FolderURL>
<Item>Company Name_Addendum N1 (rus) v3.doc</Item>
<URL>http://rgm-s-k2-dev/ecaf/Archived%20Library/Company Name/CAF-20090829-00011/Company Name_Addendum%20N1%20(rus)%20v3.doc</URL>
</Item>
<SiteURL>http://rgm-s-k2-dev/ecaf</SiteURL>
<ListURL>Uploaded Files</ListURL>
<FolderURL>Company Name/CAF-20090829-00011</FolderURL>
<Item>автоматизация_ОК_Part2_v2.ppt</Item>
<URL>http://rgm-s-k2-dev/ecaf/Uploaded%20Files/Company Name/CAF-20090829-00011/%d0%b0%d0%b2%d1%82%d0%be%d0%bc%d0%b0%d1%82%d0%b8%d0%b7%d0%b0%d1%86%d0%b8%d1%8f_%d0%9e%d0%9a_Part2_v2.ppt</URL>
</Item>
</Items>
You may see that Item1 and Item2 were updated with Archive Library while Item3 remained the old value (by the way, the file was actually copied)
Right now I solved it adding my own code to update fields with Replace and EncodeURL string functions, but it would be great if the event worked correctly.
Any thoughts to solve it?