none
SharePoint Event Receiver item adding is working but item added is not RRS feed

  • Question

  • HI All,

    I want to trigger a workflow from event receiver, when I try to do it 'item added' its not triggering but 'item adding' is working. How to fix this issues?

    Thursday, December 5, 2019 11:35 AM

All replies

  • Hi SamDany,

    Events end by –ed (after) are asynchronous events, hence there might be some delay. And please check the Element.xml of the Event Receiver and add the listUrl Attribute:

    <Receivers ListUrl="Lists/YourListUrl"> // For simple Lists

    Or

    <Receivers ListUrl="Documents"> //For Document Libraries

    If the above does not work, set some breakpoints and debug it or have a check uls log to see if there is any tip

    Best Regards,

    Baker Kong


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click  here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Friday, December 6, 2019 2:17 AM