Posted: 15 Mar 2018 7:16 EDT Last activity: 19 Jan 2021 8:12 EST
Download working only once
I want to download a simple text document on click of a button in PRPC7.3.1. On click of the button I refreshed the section and called an activity that has just one java step. The java content is given below. On first click of the button, the document is downloading properly but thereafter its not throwing to browser. I traced, all the steps are executing properly. If I refresh the complete URL from browser, it again works fine for one time only.
Hi Avishek - You can get Application Name from your access group. The activity should contain a step that throws the excel's content byte array to browser e.g tools.sendFile(byteArray,FileName, false, null, true);
I have a grid and each record in the table has a link. Onclick of link, the file download needs to happen from a specific location. I am using activity to download the file. I am able to download one file only. If I try to download the next.... nothing happens on click.