none
FILE URL file:// with ä in Path RRS feed

Alle Antworten

  • You have to encode the Url to UTF8, special characters (incl. space) to hex with %-Sign:

    https://www.url-encode-decode.com/

    Donnerstag, 15. März 2018 09:46
  • Hi

    I cant encode the URL because a SharePoint Webpart only enables direct web URLs and not a JavaScript. How can i do this :

    This does not work:   file://...............Ordner%20X  für Ordner X.  but this is the only way a Webpart for displaying a a file or Folder as a File link is possible in  the GUI of SharePoint Webparts.

    What ca i do?

    Thanks  Christian


    HC

    Donnerstag, 15. März 2018 10:13
  • I have tried the tool bit i doesnt work in SharePoint a file  URL:

    for Folder "BS Gebäudemanagement" 

    I have encodes this in the tool as:

    file://///ak-ooe.at/akooe/BEZIRKE/BS+Geb%C3%A4udemanagement

    But error in SharePoint :-(What  do i make wrong?

    Thx Chris


    HC

    Donnerstag, 15. März 2018 10:20
  • Hallo Christian,

    poste bitte auf Deutsch, du befindest dich hier im deutschsprachigen MSDN Forenbereich.

    Der von dir genannte URL ist falsch, daher musst Du, ggfs. serverseitig, dafür sorgen, dass er korrekt ist.

    Zum einen müssen die Sonderzeichen encodiert werden, zum anderen werden file:// Links in den meisten Browsern dennoch nicht funktionieren, wenn die Datei, in der der Link steht, nicht auch schon lokal bzw. per file:// geöffnet wurde.

    Abgesehen davon: Ist der interne Server (kein http Pfad!) ak-ooe.at wirklich in dieser Form für Windows Systeme erreichbar und hat eine Freigabe mit dem Namen akooe?


    Gruß, Stefan
    Microsoft MVP - Visual Developer ASP/ASP.NET
    http://www.asp-solutions.de/ - Consulting, Development
    http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community

    Donnerstag, 15. März 2018 10:23