Cannot create a Query Data Connection for one Library of a site, but can for very similar ones on same site - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Cannot create a Query Data Connection for one Library of a site, but can for very similar ones on same site

Last post 05-22-2026 12:00 PM by sbhunter. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-22-2026 12:00 PM

    Cannot create a Query Data Connection for one Library of a site, but can for very similar ones on same site

    SSIA :)

    I have a site with 2 very similar XML libraries, one of which has at least 1 Query data connection; the other library is the one used for the SharePoint Library Submit DC, but when I try to create a Query DC for it, it cannot get its list of columns ("Encountered an error when retrieving columns: Failed to fetch"). It seems be running afoul of CORS:

    Access to fetch at 'https://login.microsoftonline.com/3456fe92-cbd1-406d-b5a3-5364bec0a833/oauth2/v2.0/authorize?...' (redirected from 'https://formsv.nycourts.gov/WebProxy/GetColumnsByListId?...')
         from origin 'https://formsv.nycourts.gov' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    middleware.js:18  GET https://login.microsoftonline.com/3456fe92-cbd1-406d-b5a3-5364bec0a833/oauth2/v2.0/authorize?...  net::ERR_FAILED 200 (OK)
    

    What can I do to query this library?

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