Nintex Forms for NWC was just released yesterday, and just in time for me to add a contact form to my new website (https://www.docfluix.com). Matt Jennings already posted an awesome intro for Nintex Forms for NWC so check this out to understand what this awesome new product is all about.
My goal for my first Nintex Forms for NWC project was to create a simple web contact form (Name, Company, Phone, Email) and save the data to a SharePoint list. I also decided to add a multi-choice control named CustomerInterest to my form with the following options:
In my SharePoint site, I added an out of the box Contacts list, and customized it with a choice field (also named "CustomerInterest") that allows multiple choices and includes the identical options above.
After the Start Event, I added the SharePoint Online action Create an Item to my workflow and connected it to my site.
This action displays the columns from my new SharePoint contact list including the CustomerInterest field. Initially, my plan was to directly map the CustomerInterest collection variable to the CustomInterest SharePoint column. However, that approach does not work. The solution however, is quite easy but not totally obvious...
To understand the solution, please note the following:
The solution is to iterate through the collection variable and format a text variable the way SharePoint expects for a Multi choice column. Although this part is quite simple, I'll outline my steps:
Here is what my completed form looks like:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.