Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic HTM page

Status
Not open for further replies.

DaSmee

MIS
Jun 26, 2002
40
GB
Okay, here is a real interesting one for you all !!

We run a finance module of/within Great Plains, there is a module within this that is for Invoice Approvals, a function of this is to be able to view "scanned" images of Invoices, these are stored in an IIS virtual directory as .jpg files, it does this by creating a "dynamic/temporary" .htm file called view.htm in the "TEMP" (User variable) folder and launching this into an Internet Explorer window. The first problem we encountered was that, as a security measure of our server build, we hide the C: of the server, not uncommon and inded goo practice, the application however did not like the fact that it couldn't see the hidden "TEMP" folder(within the users profile on C:) so okay, we got around this by using a vbscript to launch the app whilst changing the users Temp variable to point to a non-hidden albeit mapped network drive Temp folder, in this way, the view.htm was succesfully created.

Now, if you are running the application in a "full/virtual" desktop, then when you click on the URL link from within the application, it works fine, launches the dynamically created view.htm whcih is now on the X:\Temp (currently a picture of Clint Eastwood! purely for testing purposes) and all is great, however, if you run Great Plains as a "Published App" and try luanching the URL, although it succesfully creates the dynamic view.htm (Clint) and launches the Internet Explorer window, it fails to load the view.htm into the window, and just uses whatever the default homepage is at the time, when you the subsequently close IE, you see an error message claiming that it was unable to "locate" the view.htm file, even though it did succesfully create it!!

Okay, so what is the difference between the VirtualDesktop version and the Published app version?? I am SOOOO STUMPED!!!!

Any suggestions would be great.

 
Obvious, but... Are you using the same login ID? Is the file created in your X: mapping? Can you see it in there?
If it is, try viewing it.

Jon

There is much pleasure to be gained from useless knowledge. (Bertrand Russell)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top