REST not returning values in web form but works fine in preview - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

REST not returning values in web form but works fine in preview

Last post 04-16-2020 12:04 AM by welshartnow. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-14-2020 08:28 AM

    REST not returning values in web form but works fine in preview

    Data from my REST data connection displays fine in preview mode but nothing is shown when the form is displayed as a web form from within SP2016. No error codes or like just blank drop downs. My rest address works fine if I paste it straight into the browser this returns the expected data. http://mysystem/_api/web/lists/GetByTitle('postcodes')/items Unsure where to start to resolve this?
  • 04-15-2020 10:57 AM In reply to

    Re: REST not returning values in web form but works fine in preview

    I'd drag the entire data connection onto the form so you have controls bound to it, and add a button that runs the query. Open the form, click the button - what happens? Hopefully you get an error w/ a correlation ID - which you can then give your SharePoint Admins so that they can investigate the ULS logs. :)
    Hilary Stoupa

  • 04-16-2020 12:04 AM In reply to

    Re: REST not returning values in web form but works fine in preview

     Thank you Hilary will give this a go

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.