3

I have to update a list after I insert an item in another list. For example, I have the main list with a person's details (name, age, address, email etc.). When I insert new person to this list, I want that another list will be inserted automatic a new item with the name and email only.

2
  • 2
    You can do this without code using a workflow. Loads of example on the web.
    – Bunzab
    May 21, 2017 at 14:18
  • Welcome to SharePoint StackExchange , Could you please take a quick tour at sharepoint.stackexchange.com/tour to get an informed badge! Thank you for your contribution! Jun 7, 2017 at 19:35

1 Answer 1

2

You have two options:

Using SharePoint Designer. (No code)

  • Open Sharepoint Designer > click on the workflow > new list workflow.
  • Click Actions > List Actions > Update List Item.

enter image description here

  • Click this list.
  • In the Update List Item dialog box, change the List to your destination list.
  • In the Find the List Item section, change the Field list value to the name of the ID field in your second list.
  • Click the Workflow Lookup icon, In the Define Workflow Lookup dialog box, change the Field list value to the name of the ID field in the second list.

Using Event Receiver. (Require code)

You can create an event receiver on Item added to add to another list, to know how to create an event receiver check Creating Simple Event Receiver in SharePoint 2013

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.