Skip to main content
4-Participant
September 2, 2015
Question

Are there any best practices on creating links to items within Windchill?

  • September 2, 2015
  • 1 reply
  • 3619 views

I'm interested in linking to files uploaded within Windchill for others to directly access (obtaining a URL to email or embed in a document).   I'm referring to things like secondary content, discussion threads, attachments within discussion comments or in a notebook, representations, etc.  I can create links to the primary content (documents only not CAD) and to the general details page but these others seem to be hard to do.  Any ideas?  I'm using Windchill 10.1...

1 reply

1-Visitor
September 2, 2015

Most WTObjects will have a specific URL for a specific object version.  Have you browsed to a few of the objects you have mentioned and looked at the URL to see how it changes?  What do you mean by "these others seem to be hard to do"?

4-Participant
September 2, 2015

Yes, I have looked at the URL but have not been able to decipher the format for the items I mentioned.  Also, by hard I meant not straightforward.  FYI, the items I that I have been able to do was in one of two ways.  Either a direct link is provided somewhere that can be right clicked on in a browser and saved or I can browse to the object and simply copy the URL from the browser.  For the other things I mentioned however, particularly the secondary attachments and attached files in a Notebook or Discussion, the link produced is not persistent when saved.   Later if I try to use the link I get an apache tomcat error.

Just wondering if someone had seen some recommended practices for this kind of thing.  i.e.  Where are the best places to grab a link that will be persistent?  At least on our installation of Windchill it's NOT on the link that says "Download from the main site" that appears after selecting to open an attached file...

23-Emerald IV
September 2, 2015

I believe for security reasons the download links are intentionally built to only work once, and only for a short period of time.  I remember reading a discussion somewhere on this site where someone wanted a URL that would always take them directly to the latest version of an object (not secondary content).  I believe they had to build a custom application that would query the database (InfoEngine??) and then redirect them to the latest version.  I'm not sure you're going to find what you're looking for without manual customization...