locked
"file://" Display Type for a field of "Single Line of Text" in CRM 2013 RRS feed

  • Question

  • Hello,

    We're using CRM 2013 and want to use a Single Line of Text that as a file URL.  So, when a person clicks the link, it opens up the PDF, DOCX, etc...  The file is located on our file system and not SharePoint.  I have 2 issues:  1)  displaying the URL and 2) inputting the file name. My thoughts so far are:

    1) For displaying the URL, we've set the Display Type on the field to URL, however, the CRM automatically appends an "http://" in front of it because "file://" is not a valid according to the CRM specs (I read that here:  http://msdynamicscrmblog.wordpress.com/2013/10/22/types-of-fields-in-dynamics-crm-2013/)     What is the best way to format that on the browser?  Is it possible to create a new Display Type for the Field in C# code?  Is there a way to custom format the field in the browser?

    2) Although this part is not really a requirement, is there a way to browse to the file in the edit screen so we can capture the file name and then change it to a file url?   I haven't thought to much of this yet.    We don't have SharePoint installed to use this.

    Your help is greatly appreciated!

    SteveS

    Sunday, February 16, 2014 12:52 PM