Create SPFx Web Part to retrieve SharePoint List Items using REST API and React

Create SPFx Web Part to retrieve SharePoint List Items using REACT and REST API  

 
 
 
 
 
5 Star
(3)
622 times
Add to favorites
SharePoint
5/12/2017
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to change this when using a querystring
    1 Posts | Last post October 18, 2017
    • I just can't figure it out.
      
      My query is a bit different. I use a querystring like this:
      
      "url: "https://blabla.sharepoint.com/sites/bla/_api/search/query?querytext='ContentType:Test_matters'&selectproperties='RefinableString10%2cCreatedBy%2cCreated'&rowlimit=500'","
      
      So my json return object differs from yours so de mapping is not working.
      Can you help me out to change your code using a querytext?