Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

File Download Not working in Field Service Mobile

Posted on by 5

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

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: File Download Not working in Field Service Mobile

    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.

    https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/create-web-resources-iframe-mobile?view=op-9-1

    https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/iframe-web-resource-support-dynamics-365-phones-tablets?view=op-9-1

    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 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans