Downloading a csv after clicking on button in sail form.

Can someone guide me in how to download a csv(containing records) after the click of a button in sail form ? .

Steps what i have taken now is .

Expression Rule - Contains the queryEntity which fetches the data from database.

Web Api - Uses the csv template which calls the Expression rule .

Integration Object - calls the web api 

 

I am trying to call this integration object into the saveInto of the button which will in turn call the integration object which will fetch the excel  . Is this the correct  approach ?

 

 

Thanks,

Rohit Ouhal

  Discussion posts and replies are publicly visible

Parents Reply Children