Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi! I hope you all good! At moment, we have a Java old solution to save data from a Part in a file (txt and xls) that is triggered on Life Cycle. Unfortunelly now we will need to send by API to a outside ERP service. I would want maintain this flow but not writing the result into a file, i need change to send by API rest service. Have anyone a sample Java Code about how to do that? In fact it´s a Totvs DataSul from Brazil integration, if someone has any idea to how to solve it, i'll appreciate. Thank you!
How to override ootb validator or is any way to add our own validator to ootb actions.
Hi,Is there a way to deselect a particular row from the tree selection?I have a few selected rows in a table. But depending on an attribute of the selected row, I need to deselect it.Example://All the selected rows are obtained in this these selections variablevar selections = tree.selModel.getSelections();//The attribute "Should_not_be_Selected" represents the row which should be deselected.for (var icount = 0; icount < selections.length; icount++) { if (selections[icount].data.Should_not_be_Selected === "yes") { //What should I do now with selections[icount] to deselect this row? }}I couldn't find any help with TableUtils or TreeHandler.Any idea? Thanks
Hello,I don't find a solution to remove in Windchill (ver. 11.1) the option "inseparable" in the fied Assembly Mode (internal name: partType). I'd like to have only "separable" and "component".Somebody has a solution to do this? Thx
I get the following error when trying to run a custom Rest Endpoint (concept : Fetch all contents for resulting items in an ECN). I cant figure out what I am doing wrong. Web Service Response { "error": { "code": null, "message": "The key value '' is invalid." } } MethodServer Log com.ptc.odata.windchill.servlet.WcRestServlet {userID} - An unexpected REST error occured Wrong parameter value. at org.apache.olingo.server.core.uri.parser.ParserHelper.parseFunctionParameters(ParserHelper.java:203) at org.apache.olingo.server.core.uri.parser.ResourcePathParser.functionCall(ResourcePathParser.java:388) at org.apache.olingo.server.core.uri.parser.ResourcePathParser.leadingResourcePathSegment(ResourcePathParser.java:229) at org.apache.olingo.server.core.uri.parser.ResourcePathParser.parsePathSegment(ResourcePathParser.java:88) at org.apache.olingo.server.core.uri.parser.Parser.parseUri(Parser.java:234) at org.apache.olingo.server.core.ODataHandlerImpl.proces
Hello PTC Community team/members, I have created one customized action for WTPart but whenever I share any WT Part to Project Link that same action also visible into Project Link. Can anyone know how I can hide/remove that customized action for the team/role. Attached picture for the reference(yellow highlighted action, I want to hide).
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.
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.