Arelle / ixbrl-viewer

The Arelle iXBRL Viewer allows Inline XBRL (or iXBRL) reports to be viewed interactively in a web browser. The viewer allows users to access the tagged XBRL data embedded in an iXBRL report.
Other
96 stars 58 forks source link

[QUESTION] How can i intergrate with my angular project? #693

Closed MShahzadulHassan closed 2 days ago

MShahzadulHassan commented 3 months ago

What question do you have? Be sure to check the wiki to see if it has been answered before

Hello, I am integrating the ixbrl-viewer in my angular project to view xhtml files, but it is not working, i installed the ixbrl-viewer using "NPM INSTALL" and also i add it in index.html file like this "" and in the component.ts file i declare "declare let ixbrlviewer: any;" but it is not liading ixbrl-viewer. Can you please help me in this how can i load my file in this ixbrl-viewer? image You can also see the error in the screenshot Thanks in advance!

paulwarren-wk commented 3 months ago

As noted here :

In order to view an iXBRL report in the viewer, it must first be prepared using the Arelle plugin. The preparation process updates the iXBRL file to include:

  • A link to the JavaScript viewer
  • A block of JSON data that contains the results of processing the XBRL data and associated taxonomy

You will need to follow the instructions for preparing the viewer data using either the Arelle GUI or the command line

MShahzadulHassan commented 2 days ago

Thank you