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

URL to the latest version of a WTDocument?

Level 1

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

Re: URL to the latest version of a WTDocument?

‌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

Re: URL to the latest version of a WTDocument?

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%20cont...

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

Re: URL to the latest version of a WTDocument?

Thanks for the info Binesh.

Re: URL to the latest version of a WTDocument?

Thanks for the info Theresa