Page 1 of 1

Open File in Appropriate App

Posted: Thu May 26, 2016 7:58 am
by rmullis99
I have a folder /profoundui/userdata/custom/reports/ that has files in it, such as PDF, XLSX, DOCX, etc. I am displaying a list of the files in a grid. I want to open the file in the appropriate app (Adobe Acrobat, WORD, etc.) using the grids onrowclick event. So far I haven't been able to get it to work using the runPCCommand. If I can't get it to open directly, I was thinking of trying to get it to open the open/save dialog box.

Does anyone have a suggestion on the solution?

Thanks in advance.

Re: Open File in Appropriate App

Posted: Thu May 26, 2016 9:00 am
by emhill
Research the Profoundlogic pui.download API:

http://www.profoundlogic.com/docs/pages ... d=10092549

Re: Open File in Appropriate App

Posted: Thu May 26, 2016 9:06 am
by rmullis99
Thanks Eric.

That did the trick.