Skip to main content
18-Opal
March 16, 2016
Solved

Link/Shortcut object type to point to a shared network folder?

  • March 16, 2016
  • 1 reply
  • 2903 views

Does anyone know how to create a link within a PDMLink document folder to a network folder outside of PDMLink?

I know how to create links to other websites, but would like to create one to related shared network folders.  When I try to it always inserts the prefix http.. in front of the network location, so it doesn't work.  In addition, users have permission to create or delete link objects, but users cannot edit them!

Any ideas?

Best answer by LoriSood

You should be able to use UNC paths as link values.

Add the file:// protocol to wt.util.protocolsForHRefs property as per https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS134794 and then use file://<servername>/<path> as the link.

Example:

file://mycomputer/sharedFolder

file://mycomputer/sharedFolder/test.txt

1 reply

LoriSood23-Emerald IIAnswer
23-Emerald II
March 18, 2016

You should be able to use UNC paths as link values.

Add the file:// protocol to wt.util.protocolsForHRefs property as per https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS134794 and then use file://<servername>/<path> as the link.

Example:

file://mycomputer/sharedFolder

file://mycomputer/sharedFolder/test.txt

LawrenceS18-OpalAuthor
18-Opal
March 18, 2016

Thank you very much Lori!  That worked both with the UNC path and the letter path.  For example the equivalent of this worked on the network drive j:\

file://j:\test_folder\test_folder2

Now I just have to remember the syntax (and everyone else too.  To bad that it doesn't have an option on the setup screen so we wouldn't have to remember this text...

Another question about these links.  Users have permission to create and delete the links but not permission to edit.  We tried finding where to change the permission for these links but never found it.  Can you let us know how we can allow users to edit links after they create them?

Thanks again!  Lawrence

23-Emerald II
March 21, 2016

I have investigated this for other customers, and the following article should help with that: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS191736

Per https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS226178, some changes will be made such that admins and creators will be allowed to edit links (tentatively planned for 11.0 M010).