Button Download

Certified Senior Developer

Hi,

I want to implement  a functionality, wherein I am displaying a button, and on click of that buttton, I am letting user to download a file containing data from the database.

I am using exportDataStoreEntityToCsv() smart service to achieve this. But it is a 2 step process, and I am not quite sure how to integrate the download functionality in the button. 

Can anyone help me in this ?

  Discussion posts and replies are publicly visible