Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Microsoft Edge - Open UNC Link in File Explorer

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone,

I have a Single Line of Text that is filled with a Link to a share Folder (like \\Folder1\Folder2\Folder3 ).

My scope is to make the field clickable in order to be opened on Windows File Explorer. I have already found this link: http://blog.zealots.solar/?p=54

with this web ressource:

<html>

  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <a id="doclink" style="border: 0px currentColor;" href="http://www.example.com" target="_blank">
      <img style="border: 0px currentColor;" src="stsr_folders_icon.png">
    </a>
    <script language="javascript" type="text/javascript">
      var linkval = window.parent.Xrm.Page.data.entity.attributes.get("stsr_documents").getValue();
      var a = document.getElementById('doclink');
      a.href = "file:"+linkval;
    </script
  </body>
</html>

but it is not working.

Has prehaps somebody in this community had this demand in his/her company? If yes, how did you solve it?

We run Dynamics CRM Online on Microsoft Edge.

Thank you in advance and best regards.

*This post is locked for comments

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans