Skip to main content

Hi,

 

How do you link to a Shared drive location from a Hyperlink in K2?

For example, i may have G:filesPokerstars

 

How do i do a link via a View to Open a file location ???

 

Thanks

Good day Sharpharp1


 


I hope the following will help.


“Rich Text - Linking to Network File”: https://community.k2.com/t5/K2-Five/Rich-Text-Linking-to-Network-File/td-p/114014.


 


Best,


Sunrise


Hello  @Sharpharp1 ,


 


If all you want is a hyperlink then please try this.


 


Drag a data label on the form or view. Then in the text property of the data label type type the following html hyperlink.


 


<a href=htp://something> click here</a>


 


Now when you run the form or view it should turn into t click me link.


 


 


You can also have a look at this broker:-


File Service Broker v2.0:


https://community.k2.com/t5/K2-blackpearl/File-Service-Broker-v2-0/ba-p/92469


 


Hope this helps.


Hi Kagiso,

 

Whats the format if you want the HTTP link to go to a Shared Drive File location ?

 

It works fine if its a URL to a website, but can't get it to go to a network drive and open a location...

 

I have tried a data Label with this in the text property:

<a href="file/////F:Tester">Click Here </a> and Prevent XSS unticked, Literal ticked

When running this, I get the error:

Server Error

A potentially dangerous Request.Path value was detected from the client (:).
(http 500 error)
 
Any ideas?

Please review the document: https://help.k2.com/support-services/kbt154895


Hi Kagiso

 

Already seen that document, that doesn't apply in this case, as i am not using the UNC "servername

 

I am trying to use a Network shared drive mapped locally to a drive letter i.e. F:Test for example

 

Any suggestions welcome.

Thanks


Reply