Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I have a custom CN report with a custom table that lists some object details. Kicking myself for not seeing this sooner. What did I miss in my table definition?
Hello We have Customized BOM Management in that we are facing issue to get the non-latest version Structure. When the new object is added to the latest version it will show in the non-latest version also by default windchill functionality to overcome this we have to take baseline before revise the cad objects.ArticleArticle - CS388641 - Latest version of child part is shown on older version of parent part on structure tab in Windchill PDMLink (ptc.com)As per the article we tried baseline and filter to the older version.We could not be able to get it via code, whenever we tried to download a non-latest version. we get the latest structure only.Help us with a code to get the filtered structure.
Hello, I know that we can drive values of a parameter based on the option value populated, I wanted to know if it is possible to update the choice of an option based on the parameter value?. Please pour your thoughts. Thanks.
Attribute Internal Name Name: ProjeAdiEnumaration Internal Name: ProjeAdiEnumaration Value:Internal Name: AProject, Display Name: A ProjesiInternal Name: BProject, Display Name: B Projesi wt.change2.VersionableChangeItem chg = (wt.change2.VersionableChangeItem)primaryBusinessObject; com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(chg,null,java.util.Locale.US,new com.ptc.core.meta.common.DisplayOperationIdentifier()); obj.load("number","name","theCategory","ProjeAdi"); IRNoVar = (String) obj.get ("number"); System.out.println("IRNoVar = "+IRNoVar); IRAdiVar = (String) obj.get ("name"); System.out.println("IRAdiVar = "+IRAdiVar); IRKategoriVar = (String) obj.get ("theCategory"); System.out.println("IRKategoriVar = "+IRKategoriVar); IRProjeAdiVar = (String) obj.get ("ProjeAdi"); System.out.println("IRProjeAdiVar = "+IRProjeAdiVar); In notification mail IRProjeAdiVar display name is Project NameThis code was written
Hi All @HelesicPetr I have a custom table(in a wizard popup by a custom action) which collects all the required dependents of the main EPM and lists them. In the table, I need to have a new column to display the Reference Type between main EPM doc and the dependent EPM doc.I tried data utility but I'm not able to get the main EPM doc into data utility as it's called only for each dependent doc. My requirement is to have a column for Reference Type where each component(row) displays their reference with the main epm Doc as shown in the attached pic. Any idea or workaround?
Hi Team, I have unable to access the Power BI report from Windchill qml report. I tried to access error message " string reference not set to an instance of a string. parameter name: s" is occurred. If without sso system url able to access. Any one known this behavior? Winchill Version: 12.0.2.13. Power BI Version: 2.124.2028.0 64-bit (December, 2023)
Hello, Version: windchill pdmlink 12.0.2.7 I am trying to update the Primary Content of Doc2 with the Primary Content of Doc1 and am having trouble with the .updatePrimary method. Using the below code line 16 (.updatePrimary) keeps getting the error:wt.util.WTException: java.lang.ClassCastException: class wt.content.ApplicationData cannot be cast to class wt.content.Aggregate (wt.content.ApplicationData and wt.content.Aggregate are in unnamed module of loader 'app') Where would my mistake be? Thanks! wt.doc.WTDocument Doc1 = (wt.doc.WTDocument) primaryBusinessObject; Doc1 = (wt.doc.WTDocument) wt.vc.wip.WorkInProgressHelper.service.checkout(Doc1, wt.vc.wip.WorkInProgressHelper.service.getCheckoutFolder(), "").getWorkingCopy(); com.ptc.core.lwc.server.PersistableAdapter Doc1Pers = new com.ptc.core.lwc.server.PersistableAdapter(Doc1, null, java.util.Locale.US, new com.ptc.core.meta.common.UpdateOperationIdentifier()); // Gets the Primary from D
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS19 A phenomenon in which the detailed screen of EO search is not displayed through OOTB search.---------------------------------------------------- Translated the text from Korean to English using google translate Subject- OOTB 검색으로 EO 조회의 상세 화면 표기 안되는 현상 -By Community Moderation Team ----------------------------------------------------
please let me know if LWCNormalizedObject api is depricated to use in eclipse for windchill 12 and if there is any alternative to it.Thanks.
HI All I have a MVC table in a wizard that displays a list of CAD Components. In the same wizard, I have a combo box which when changed has to change the components. Example, let say the combo box is a filter for parts and assemblies. When I select Parts in the combobox, the table should reload and display only the parts and vice versa. Any ideas how it can be done? I'm unable to build the table based on the value selected in the combobox.
Hi, I created an EquivalenceLink by passing an upstream WTPart (original) and a downstream WTPart (copy). The two parts are valid and already stored in the database. When I tried to save it, it showed an error. Here is the code.-------------------------------------------------------------------EquivalenceLink newLink = EquivalenceLink.newEquivalenceLink(original, copy);PersistenceHelper.manager.store(newLink); // Error occurs there-------------------------------------------------------------------Here is the error message-------------------------------------------------------------------ERROR : wt.method.MethodContextMonitor.contexts.rmi wcadmin - 2024-02-22 13:54:19.202 +0900, -camsbqzd5;lswr0uex;13464;kyeh5p;1, -, -, -, wcadmin, 172.24.163.107, com.acme.APIs.BomTransformHelper$Server, remoteDuplicatePart, , 0, 102, 0.2574459, 44, 0.2534846, 1.15625, 1.5911344 wt.util.WTException: java.lang.NullPointerExceptionNested exception: java.lang.NullPointerExceptionat wt
HI, I'm creating an API to transform a EBOM to MBOM using java. I don't have much knowledge about the differences between EBOM and MBOM, and what I only found is that the WTPart names of EBOM comes with a (Design), while the MBOM WTParts are having a (Manufacturing). Does this mean I can just duplicate WTParts, and change their view from Design to Manufacturing, and then the transform is done? Thank you!
Hi Does anybody know how to perform select all rows in a custom MVC table using JS from backend?I have a custom table and I require to select all the rows in the table on a specific condition when the table completes loading. I have the table included in my jsp using <jsp:include> Thanks
Hi, I'm wondering if it is possible to define a new subtype of WTDocument which can have both WTPart and WTDocument as its child? Something like a parent WTDocument Order A, and it has child Order A-1, Order A-2, which both contain a series of WTParts. I'm using Windchill 12.1 Thank you!
I have a tab that shows serial numbers and want to change the view such that it only shows the latest revision of each serial. For example, if I have serial 001 Rev A and then rev that part to Rev B, the list will show both 001 Rev A and Rev B, when I just want it to show Rev B. Is there any tips on how to achieve this?
Need some assistance regarding the Change Implementation report.Previously the Change implementation report was there 11.1 now in windchill 12.0 this report is remove by PTC. Did anyone create a new jasper report for this one. While fetching the value of Signature step we are facing this error Can anyone help with this one.""ERROR [ajp-nio-127.0.0.1-8010-exec-2] wt.util.WrappedTimestamp orgadmin - Bad WrappedTimestamp, date string=, date format string = dd MM yyyy HH:mm:ssERROR [ajp-nio-127.0.0.1-8010-exec-2] wt.util.WrappedTimestamp orgadmin - Exception java.text.ParseException: Unparseable date: ""ERROR [ajp-nio-127.0.0.1-8010-exec-2] wt.util.WrappedTimestamp orgadmin - Bad timestamp -ERROR [ajp-nio-127.0.0.1-8010-exec-2] wt.adapter.exception orgadmin - WTAdapterImpl java.lang.RuntimeException: java.text.ParseException: Unparseable date: """"
Working on customization task, need to call Part Master object type so for that i need WTPartMaster API.see attached screenshot for the reference.
I am connecting one part to another in wtpPart to retrieve the AlternateNumber through Windchill. It appears in WtpartAlternateLink, but when I check the part via servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:#######'), the 'AlternateNumber' comes as null. Can you please help me understand the reason for this? Is there a different method to add AlternateNumber to a part through Windchill? If so, could you please explain?
Want to add customized action in Display Pane as shown in below attached image, See yellow highlighted rectangular BOX for the reference.
Hello, I am currently developing an app that need to create links between WTDocuments through the Rest API for WIndchill 12.0_2_7. I already found this article about creating Describe links between Documents and Parts, which I've implemented successfully, but cannot find any information on creating Usage links between two Documents. Here is the article: Article - CS285572 - How to create WTPartDescribeLink / WTPartReferenceLink using Windchill REST Services in Windchill PDMLink (ptc.com) Is there any documentation on how to implement this? Is it possible at all? Thanks!
Hello All,I have a requirement to add a custom action which will remove Objects in resulting Items table on wt.workflow.work.WorkItem -> Resulting Objects TableI need help on how to apply Post Select Validation Logic to remove only required Object type from the Selected Objects in the Table?
Is there any limit to have maximum number of queues?
Hello, Does somebody has moved from the NuGet RESTSharp 106 to 107 or higher (110 in my case)? They have change a lot of things and I'm not able now to complete the stage 2, to upload the file on Windchill server. I've used Postman to create the different steps and it's working perfectly on Postman: I try to use the C# code provided by postman, but not able to reproduce the same in my program. When I start the stage 2, it seems that the request is well executed but nothing is send to the server: the content info in return is empty:{ "contentInfos":[]} Should have a retun like that:{ "contentInfos": [ { "streamId": 76030, "fileSize": 2, "encodedInfo": "76035%3A2%3A150329%3A76035" }]} Previously, with version 106 of the RestSharp, I've got no issue. Thank you for your feedback and help.
Team Is it possible to GET OData data from within JSP code? It would GET from the local Windchill (localhost). Do I have an authentication problem?
Hi Anybody using ContainerTeamHelper.service.findContainerTeamGroups() method to get groups from a container? I'm using this and getting the exception java.io.NotSerializableException.Anybody else facing the same with Windchill 12?I require a common method to get groups from PDMLinkProduct, Library and Project.
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.