Hello,
Could it be possible to have C# working example of flexmonster exportTo with an excel file on the server.
If any live example or sample code is provided will be really helpful in understanding the behavior and we can write down our own code using that.
Thanks
Hello,
Thank you for contacting us.
Currently, we do not have a ready to use C# sample that would demonstrate exporting the Excel file to the server.
Therefore, we would like to provide a general approach to implement such functionality.
First, send an appropriate request to the server using the exportTo
API call. To do so, specify the following parameters of the method:
{
"destinationType": "server",
"url": "https://..." //path to your .NET controller
}
The url
property demonstrated above should lead to the .NET controller that would receive POST requests from Flexmonster. After receiving the corresponding request, read the obtained file. The file itself can be retrieved by the filedata
key.
Finally, after reading the file, save it in an appropriate format on the server.
Please let us know if the above information helped to resolve the case.
Kind regards,
Illia