Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.5We have the member selection OOTB table in a wizard, We need JavaScript API/snippet which will help us to select the given role by default on page load. Please refer the screenshot for more info.
Hi All, Can anyone please let me know where Windchill Data model diagram is and how will I get to know the database table relationships. Just like we have IDA3MASTERREFERENCE in WTPart to IDA2A2 in WTPARTMASTER. I wish to know which column in one table has a relationship with another column in another table. Where can i get the Windchill Data Model Diagram. Can anyone please let me know how to get to know this database tables column relationships. Thanks and Regards, Aditya
Hello Greetings! I have developed a custom endpoint inside custom domain to fetch Documents of WTDocument subtype named "QMS Document" based on three input parameters "Library" "Folder" and "State", However when I try to call this service from Thingworx, unable to utilize "$top" and $skip" parameters, since I need to allow pagination within Thingworx UI to select range of Documents to be displayed on single page, currently this functionality seems useless as I can see all the Documents fetched for specific folder within the library and cannot filter using range. I have used custom code to query Documents based on search condition for provided three input parameters. Need assistance whether this is possible to add classic OOTB query parameters in custom import.json
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.1.5We have changed the date format from yyyy-mm-dd to dd-MM-yyyy using the resourceCustomize.rbInfo.Mosf of the customization are working fine. we are facing problem in Windchill Audit purge scheduler, it is not working as expected. When we try to purge it is expected the below date format.Here are the errors that I faced3594: 2025-07-14 12:20:40,674 ERROR [auditPurgeQueue.SchedulingThread] wt.audit.AuditReportHelper Administrator - Failed to generate Audit Report XML: (wt.query.template.templateResource/6) wt.util.WTException: The timestamp value "14-07-2025 12:20:40:549" could not be parsed. The value must be parsed using one of the following Java formats: "yyyy:MM:dd:HH:mm:ss z", "yyyy-MM-dd HH:mm:ss z", "yyyy:MM:dd:HH:mm:ss", "yyyy-MM-dd HH:mm:ss", "MM/dd/yyyy HH:mm:ss", "dd/MM/yyyy HH:mm:ss", "yyyy/MM/dd HH:mm:ss", "dd/MM/yy, h:mm a", "dd/MM/yy", "yyyy-MM-dd", "yyyy-MMM-dd", "yyyy/MM/dd", "yyyy/MMM/dd", "yyyy:MM:
I have a report that pulls votes from esigned workflow tasks that is not working properly in version 13. I check the database in the SignatureLink table and noticed the following: Signatures created in 13 are stored differently so my checks are failing in code: //get signatures for ECN QueryResult result=PersistenceHelper.manager.navigate(ecn,SignatureLink.SIGNATURE_ROLE,SignatureLink.class,false); logger.debug("Got signatures:" + result.size()); boolean override=false; SignatureLink link=null; //check to see if override signature exists while(result.hasMoreElements()) { link=(SignatureLink)result.nextElement(); ... //is vote from CCB Review or Chairperson decision task else if ((link.getVote().equalsIgnoreCase("approve"))||(link.getVote().equalsIgnoreCase("amend"))||(link.getVote().equalsIgnoreCase("reject"))) //ignore sigs from override task Since SignatureLink is not in the JavaDoc, its likely that this is not a supported class, so if there is another supported method to re
Version: Windchill 13.0 Use Case: We have several Configurable Reference Links connecting various types of Parts and Documents. When we have added the different objects to a Part, we would also like to be able to see on the object which Part the object is connected to.Description: Somehow I don't see the linked objects in the Reference Parent Objects table and I can't seem to find any help on the issue.Have I lost something in the setup? (Reference Links can easily be created and attribute values passed over)Any good leads on this?
Hi I am having a custom action which when clicked will open a wizard. The wizard has a mandatory field to upload a file. In the action's formProcessor how can I get the file that was uploaded in the wizard?
Hello colleagues of Partslink, Does anyone have imported a csv/xml of Partslinks attributes massively with a global enumeration already created in Windchill? What do you write the specific collumn?Is it the internal name of the Enumeration created? I would assume yes. Thanks!!
Version: Windchill 12.0 Use Case: Automating BOM imports from an external process Description: I have a tool that exports out an Excel BOM to be imported into Windchill. Has anyone worked on a method for "import from spreadsheet" that is started from an outside process? For instance my tool could run some script that would automate the import from spreadsheet workflow in Windchill for a given Excel file path. Has anyone worked on a script that does the import automation? If it helps, we use single sign on so the user would not have to authenticate with Windchill.
Version: Windchill 13.0 Use Case: We are currently hosting Windchill on a Kubernetes cluster deployed in Azure AKS. The setup consists of 4 Method Server pods and 15 Background Method Server pods, with the following resource configurations: Method Server Pods:Resource Limits: CPU: 500m Memory: 512Mi Resource Requests: CPU: 250m Memory: 256Mi Background Method Server Pods: Resource Limits: CPU: 7 cores Memory: 30Gi Resource Requests: CPU: 500m Memory: 10Gi We are running batch requests following the guidelines outlined in the Windchill REST Services documentation (https://support.ptc.com/help/windchill_rest_services/r1.6/en/index.html#page/windchill_rest_services/WCCG_RESTAPIsBatchSupport.html). Our workload involves performing approximately 25 batch requests across 10 threads simultaneously. Sample Requests: Below are examples of the batch requests being executed: --batch_request Content-Type: application/http Content-Transfer-Encoding:bin
Hello PTC-Community,While writing JUnit Tests for my Project I found an error while trying to mock the wt.maturity.MaturityHelper class.org.mockito.exceptions.base.MockitoException: Cannot instrument class wt.maturity.MaturityHelper because it or one of its supertypes could not be initializedI am using mockito 5.2.0 and JUnit 5.10.0, I also activated mockito-inline as well which should enable supertypes to be mocked, but I can't seem to figure out how to do it.Any Ideas would help, thanks in advance.
Version: Windchill 12.1 Use Case: Using Windchill REST Services to creating a Referenced By link between a Part and a DocumentDescription: I have followed this guide to successfully create a customization to create a WTPartDescribeLink using WRS: https://www.ptc.com/en/support/article/CS285572?source=search The guide also mentions how to apply the same steps for WTPartReferenceLink, but I am receiving an error and would appreciate some guidance. URL: POST https://mywindchill.portal.ptc.io:8443/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:226444')/References { "ReferencedBy@odata.bind": "PTC.ProdMgmt.CustomCompanyParts('OR:wt.part.WTPart:226444')", "References@odata.bind": "PTC.DocMgmt.Documents('OR:wt.doc.WTDocument:226427')" } The error:{ "error": { "code": null, "message": "Unable to create entity - Cannot cast wt.doc.WTDocumentMaster to wt.vc.wip.Workable" } } I would really appreciate some help resolving this issue. Attache
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.8How do I put an URL variable on a custom JSP page for a change activity? When I put the variable, it comes out as text.
Version: Windchill 11.1 Use Case: Set publishing priority based on naming conventionsDescription: Hi Everyone, I've a use case where I need to filter the files with naming conventions (Eg: mnpl) need to be published on high priority. Here I need customization which need to be added in Windchill properties and sample code to get this achieved. Thanks in advance,Keerthi
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.1The CAD Publishing rule wat we have defined is not working in the UAT instance (which is an cluster instance ) but the same CAD Publishing rule is working in the lower instance .
I've been following the posts of the year's on Windchill development and how folks are managing their customizations and their steps for deployment. Being historically untrained and old school, I had opted for simplicity but these "bad habits" might be preventing me for moving forward. I have completed as restructuring of my Git repo and removed Eclipse compiled class files from its management. Just for context, I develop offline on my laptop pushing changes up to Bitbucket then down to the local repos on Dev, Test or Prod as needed. Feel free to throw stones at any point. I can duck, bob and weave. Now, I have been exploring methods to automate or script build and deploy to the Windchill directory. Ant seems to be what I've chosen to work with for the moment. Historically, I've made use of the wtSafeArea and wtCustom area to stage updates and the "installSiteChanges" to push into codebase. I also started looking at tools.xml scripts and it seems that these were desig
Hi, I would like to get the same folder and content representation of project container from Windchill to Navigate using ODATA services, I stuck at getting subfolders(level 2+). Please help me. I use the following API Windchill/servlet/odata/v6/DataAdmin/Containers('ID')/Folders?%24count=false&%24expand=Folders However, this gives me only the first level of the folder structure not the nested folders. Also, How to get the folder content? many thanks,Janakiraman
Version: Windchill 13.0 Use Case: wt.org.OrganizationServicesManager.queryPrincipals(Class, String,DirectoryContextProvider) we were using the API OrganizationServicesManager.queryPrincipals(Class, String,DirectoryContextProvider) in WIndchill12. But now in Windchill 13 it is replaced by OrganizationServicesManager.queryPrincipals(Class paramClass, Map<String, List> paramMap, DirectoryContextProvider paramDirectoryContextProvider). Previously parameters what we were passing were of type Class - wt.org.WTUser, String - "uid=" + userid and DirectoryConectProvider. now in new version, it is given as passing map, but not sure what should be the key and what should be the value. Can someone help me through it?Description: wt.org.OrganizationServicesManager.queryPrincipals(Class, String,DirectoryContextProvider)we were using the API OrganizationServicesManager.queryPrincipals(Class, String,DirectoryContextProvider) in WIndchill12. But now in Windchill 13 it is replaced by Organiza
Hi @Florent_274366 @BjoernRueegg , With reference to this topic. Is there any way to run job every week through Scheduled queue. I did WVS Job Scheduler Administration but due to some limitation there as per our requirement so I moved to schedule queue but how to run scheduled job weekly based. Thanks Afroz
Version: Windchill 13.0 Use Case: The goal is to create a URL that acts as a shortcut to download a STEP file for a CAD Document directly from the More Info page in Windchill. Instead of downloading the file manually from the Representations/Annotations table under the Content Tab, If i click a URL in the More Info section and trigger the download action for the STEP file.Description: The goal is to create a URL that acts as a shortcut to download a STEP file for a CAD Document directly from the More Info page in Windchill. Instead of downloading the file manually from the Representations/Annotations table under the Content Tab, If i click a URL in the More Info section and trigger the download action for the STEP file.
I have a requirement where if I add a specific type of WTPart to existing Part in Part structure using OOTB actions "add existing"/"add new", the Parent part to which I want to add child part should not iterate. For this I have implemented listener and catch the PRE_STORE event and could found the target object which is WTPartUsageLink. From this I got both roleA and roleB objects, and then I undo check out the roleA (parent) and then created an usagelink and finally tried to save it using PersistenceHelper.manager.insert() APIHere the issue is probably in back end after PRE_STORE , there is PRE_CHECKIN event that might be calling so I am getting exception that unable to find the checked-out copy. Here there will not be any working copy because I undo check out it using WorkInHelper.. API. My overall intension is that parent part should not iterate but need to create usagelink by adding a child part (of specific type). Note: This I need only when I am trying
Version: Windchill 12.1 Use Case: I am migrating content from 1 system to another and am trying to make it as efficient as possible and avoid exporting documents when I don't need to.Description: I am identifying documents that have been updated by looking at updateStamp and modifyStamp. If a user checks out a document and checks it back in, is there any way to identify if the content of the document changed, or it was just a metadata change event? I am trying to avoid unnecessarily exporting content if it has not changed.
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.51. Windchill 13.0.2.5 extension manager garbled characters in Chinese environment, Windchill 13.0.2.2 extension manager is displayed normally; Pls where is the extension manager resouce file2.How to remove the menu because we found that customizing this menu does not work, how to remove the add menu in the site navigation?
Hi All, I am trying to build a Part Structure Iterator module that recursively iterates a Part structures and returns all the parts under them using the combination PartBuilder and Navigation Criteria. I found this quicker compared to WTPartHelper.service.getUsesWTParts. Now I want to customize it further by adding methods that return only leaf nodes(parts that do not have any children) and parts of a specific type. Anybody got any simpler solution? like playing with Navigation criteria?
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0We request to share documentation for <SCRIPT LANGUAGE="Windchill">Here are the errors that I facedWe have a requirement to add EC number, EC Name and Priority to any Email sent out based on EC in Email Subject Header.We plan to modify below email templates to include the required details.../Windchill/codebase/templates/workNotification1.GeneralSubject.html2.GeneralSubject_en_GB.html3.GeneralSubject_en_US.htmlWe want to add a condition to include the workflow variables to add above mentioned details only when the workflow context object/primary business Object is of type WTChangeOrder2 . We added variable with below code , it works fine. The required details are added in the email Subject.<SCRIPT LANGUAGE=Windchill> <!-- beginSubject --> </SCRIPT><SCRIPT LANGUAGE=Windchill> <!-- addText text="EC " --> </SCRIPT><SCRIPT LANGUAGE=Windchill> <!-- getProcessVariable var
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.