cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

URL to the latest version of a WTDocument?

avardanega
1-Newbie

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 4

‌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

Thanks for the info Binesh.

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.

Thanks for the info Theresa

Top Tags