web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Make text field clickable and open file explorer

(0) ShareShare
ReportReport
Posted on by 2,601

I've got a CRM field which holds the path to a network folder, and want the user to be able to click this and file explorer open at that location.  I've found several posts online which discuss something similar but which are quite old and don't seem to work.  I'm using CRM Online.

I believe this could be done using a web resource.  Could anyone share the method, and code, they've used to achieve this?

TIA

*This post is locked for comments

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at
    RE: Make text field clickable and open file explorer

    It's browser security - you probably can't bypass it:

    stackoverflow.com/.../can-google-chrome-open-local-links

  • CU21020959-0 Profile Picture
    2,601 on at
    RE: Make text field clickable and open file explorer

    Hi Paul,

    I followed the instructions at http://blog.zealots.solar/?p=54, and everything seems to work but clicking on the icon link does nothing.  On Chrome F12 debugging shows an error : Not allowed to load local resource: file://SERVERPATH

    Is this an issue you had?

  • Suggested answer
    keyur7379 Profile Picture
    902 on at
    RE: Make text field clickable and open file explorer

    As you said you have to use web resource.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Make text field clickable and open file explorer

    I believe this is the guide I followed to get this to work:

    blog.zealots.solar

    It worked after playing around with it. I don;t use it right now however, as I'm using Attachment Extractor.

  • CU21020959-0 Profile Picture
    2,601 on at
    RE: Make text field clickable and open file explorer

    Thanks for the reply Keyur.  This is what we have currently but CRM allways adds http:// to the link so tries to open it in a browser.  I want to open the file location in a windows file explorer.  The file locations are network paths, i.e. \\server\share\directory

  • Suggested answer
    keyur7379 Profile Picture
    902 on at
    RE: Make text field clickable and open file explorer

    Hi ,

    You can create the text field and set format as URL.

    Please check this URL :  http://www.powerobjects.com/2014/10/23/how-to-create-url-text-field-using-javascript-dynamics-crm/

    Thanks,

    keyur shah.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans