File View - Web Component

PDF

                
<file-viewer
    id="file-viewer"
    filename="sample.pdf"
    url="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
></file-viewer>
                
            

Excel

                
<file-viewer
    id="file-viewer2"
    filename="Sample-Sales-Data.xlsx"
    url="https://go.microsoft.com/fwlink/?LinkID=521962"
<</file-viewer<