Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Entering a file path or UNC and having a clickable link in CRM / Open local files and folders in CRM 2016 and Dynamics 365 / Accessing network shared path file

$
0
0

We had a solution in CRM 2011 that allowed users to enter and click a link to access to local file resources and UNCs.  Worked great.  

ie: user enter some UNC and got a clickable link.  Code below.  Easy for end users = good.  Low impact for admins = good.

var setStyles = function(element,value){
if(element){
element.style.textDecorationUnderline = true;
element.style.color = "blue";
element.attachEvent('ondblclick',function(){
var e = (event||window.event);
var w = window.open(e.srcElement.value,"","",true);
if(e.srcElement.value.toLowerCase().indexOf('outlook')!=-1){
w.close();
}
});
}
}
var qu2 = document.getElementById('new_quoteloc');
setStyles(qu2);

With the elimination of DOM support, things no longer work.  I have yet to find a solution to this problem.  AFAIK, in CRM, even in the latest version, we have ONLY text or URL options to choose from (and URL does not recognize FILE:\\ or \\ UNC).  

There seems to be no OOB mechanism to support giving end users the ability to open files unless you implement full-blown Sharepoint integration, which I think might solve the problem but that's far more cost and complexity than this situation needs.

Unless I'm mistaken, none of these seem to work for this application:

community.dynamics.com/.../198258

• http://thecrmclub.blogspot.in/2013/10/step-by-step-how-to-open-local-file.html

• http://blog.zealots.solar/?p=54

• https://community.dynamics.com/crm/f/117/p/20893/32949#32949

• https://community.dynamics.com/crm/f/117/t/141389

• https://community.dynamics.com/crm/f/117/t/218056

• community.dynamics.com/.../141897

• https://community.dynamics.com/crm/f/117/t/163993

• https://community.dynamics.com/crm/b/crmmattwittemann/archive/2008/09/19/create-a-link-to-a-file-or-directory-from-a-crm-record

• community.dynamics.com/.../creating-a-network-path-text-control-for-microsoft-dynamics-crm-2011

Seems like a lot of other people have asked this same question but MS does not think it's important enough to support OOB so I'm wondering if anyone has found a custom solution?

Thank you.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>