Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I have a classification attribute named Colour with internal name COLOR,in the Constraints tab, I have assigned global enumeration which is having internal name Colour(COLOR_ABC). Is there any api available such that when I give an input of Classification Attribute internal name (COLOR), my output should fetch the global enumeration used COLOR_ABC. @HelesicPetr
I need to find a WTPart/WTPartMaster that matches to specific partNumber, partRevision, View and Organization I provide. How can this be achieved by QuerySpec? Or is there any alternative?
Version: Windchill 13.0 Use Case: Sending GET request to Windchill OData with 'LastModified' filter set to 2025-09-08T12:34:57Z: Windchill/servlet/odata/v8/ChangeMgmt/ChangeTasks?%24filter=LastModified%20eq%202025-09-08T12%3A34%3A57Z&%24orderby=LastModified%20descDescription: As result, I receive all ChangeTasks from 2025-09-08. It seems OData service doesn't check time, only date. Is there any solution to this? Other operators like 'gt' behave the same way.
Hi All, Can someone please tell me how to get the View Rule Conflicts to hyperlink to be enabled on a task so that the user can click on it and see the error and fix the same? Please find a sample screenshot below This is required for Windchill 11.0 M030 So kindly let me know if any leads are there.
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.15unable to fetch usagelink attribute using element.getValue("quantity.unit") in info-engine task. Using Query-Tree webject.Here are the errors that I facedunable to fetch usagelink attribute using element.getValue("quantity.unit") in info-engine task. Using Query-Tree webject.It's simply returning null value while in info-engine output value is shown.
Version: Windchill 12.1 Use Case: Custom web app not working when upgrading to Windchill 12.1Description: Hello ,We developed custom web app in the same windchill folder , i'ts working on Windchill 11when we migrate to Windchill 12 the Windchill and the custom web app not workingplease note that the custum web app is compiling with the java version 11 , Tapestry 5.3.8 Error :The problem is related to Filter on Web.xml<!-- start configuring Tapestry 5 - LEOparts-portal--><context-param><param-name>tapestry.app-package</param-name><param-value>ext.leoni.portalv3</param-value></context-param><filter><filter-name>portalv3</filter-name><filter-class>org.apache.tapestry5.TapestryFilter</filter-class></filter><filter-mapping><filter-name>portalv3</filter-name><url-pattern>/portalv3/*</url-pattern></filter-mapping><filter-mapping><filter-name>portal
Version: Windchill 12.0 Use Case: I am trying to automate creation of replication packages to synchronise two disconnected windchill instances with 500+ potential contexts to be synchronised. The code below is for a test with all the values hard coded. Windchill 12.0.2.11Description: This is the code but I either get a create or save error and an java.lang.instantiation exception. I have read in the API that the newReplicationPackage constructor should be used but not sure how to incorporate that, <%@page language="java" access="internal|http"%> %@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"% <!-- https://xxxx/Windchill/servlet/IE/tasks/com/thalesuk/createPackage Input file format: Current Name, New Name --> <%@ page import="java.util.*"%> <%@ page import="wt.adapter.*"%> <%@ page import="wt.part.*"%> <%@ page import="wt.fc.*"%> <%@ page import="wt.pdmlink.*"%> <%@ page import="wt.vc.c
Hello, in order to support a "trivial change" (ex: correct the description of released object), we are willing to programmatically create a new iteration of EPDMDocuments (resp. WTParts). This has 2 targetskeep the "released" iteration unchanged, usable in BOMs (using filter)the new iteration get a status "trivial change" allowing user to modify it until it gets validated. The first attempt was to checkout/checkin the "released" iteration, but for some older data, some attribute values are not allowed anymore by the datamodel and we get an EPMNonOverrideableConflictException during the checkin operation... Creating iterations directly seems not to be supported by PTC, The PersistenceManager store the iteration with a new creation date (instead of using the creation date of the revision). Does someone already has a similar case ? Or an Idea how we can handle this use case ?
I have a head scratcher but not 100% sure where the fault lies. I have a custom BOM report that I've used for years. Its built with JSP and makes use of the multilevelbom with replacements except I am feeding it a level limit of 1, so I have a custom BOM Report Tree Handler that is called out. There is also a custom CSS file as well. The main function is to display the BOM complelely and not have to expand tables so you can print the page. The issue reported to me is with a very large BOM with 131 elements. Here is how the end of the table is rendered: Notice how there are rows containing no text. I can confirm by inspecting elements that there is nothing being shown. However, if I shrink the browser zoom, more rows of text start appearing. above is 67% and below is 50% where the rows fully display. The same occurs in reverse if I increase zoom beyond 100%. I am not sure where this artificial limit is being maintained but I suspect this is either javascript or css since it dyn
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.8流程中設置變量,需要下拉值,在某個審核的任務節點,填寫該變量(屬性),出現問題,按照下面的文章創建了對應的A類和_A類,以及RB文件,但是在執行命令時報錯了,也沒生成對應的ser文件。https://www.ptc.com/en/support/article/CS36017?art_lang=zh-cn
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.13How would I know whether or not a change to code in my codebase requires a restart of windchill to deploy? For instance, some customizations/changes can be deployed when windchill is up and will take effect and others require windchill to be down. So how do I tell whether or not deployable code requires a restart?
Version: Windchill 13.0 Use Case: I am trying to create a simple hello world servlet. Full details in the Problem Description belowDescription: I am using Windchill PDM link and am trying to create a very basic servlet to return the string "Hello from Windchill!". The plan is to use this as a starting point before writing more complicated ones. I have used the PTC supplied an Ant build script that automates the creation of an Eclipse project to ensure that all necessary JAR files and environment configurations are correctly set up as I will need this for when I write more complicated servlets that interact with Windchill in the future. I have the HelloRestServlet class below in Eclipse which i have built into a jar and placed on the server in D:\ptc\Windchill_13.0\Windchill\codebase\WEB-INF\lib\hello-servlet.jar I have added wt.services.loadService=ext.rest.RegisterHelloServlet to the bottom of file D:\ptc\Windchill_13.0\Windchill\codebase\wt.properties Restart
Version: Windchill 12.0 Use Case: Hello, I´m trying to build a report, that will allow me to enter a assembly Number and the result of the report should be a list of unique objects, only used in defined assembly Number. I have managed to build a report reporting items used in assembly, but I´m having trouble setting Criteria to only report unique items.Description: I´m currently getting a result with the list of the objects, but report is simply listing objects used in specific assembly, whether they are unique or not. I can´t manage to set Criteria correctly, so it will only report unique objects. Can anyone point me to some guide or assist with setting correct criteria to achieve desired result (only report unique objects used in one assembly)? Thank you very much in advance.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.7I have attended training for CCD for Windchill and have come to rely on it, and have even automated the CCD build, deploy, and Windchill restart.We previously had a very chaotic manual process that moved Java classes around haphazardly.A senior developer has claimed that CCD is not the way to deploy Windchill customizations (java, xml, etc).Please respond with the PTC recommended best practice to manage Java and other customizations between environments on-prem. Summary: If it was a choice between deploying .class files from a directory, or one .jar file from ant CCD deploy, what would be the best practice solution?
Hello,The Windchill WT part has the Classification attribute that is connected to the SAP side.It received the data from SAP side every time the WT part webpage is accessed.But the WT part webpage loads all attributes immediately and takes time to pull the data from SAP side for classification attributes. (Attached screenshot for reference)As of now the WT part at any state pulls the classification data from SAP.My goal is that the WT part at Released lifecycle state must store the classification attribute and need not connect to the SAP. Only the WT part at 'in progress' state must pull data from SAP.Kindly suggest how can this be achieved ?
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0I want to setup Jasper studio for the windchill. I followed the documentation but it's not clear how exactly those configuration will be done.
I am using Windchill 10.2 version.In a customized tablebuilder, the buildComponentData method returns multiple pieces of data, but the frontend page only displays the last piece of data. What is the reason for this?
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.1.0Hello,In a Windchill customization i have a piece of legacy code that i find doubtful:transaction.start();int rowCount = PersistentObjectManager.getPom().execute(deleteBatchSpec, new WTHashSet(), false);transaction.commit();The DeleteBatchSpec is an SQL query targeting the lines to delete.The problem is, in the code i'm wondering about, this is not a batch execution, it is used at normal runtime. So my question is: how does this piece of code behave in a clustered environment? Is the cluster cache updated somehow, or is this code doing something really wrong?Regards,
Version: Windchill 12.0 Use Case: Performing Global Search on "Name & Number" only behavior, without Index Search when users select a check box added next to global search FieldDescription: Hello PTC Community ! I'm looking for a way to implement the use case requested by my client on Windchill 12.0.2.7 and Windchill 13.0.2.6 (upgrade in progress). At first I proposed to automatically set following user's preferences values when he checks the box:Enable Index Search to "No"/com/ptc/windchill/enterprise/search/includeIndexGlobalSearchKeyword Search Behavior to "Name & Number" (3)/com/ptc/windchill/enterprise/search/controlKeywordSearchBehaviourBut this solution implies to save previous users's values to reset them whhile unchecking the box and the client wants that we study a way to implement the use case without impacting those preferences. So, I tried to override the ootb DATA_ONLY component builder: com.ptc.windchill.enterprise.search.mvc.builders.Sea
Version: Windchill 12.0 Use Case: I want to get all the latest version of manufacturing alternate BOM created in windchill.Please find the attachment for the output requirement.Description:
Version: Windchill 12.1 Use Case: Real time updation of wizard steps.Description: Hi, I have a custom promotion request wizard in which on the 1st step i am collecting some attribute values and then using them on the 4th step to propagate the step, but if i go back to step 1 and update some attributes, the values are not reflected on the 4th step immediately. Is there a way just to reload that specific 4th wizard step.
Version: Windchill 12.1 Use Case: I have written custom listener will use the event "IdentityServiceEvent.PRE_CHANGE_IDENTITY" for if WTPart New Number is NOT 10-digit validation and not able to dispay the conflict description message in Event ConsoleDescription: I have written custom listener will use the event "IdentityServiceEvent.PRE_CHANGE_IDENTITY" for if WTPart New Number is NOT 10-digit validation and not able to dispay the conflict description message in Event Console
Hi all, I have a custom wizard with 3 wizard steps. In the 3rd step, I have custom button which will open a popup, perform an activity and returns some value to the callback js function in 3rd step. After I receive that value, when I try to reload from javascript function, entire wizard is reloading again and it is going back to 1st step. I need to refresh only 3rd step instead of entire wizard. Can anyone help me on this?
I wrote the following code in the expression but it does not run wt.fc.QueryResult qr= wt.maturity.MaturityHelper.service.getPromotionTargets(pn); while (qr.hasMoreElements()) { if(qr.type.equals("EPMDocument") { wt.lifecycle.LifeCycleManaged lifeCycleManaged = (wt.lifecycle.LifeCycleManaged) qr.nextElement(); wt.lifecycle.LifeCycleServerHelper.service.setState(lifeCycleManaged, wt.lifecycle.State.toState("DESIGNCHANGE")); } } I want to check the type of the object and change the lifecycle state only if it is an EPMDocumentCan you help me please?
Version: Windchill 13.0 Use Case: Would like to add another design review category option called New Design to the default Design Review workflow in windchill that would be used for all new drawing releases.Description: How do I add a new category valve to Windchill Design Review workflow category dropdown menu shown in the images below?
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.