Skip to content

Office Document Viewer #1220

Closed
Closed

Description

@itg-assistant

Tung Ngo asked 2017-11-19 08:35:39 UTC

Hello,

What is the best way to display office documents (docx, xlsx ..) in a wisej application.

Thanks

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-20 17:54:59 UTC

    You can use any viewer that works online, here are some.

    Microsoft has a free online viewer:

    https://products.office.com/en-us/office-online/view-office-documents-online

    You can create the URL in the app and assign it to an IFramePanel.

    You can also use google docs, or only office (http://onlyoffice.org/ or http://onlyoffice.com).

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-21 18:41:26 UTC

    We are going to upload the source code for a new extension to view office documents using their free office viewer. The extension will be able to show documents on the server, as well as from a stream allowing you to view office documents from any source (including a database) or to create them on  the fly.

    The extension shows how to filter all requests to the web server since it needs to change the URL because Microsoft Office Viewer cannot handle sources with parameters.

    Small demo: http://demo.wisej.com/officeviewer

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-21 18:44:52 UTC

    Forgot to add that the OfficeViewer extension is also secure since the postback URL is bound to the session so your documents are not public. The normal usage of the MS Office Viewer requires the documents to be public.

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Tung Ngo answered 2017-11-22 04:55:55 UTC

    Dear Luca,

    It’s what I’m looking for. Can not wait to include it to my application.

    Regards,

  5. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-22 22:18:25 UTC

    It's available  here: /extensions

    • The application must be accessible over the internet.

    • It's not  possible to use the office viewer with a server without internet access.

    • The build uploaded also supports the FileRequested event allowing an app to return any document or stream when requested by the viewer.

  6. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Tung Ngo answered 2017-12-18 22:36:52 UTC

    Could you provide the code for the example http://demo.wisej.com/officeviewer

    I don' want to provide the URL of my document to the public Viewer.

    Thank You

  7. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-12-19 17:29:58 UTC

    Here it is: http://s3.amazonaws.com/wisej/downloads/Examples/Wisej.OfficeViewer.zip

    It will not work when running it on localhost since office viewers need a publicly accessible url.

  8. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Orel Gabay answered 2018-05-22 11:01:50 UTC

    hi Wisej Team

    Does the OfficeViewer is working?

    i'm having problem while testing the example over the internet.

    The url example :  http://demo.wisej.com/officeviewer

    is also broken.

    thank in advance ,

    Orel

  9. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2018-05-22 16:18:53 UTC

    Hi Orel, I have updated the extension download and the version running on our demo wisej server. Please try again. Thanks, Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions