Posted 9 June 2022, 8:57 am EST
Hello,
Please refer to the following points for the resolution of the above query:
When I installed AR 16 trial version, I don’t see any files for JSViewer (neither js nor css). Can you please share the steps to install jsviewer?
The attached sample utilizes node.js to download npm package which contains the required jsViewer js and CSS files.
https://www.npmjs.com/package/@grapecity/ar-viewer
My application tries to view the RDF file in jsviewer which throws an error. The RDF file is attached for your reference.
Could you please provide a screenshot of the error message which you are getting at your end? Also, it seems like the RDF file was not attached properly in the last reply, could you please try sharing it again?
Do I always have to use the OWINStartup class with jsviewer? If yes, then do I have to place the RDF files at a specific location?
Yes, it is used to specify the reporting API, which would host all the required files to be viewed by the JSViewer. The below sample uses EmbeddedResource to fetch the required files, alternatively, you can also use FIleStore to provide the directory of your choice.
For more information on the same, please refer to the below link:
https://www.grapecity.com/activereportsnet/docs/latest/online/pure-js-integration.html
Please find the MVC Core JSViewer sample attached below.
Regards
Dushyant Sharma
JSViewer_MVC_Core.zip