none
Fetch listitemcollection from a SPList from a document library's itemadded event receiver RRS feed

  • Question

  • Calling another splist itemcollection from a  document library's itemadded eventreceiver is allowed in sharepoint on-prem?

    i am getting access denied error when i am trying to pass a parameter to splist from a  document library's itemadded eventreceiver method.

    am already using the runwithelevated privileges and splist's permissions are inheriting from parent site.

    Friday, March 17, 2017 10:50 AM

All replies

  • Hi,

    Where does the other list belongs? (Same site/other sub site etc. ?)

    Could you provide your sample solution so we could try to research.

    Best Regards,

    Lee


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

    Monday, March 20, 2017 3:46 AM
  • its residing in the rootweb only.

    no subsite structure in my requirement. i am debugging now, will update soon.

    Monday, March 20, 2017 6:24 AM
  • Hi,

    I am checking to see how things are going there on this issue. Please let us know if you would like further assistance.

    You can mark the helpful post as answer to help other community members find the helpful information quickly.

    You can also share your own solution here and mark it as answer, and we can learn from each other.

    Best Regards,

    Lee


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

    Thursday, March 23, 2017 1:28 AM