166
Views
4
Comments
Solved
Refresh web block after a download (traditional)
Application Type
Traditional Web

Hi everyone,

I have a situation where I upload an excel via a button. At the end of the upload action I would like to download the uploaded excel, with some modification.

My problem is that the table where I display the uploaded excel information is not refreshed at the end of the action.

The table is in another web block, I tried using an ajax refresh before the download action, but with no avail.

There are other methods?


Thanks



2021-09-06 15-09-53
Dorine Boudry
 
MVP
Solution

Hi Allesandro,

download + ajax submit don't go together.

you can find a possible solution in this forum post.

(specifically the answer with demo from @Kilian Hekhuis )

Dorine

2019-12-06 08-26-53
Jorge Rodrigues

Hello,

Can you submit the OML to see how things are set up?

Regards,

Jorge Rodrigues

2021-09-21 09-26-31
Aadhavan Shanmugam

Hi, 

I have attached a sample app. check if this is helpful for you

Thanks, Aadhavan S

Sampleeee_v37.oml
UserImage.jpg
alessandro cataldi

Hello,


@Jorge Rodrigues , I have submitted a mockup with the same problem 


@Aadhavan Shanmugam I have tried your solution, but every load triggers the preparation of the download block and the only things that happens is that it downloads a file, the page doesn't load


Thanks

Test.oml
2021-09-06 15-09-53
Dorine Boudry
 
MVP
Solution

Hi Allesandro,

download + ajax submit don't go together.

you can find a possible solution in this forum post.

(specifically the answer with demo from @Kilian Hekhuis )

Dorine

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.