Please see below for what we did and the results we got.
Renamed PDF file to ItemNumber.PDF
Created a .txt file called PDF Script and put in the script as follows:
Dim wsh
PDFPath="C:\Users\Mikes\Desktop"
PDFFile = ItemNumField & ".pdf"
set wsh = CreateObject("WScript.Shell")
Return = wsh.Run (PDFPath & PDFFile,1,False) Set wsh = Nothing
Via the customizer panel, I created a External Link Definition.
Main tab – Text: PDF
Bitmap: Button
Link Settings- Type: MS Script
Language: VBSScript – Visual Basic
File Name: C:\Users\Mikes\Desktop\PDF Script.txt
Execute Script on Client (testing this in a test company on my computer before trying on server)
Options - Default – Nothing Changed
Here is there error information I get when I click on the button in Inventory Inquiry.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.