How to fill person or group field of form lib using InfoPath?

Steps:
1. Create Person or group field name TestUser and one more field name HidTestUserName
2. Add the people picker control in InfoPath field
3. Promote the AccountId field value to HidTestUserName field. Refer the below Screenshot.




4. Create workflow for FormDocLib and create step with action of Set Field in Current Item . In this action set the value of TestUser Field.



5. Make sure Start Workflow automatically when an item is created and change options are enabled. Refer the below SS.

Comments

Popular posts from this blog

How to upload the document using SharePoint client Object Model and set the Properties

Microsoft SharePoint Online Code Analysis Framework (MSOCAF)

How to Setup Retention Workflow using Content hub