Adding Items to a list in another sitecollection :- SharePoint Framework (SPFx) Webpart RRS feed

  • Question

  • Hello, 

       I am trying to create a Webpart to add items to a list  using SharePoint Framework  just like in the below mentioned link

    My Webpart is added to sitecollection1 and am trying to create items to a list in sitecollections2 - This works !!!! with the help of the code from the above link and hardcoding the url. (i have hard coded the sitecollection2 URL in place of  this.context.pageContext.web.absoluteUrl)

    But when the harded coded URL is updated to my personal site URL It doesnt work i see  a 403 forbidden in my console.

    Note:- I have got full Access to my personal site URL.

    Does anybody have ideas on how to solve this ?



    Wednesday, July 12, 2017 7:35 AM

All replies