-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
Description
Describe the bug
I have connected the SharePoint with PAC command, particularly a document library, where I want to use one of the image as Banner Image in Code Apps application. When it is running locally, image is loading properly. But when I publish the app, then image is not loading and I am able to see CORS issue on the console. Ideally this is the connected data source not something external link according to code apps.
Steps to Reproduce
- Connected the SharePoint document library as the data source.
- With the get function I am calling a particular item (means an image).
- Appending the image as a background image for the code apps application.
- Getting CORS issue after publishing.
Expected behavior
At least connected data sources needs to be loaded without any CORS, because we have already added the data source URL inside schema too.
Actual behavior
Images as not loading, is it because Code Apps is running in an iframe ?
Screenshots or Error Messages
Environment information
- Framework, build tool or relevant package used: [React]
- Any connection/components: [SharePoint]
Additional context
Reactions are currently unavailable