Link issue "Invalid URL Error"


  • Hello, we are using Solidworks Enterprise PDM Document management system for which we were creating links in Sharepoint. WHen a user clicks on the link it would pull the document from the document management system  The old system was working because the links were actual http links.

    Well the new system is build to where the links are like this conisio://PDM/open?projectid=41&documentid=17340&objecttype=1

    When I create a new link in Sharepoint and click the "Click here to test" The link works fine but when I click OK to create the link I get the error "Invalid URL"

    Is there a way I can change the Sharepoint link function to be more lenient to where it will accept the link?

    Mittwoch, 13. Juni 2012 19:54

Alle Antworten

  • I found this on the Internet but it didnt work for me.  Does Sharepoint really use this core.js file to control what links will be accepted inside of Sharepoint?

    1.Open Core.js in Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\INC

    2.Look for the line with the text "Hyperlink.arrAllowedProtocols"

    3.Add the necessary protocol to the list of protocols below

    4.Return to a web browser and press Ctrl + F5 to force a reload of cached javascript files

    5.Insert the previously outlawed protocol link to test

    Donnerstag, 14. Juni 2012 12:32
  • Hi JerrySAS,

    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.

    Lhan Han
    Mittwoch, 20. Juni 2012 06:34
  • Thank you Lhan.  Hopefully this can be resolved.

    Mittwoch, 20. Juni 2012 13:14
  • Hi JerrySAS,

    Tahnk you for your post. Hyperlinks in hyperlink fields must use protocols supported by Windows SharePoint Services. Some protocols, such as telnet, gopher & other custom ones , are not supported for security reasons.   

    This is By Design . List of Supported protocols is

    "http://", "https://", "file://", "file:\\\\", "ftp://", "mailto:", "msn:", "news:", "nntp:", "pnm://", "mms://", "outlook:"


    Manas Biswas
    Microsoft Online Community Support

    Please remember to click 'Mark as Answer' on the post that helps you or click 'Unmark as Answer' if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Montag, 30. Juli 2012 05:57