Primal Lobo

Primal Lobo

  • 729
  • 2.4k
  • 44.8k

SPFx - How to fetch list items from another site collection?

Jun 19 2021 3:02 PM

How to dynamically fetch list items from different site collection.

ex:I am deploying solution in /sites/sales and i want to pull list items from sites/makerting.

I want to use "Site Url" text box in property pane and based on the URL provided here , I want to fetch all the lists from that site under another property pane dropdown "SharePoint Lists".

Thanks in advance :)


Answers (4)