Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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?
I have followed this Article.Implemented the code by changing the method signature and properly registered in the service.property file. but values are not reflecting the UI. As mention in the article. where in my case I'm just seeing Downstream Location "Drive System" but not "/manufacturing". but those values in printing in the code. could anyone help me out through this.
Is there any listener event to listen when WTDocumentUsageLink is created.
My count OData request does not work :https://<url>/Windchill/servlet/odata/v5/DataAdmin/Containers('OR:wt.pdmlink.PDMLinkProduct:681234555')/Folders('OR:wt.folder.Cabinet:681234597')/Folders('OR:wt.folder.SubFolder:681267970')/Folders('OR:wt.folder.SubFolder:681267975')/FolderContents?$countThanks for any help.FredVersion: Windchill 12.1 (Product v12.1.2.0, REST Services v2.3)
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.1When I m downloading the customized report in Windchill 13, attachment.js is getting run and causing the download failure. Please check it on priority
Version: Windchill 13.0 Use Case: I’m trying to assign an Option Set to a Configurable Part. Can anyone help me with the API code for this?Description: I’m trying to assign an Option Set to a Configurable Part. Can anyone help me with the API code for this?
Hi All,We have developed an external portal that downloads document content from Windchill using the Windchill OData REST APIs on behalf of users who do not have Windchill accounts. To facilitate this, we have set up a service account that connects to Windchill to retrieve the necessary data. This setup is functioning well.Now, we need to track the number of users accessing this portal and downloading content from Windchill for licensing compliance purposes. One approach is to have the portal track this information and share it with the Windchill team. However, as more portals and applications are being developed to access Windchill data for non-Windchill users, we need to design a solution within Windchill to effectively monitor and record usage.I have not found any features within the Windchill REST API framework that would assist in achieving this tracking. I am reaching out to this group to see if anyone has encountered a similar need or has considered potential solutions. Any insi
Version: Windchill 12.0 Use Case: How to create a rich text attribute using dataUtilities?Description: We need to create a string-type attribute and call it from the layouts using dataUtilities to transform into rich text.
Version: Windchill 13.0 Use Case: I want to communicate with Windchill via REST/OData and Bearer Authorization from a Third Party ApplicationDescription:I have successfully configured Windchill on OIDC and JWT with Microsoft Entra using this documentation: https://support.ptc.com/help/windchill/r13.1.0.0/de/index.html#page/Windchill_Help_Center/WCAdvDeployGuide/WCAdvDepAuth_OIDC.html Is it now possible for me to communicate with Windchill from another application using JWT/Access tokens with Bearer Auth? I have tried various approaches but have not been able to do so.Maybe I am missing some Configurations or it isn't possible
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.