2 Replies Latest reply on Apr 3, 2014 8:28 AM by Geir Danielsen

    Sharepoint Hyperlinks into EPDM

    Jeff Sweeney

      I want to add hyperlinks in SharePoint to files within my EPDM vault.

       

      SharePoint blocks all hyperlinks that are not http://, https://, or mailto://, thus our consio:// protocol will not work.

       

      The Lotus Notes people have this problem too. (They use notes://) so you can get many Google hits, but far as I can tell none actually work!

       

      Has anyone ever been actually able to get an EPDM hyperlink to work in SharePoint? ...or any clever work around?

        • Re: Sharepoint Hyperlinks into EPDM
          Michael Marshall

          Jeff - Found a way to do this using a web part, but wow is it clunky. Still trying to work out a few details to make it semi-useful...thought at the moment for us its a solution in search of a problem.

           

          I'll contact you to walk you through what I have so far.

          • Re: Sharepoint Hyperlinks into EPDM
            Geir Danielsen

            If you have a local intranet site you do something like this in an aspx file:

            http://intranet/Jeff/EPDM_Link.aspx?v=JeffVault&pid=3&did=4&t=explore

             

            EPDM_Link.aspx code

            <%@ Page Language="VB" AutoEventWireup="false" CodeFile="EPDM_Link.aspx.vb" Inherits="EPDM_Link" %>
            
            
            EPDM_Link.aspx.vb Code:
            Partial Class EPDM_Link
                Inherits System.Web.UI.Page
            
                Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
                    'http://localhost/Jeff/EPDM_Link.aspx?v=JeffVault&pid=3&did=4&t=explore
            
                    'conisio://JeffVault/explore?projectid=5372&documentid=27185&objecttype=1
                    'open– Opens the file in associated application
                    'view– Opens the configured “Viewer” application for the file
                    'explore– Opens an explorer window in the folder the file resides and selects the file
                    'get– Triggers a Get of the file to the local file vault view
                    'lock– Checks out the file
                    'properties– Brings up the file properties
                    'history– Brings up the file history
            
                    Dim vault As String = ""
                    If Not (Request.Params("v") Is Nothing) Then
                        vault = Request.Params("v")
                    End If
            
                    Dim projectId As Integer
                    If Not (Request.Params("pid") Is Nothing) Then
                        projectId = Int32.Parse(Request.Params("pid"))
                    End If
            
                    Dim documentId As Integer
                    If Not (Request.Params("did") Is Nothing) Then
                        documentId = Int32.Parse(Request.Params("did"))
                    End If
            
                    Dim typ As String = "open"
                    If Not (Request.Params("t") Is Nothing) Then
                        typ = Request.Params("t")
                    End If
            
                    'conisio://JeffVault/explore?projectid=3&documentid=4&objecttype=1
                    Response.Redirect("conisio://" & vault & "/" & typ & "?projectid=" & projectId.ToString & "&documentid=" & documentId.ToString & "&objecttype=1")
                End Sub
            End Class