Article - CS368606

Trying to display a representation PDF file from Windchill is not working on Windchill Navigate and ThingWorx platform

Modified: 01-Oct-2025   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 9.2 to 9.4
  • ThingWorx Platform 9.4

Description

  • Trying to display a representation PDF file from Windchill in ThingView widget in Windchill Navigate is not working
    • ThingView can display PDF directly (see article 352469 )
  • Trying to display a representation PDF file from Windchill in Webframe widget in ThingWorx is not working
  • Tested links as below ( that always open a PDF in web browser ) in ThingView > ProductToView
    • URL 1 :  https://<WINDCHILL>/Windchill/servlet/WindchillGW/wt.fv.master.StandardMasterService/doDirectDownload/0000000022_drw.pdf?folderId=158390&ft=FF&userid=12&adId=222221&fileName=00000000008836&refsize=60100&mime=application/pdf&mk=wt.fv.master.StandardMasterService&ofn=0000000022_drw.pdf&c=31&riid=-1&sT=1641912346&sign=%2F0gdyT3BTYiYY%2Bc0Vcdw9w%3D%3D&site=https%3A%2F%2F<host>.ptc.com%2FWindchill%2Fservlet%2FWindchillGW&AUTH_CODE=HmacMD5&isProxy=true
HTTP Status code 200 on Windchill side but redirecting to another call with URL as :
https://<WINDCHILL>/Windchill/servlet/WindchillGW/wt.fv.master.StandardMasterService/doDirectDownload/0000000022_drw.pdf?folderId=158390&ft=FF&userid=12&adId=222221&fileName=00000000008836&refsize=60100&mime=application/pdf&mk=wt.fv.master.StandardMasterService&ofn=0000000022_drw.pdf&c=32&riid=-1&sT=1641912649&sign=p7owl5yJqFdQmhu4Lt2yzg%3D%3D&site=https%3A%2F%2F<host>.ptc.etb 

It's adding : ptc.etb  in URL and it's failing on Windchill side with error :
 
ERROR [ajp-nio-127.0.0.1-8010-exec-5] wt.method.client.httpgw wcadmin -  MethodRequestHandler Exception: An exception occured while processing the request.
(wt.fc.fcResource/18) wt.util.WTException: Malformed URL: "wt.viewmarkup.etb". Format must be: "classname:idValue" 
Nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1967)
	at wt.fc.ObjectIdentifier.initialize(ObjectIdentifier.java:400)
	at wt.fc.ObjectIdentifier.<init>(ObjectIdentifier.java:538)
	at wt.content.ContentHttp.viewContent(ContentHttp.java:1094)

 
Thingview is not displaying anyhting and Thingview log is saying :
INFO - Structure Loaded 
INFO - Model loaded
  • URL 2 : https://<WINDCHILL_SERVER>/Windchill/servlet/WindchillAuthGW/com.ptc.windchill.enterprise.wvs.saveWVSObject.utils.SaveWVSObjectHelper/saveWVSObject/0000000022_drw.pdf?annotations=true&oid=OR%3Awt.content.ApplicationData%3A222221&fileType=pdf&u8=1
    • Failing with 401 (but working with web browser) 
    • Thingview is failing with :
ERROR - Failed to load structure with Windchill URL
ERROR - Load Model error [0] LoadStructureEvent - Failed to load StructNodeLoadSource


 

This is a printer-friendly version of Article 368606 and may be out of date. For the latest version click CS368606