Downloading MVC List output from application

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
smackie
Posts: 46
Joined: August 26th, 2021, 2:02 pm
Contact:

Downloading MVC List output from application

Unread post by smackie »

I am trying to use a download data controller in MVC; however I have not been successful. I created the controller and have tried to set the fields using both static values and dynamic loop but nothing results in the attached screen being downloaded as a csv file.
image.png
I would really appreciate some direction on how the controller should be setup to download data.
word count: 64

Tags:
JustinVanRegenmorter
Posts: 573
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Downloading MVC List output from application

Unread post by JustinVanRegenmorter »

Hello Sheryl,

In the basic list setup helper after the list is created you will see that the SubMethod that holds the Inquire service will also hold a service called DownloadDataFile and setup the node inside it. The Loop node is just the output path to the Result node of the Inquire service.
Service Setup.PNG
Here is how the SubMethod is setup:
SubMethod.PNG
SubMethod.PNG (76.06 KiB) Viewed 1472 times
SubMethod.PNG
SubMethod.PNG (76.06 KiB) Viewed 1472 times
word count: 76
JustinVanRegenmorter
Posts: 573
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Downloading MVC List output from application

Unread post by JustinVanRegenmorter »

There is also an issue with the DownloadDataFile service which I made task 10571 to fix it.
word count: 17
JustinVanRegenmorter
Posts: 573
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Downloading MVC List output from application

Unread post by JustinVanRegenmorter »

Revisited this issue and confirmed it is no longer happening.
word count: 10
Post Reply