Skip to main content
1-Visitor
Apr 13, 2016 8:25 PM UTC
Question

URL to the latest version of a WTDocument?

All,

I'm trying to create hyperlinks to WTDocuments in a SharePoint site, and would like to find a way for the link to always point to the latest version of the WTDocument in Windchill (10.1 M040, about to go to 10.2 M030)..., is this possible?

Thanks in advance,

Alex

4 replies

2-Explorer
Apr 14, 2016 3:01 AM UTC

‌Hi Alex,

Out of the box, this is not possible. You need to create a JSP which will receive the document number and  direct to the latest version of wtdocument. From sharepoint, you can always refer the URL as httl://windchill.server.com/Windchill/customSearch.jsp?n=documentnumber. This is an easy customization and jsp is deployed outside Windchill code, so a non intrusive customization

Thank you

Binesh Kumar

Translate
1-Visitor
Apr 18, 2016 2:41 PM UTC

Thanks for the info Binesh.

Translate
2-Explorer
Apr 14, 2016 9:21 PM UTC

There is an ootb servlet that will redirect your browser and open the latest primary content:

.../Windchill/servlet/AttachmentsURLRedirectServlet?oid=VR:wt.doc.WTDocument:347057

There may also be a way to capture the url of the content that is always the latest.  We are running 10.2 M030 now.

There is also a PTC document that explains this:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS70348&art_lang=en&posno=1&q=latest%20content&source=search

Even though it says it is applicable to Windchill 9.1 and 10.1 all Datecodes, it still works with 10.2 M030.

Translate
1-Visitor
Apr 18, 2016 2:41 PM UTC

Thanks for the info Theresa

Translate