
We have form embedded html web resource which use to download image as shown as bellow. This is not working in any mobile platform. Are there any workaround or any suggestion for this issue?
1st approach -
function DownloadImage(srcEncoded, filename) {
const linkSource = srcEncoded;
const downloadLink = document.createElement("a");
downloadLink.href = linkSource;
downloadLink.download = filename;
downloadLink.click();
}
2nd approch -
var imglink = '<a href = "' + srcEncoded+ '" download = "' + filename + '" style="color:#bf425d"> download </a>'
srcEncoded is a 64bit encoded string
Hi Randika,
The capability to display web resources and Iframes in phone clients was introduced in Dynamics 365 for Customer Engagement apps version 9.0.
Is it offline? Web resources are partially supported in offline mode. Refer to the table below for more information.
https://learn.microsoft.com/en-us/dynamics365/mobile-app/mobile-offline-capabilities#limitations