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.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
Hi @HelesicPetr I am doing one POC. Requirement is I have to update specific iba on ECN. Basically we have global iba on ECN and Container and IBA of container having value so now our requirement is we want to copy paste that value on ECN IBA while creating the ECN. So here can we use OIR or any custom algorithm to achieve this . reference topic: https://community.ptc.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/829884#M2883
Version: Windchill 12.1 Use Case: Upload Primary Content while creating WTDocument through REST endpointDescription: I'm able to create a WTDocument by using the POST REST Endpoint, but now while I create the document, I also want to upload primary content through the same endpoint, is there any way to upload primary content while simultaneously creating the Document?
Hi @BjoernRueegg Can we track the history using the configurable links? like how we have history page? input will be helpfull. Thank in advance
I need to retrieve all the parts from library whose part number start from 9 & update IBA attribute. Library name: Standard Part Manager these 3 IBA values need to updateIBA attribute 1: Source - BuyIBA attribute 2: Assembly mode - ComponentIBA attribute 3: Part category - Fastener
Added a custom formprocessor on Create document with preProcess() method and set the FormProcessingStatus as NON_FATAL_ERROR.If the condition-X is success then adding my custom message as pop up instead of showing it on banner notification and user should be able to complete the creation of document. But i am getting one more additional pop up as Object creation successful instead of usual banner notification.Need this instead of second pop up Is this intended to work like this when we use NON_FATAL_ERROR? Or Am i missing anything here?Regards,Nikhil
Version: Windchill 13.0 Use Case: Custom Jasper reports not working on Windchill 13Description: Hello, none of our custom Jasper reports seem to be working on Windchill version 13.0.2.2. However, these same reports were working fine on Windchill 12 version. The issue seems to be with the delegates. Jasper engine doesn't seem to be able to find the custom delegates and throws an error- 'Procedure doesn't exist'. I have attached the method server logs. Kindly provide us with some suggestion on how to resolve this.Thanks
Need API to create and update classification node and its constrains by programmatically - ClassificationStructureServiceHelper.getNode("<Classification Node Internal Name>", "<Name Space>"); - ClassificationStructureServiceHelper.deleteNode("<Classification Node Internal Name>", "<Name Space>"); - ClassificationStructureServiceHelper.createNode(ClassificationNodeView) - ClassificationStructureServiceHelper.updateNode(ClassificationNodeView) I am trying with above api's which I got from this article https://www.ptc.com/en/support/article/CS338403. by these api I am able to create classification node but not able to u
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.8I had a very productive meeting with PTC support today and I can't thank you enough for the help. This made me wonder that you could help me with this other issue : We are doing a query tree with info-engine to get a BOM structure but users told me they need to apply a maturity filter (official release on today's date) and i can't figure out how to do this. We already have a working info engine task to start fromHere are the errors that I facedno error just inadequate bom output
I am using Windchill Enterprise Systems Integration Release 12.1 and Datecode with CPS 12.1.0.01.咨询下分类模块使用到的表有哪些2.windchill 11.0版本的ClassificationHelper等类已经弃用了吗,引入不了这些表,如果没有这些表,进行PartsLink的客制化开发,只能查询直接查询数据库吗邮箱 caverspark@163.com
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.