Following is the Microflow that is getting called on click of a grid row, which is showing list of documents shown by a non persistent entity pulling list of document (name and bunch of id’s from an external database) using a .Net web service.
The dilemma I have is how can I open the saved document on the browser side because I am not dealing with a System.FileDocument entity here, which is required by DownLoadFile activity.
Accomplished this by consuming a .Net web API that we created to open file.
How is the data being returned?
For example, if it’s Base64 encoded you can use the Community Commons module to call Base64DecodeToFile, and that will give you a FileDocument you can use to download the file.
If you know the file name and location already, you can use Community Commons GetFileContentsFromResource action to get the FileDocument.
There are a number of methods in Community Commons that can help with file handling, so if the above don’t work, you may find another method that does.