Open file from Button

Home Forum General Open file from Button

This topic contains 3 replies, has 0 voices, and was last updated by  sturmeyp 7 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #845

    sturmeyp
    Participant

    Hi

    What behaviours do I need to put on a button to open a local file?

    For example if I had a spreadsheet saved on my PF server in c:downloadsfile.xls and wanted to open this file from a button – what needs to be done

    thanks

    #5889

    The local file will not be open with PerfectForms. In this case it would be opened with Excel. What is the scenario you are trying to manage?

    Workflow software, Process software, Procedure software

    #5890

    sturmeyp
    Participant

    Yes to open the file in Excel is what I require – but I need to do this from a button within PerfectForms. I’m just not sure of the what action to use on the button – thanks

    #5891

    You would have to write a script in the page where the form is embedded. Then you can use a Call JavaScript behavior object to run it. I do not know how to write a script that would take a downloaded file and open it with a specific application on the local system.

    Workflow software, Process software, Procedure software

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.