1 Reply Latest reply: Jan 21, 2013 4:41 AM by Christian Erlinger RSS

    how to open excel file on client's browser ??

    yash_08031983
      hello experts,

      i am using form 10g,
      fomr service is running on server. their is a excel file on server and i want to open that excel file on client with the web.show_document built-in . please help me.

      thanks
      yash
        • 1. Re: how to open excel file on client's browser ??
          Christian Erlinger
          create an aliasmatch on the server pointing to the directory where your xls files are located, and call it via web.show_document like
          web.show_document('http://<your_server>/your_alias/your_document.xls');
          You certainly can use a relative path, but without testing I am not exactly sure where it starts; e.g.
          web.show_document('../your_alias/your_document.xls');
          but as said I didn't test this and am not sure. You'll have to play around a bit.

          See here on how to create an aliasmatch:

          http://httpd.apache.org/docs/2.2/mod/mod_alias.html

          cheers