Focal Point
[CLOSED] Open PDF documents

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4667013036

April 20, 2013, 12:38 PM
FrankDutch
[CLOSED] Open PDF documents
We have a general ledger application where we add the scanned bills we get from other companies.
Within the GL application we can open the document.
Now one of the departments within the company asked me to build a report on the ledger database with a selection on some certain companies for example Bloomberg.
The report has some selections and works fine and the internal Id of the scanned PDF is available.
Now the next step would be that the end user can open this scanned document.
But it does not work...no access to the document for some reason.
When I do a dos dir command within a focus application it gives me the list of documents.
But opening does not work.
Any idea ?
I thought the webfocus application should have rights to the desired directory. The dir command proofs it has those rights.
It seems now that the rights should be the access rights of the user and not the application.
But when I want webfocus to write a document to a certain drive, I need to give webfocus the access to that location.
It sounds a bit strange....

I hope one can help.

This message has been edited. Last edited by: <Kathryn Henning>,




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

April 20, 2013, 01:55 PM
dhagen
I'm a little confused, are you just trying to open the PDF document via a link from the browser?

If so, then it is the web application that should have the access to the files, and you can - should - create a simple JSP to retrieve and byte stream the document.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
April 20, 2013, 02:12 PM
FrankDutch
Yes
Open only. The document is created by scanning the invoices.
If you say the webbrowser then it is in fact the end user who needs to have read access to the directory.
The report already holds an URL that points to the specific directory and seems to work, if we point to a public directory.
I am sure we get it to work, but it just confuses me.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

April 20, 2013, 05:30 PM
Alan B
Frank

Are you trying to access wit a direct URL, to a folder on the Web Server, or is the PDF on the WebFOCUS server?

What error are you getting, or what is happening, when you try and open the PDF file?


Alan.
WF 7.705/8.007
April 20, 2013, 06:08 PM
FrankDutch
The PDF is somewhere on the file server in a special directory .
We can address it via DFS
So it is not on the webfocus server
The error is something that tells me the application can not find the file, but I think it is something to do with access rights.
Although a dir file does show me the correct file.
I will try if I can do a copy file




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7