Posted 4 September 2024, 6:40 am EST - Updated 5 September 2024, 1:13 am EST
Fetching Reports in Designer
Posted by: anjushaji0007 on 4 September 2024, 6:40 am EST
-
-
Posted 5 September 2024, 3:21 am EST
Hi Anju,
It seems like the report and the html file didn’t come through. Could you please attach the same again? Along with that, also please check the attached sample application where the reports are being fetched in the designer as expected.
Attachment: ARJSDesigner.zip
-
Posted 5 September 2024, 3:26 am EST
integrate.zip Attached HTML file
-
Posted 5 September 2024, 11:18 pm EST
Hi Anju,
The error you’re encountering is due to CORS (Cross-Origin Resource Sharing) restrictions. When you’re trying to access local files using the
protocol, browsers block such requests for security reasons unless you serve the files using a web server with the appropriate CORS headers.file:///
You may use a local web server like VS Code Live Server Extension to fix this issue. After serving your file using a local server, you should be able to load and fetch it without CORS issues.