1

my list triggers item added and then item updated when I add a list item, but then when i add list item it takes me to update item form, where it asks me to update item details, so if i click next, it triggers updatedItem method again

i checked list item add only has item add event related to it

1

Seems like your code is updating the item in the itemadded method which is firing your item updated event. You need to disable events in your code before making changes to the item and enable after completing your changes.

this link shows the best way to do this.

Best of luck

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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