Products: Nintex Workflow 2013, Nintex Workflow 2010
A request came in for how to dynamically update a content type via Nintex Workflow. The person wanted to update a content type field based on the values of items in a list. Below you will find a PowerShell script that can be used with NTX PowerShell action: NTX PowerShell Action - Initial Beta Release
To use the script do the following:
- Replace http://contoso.com with the URL of the site you wish to execute the script against.
- Replace TitleofTargetField with the Title of the ListField you are updating.
- Replace NameOfContentType with the name of the Content Type you are updating.
- replace TitleOfSourceList with the title of the source list you are pulling values from.
Note: By default this script uses the item property 'Title' as the source for updating the content type. This can be changed on line 13.