Open File in Appropriate App

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
rmullis99
Profound User
Posts: 26
Joined: Wed Jun 24, 2015 9:33 am
First Name: Robert
Last Name: Mullis
Company Name: UFCW
Contact:

Open File in Appropriate App

Post 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.
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Open File in Appropriate App

Post by emhill »

Research the Profoundlogic pui.download API:

http://www.profoundlogic.com/docs/pages ... d=10092549
rmullis99
Profound User
Posts: 26
Joined: Wed Jun 24, 2015 9:33 am
First Name: Robert
Last Name: Mullis
Company Name: UFCW
Contact:

Re: Open File in Appropriate App

Post by rmullis99 »

Thanks Eric.

That did the trick.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests