This console script allows you to change the Content Type of several list items. Given the web URL, the list name, the name of the old content type and the GUID (in the format ex: 0x010072EB2151D28F9A448C128D77EB4924D8), you can update all items at once.
Example:
TamTam.SharePoint.ChangeContentTypeScript.exe "http://mossdev" "ListName" "OldContenType"
"0x010072EB2151D28F9A448C128D77EB4924D8"
The script must run in the hosting SharePoint server.
Below are the executable and the source code for this script:TamTam.SharePoint.ChangeContentTypeScript.exe.zip (3.37 KB)TamTam.SharePoint.ChangeContentTypeScript.source.zip (15.6 KB)
No comments:
Post a Comment