Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
What is the use publish.markoutofdate.traversal.precheck.filtermethod property and when it triggers actually?
As per the original post. Hello,I am struggling with the authentication to avoid the PopUp ( https://www.ptc.com/en/support/article/CS63015)can you share how you push the --javaargs to make it works? Are you on UNIX/Linux server because the article mention that is limited to UNIX/Linux but at the same time in the note they also mention Windows... Our OS is windows so maybe this is the reason its not working.
Dears,I wrote a customized User Picker according to the Demo, it is working fine under the Creat and Edit modes, but it can't show the selected property value, I think I should need to write some code under the getDataValue method for the ComponentMode.VIEW, how can I make writing this part of the code to be able to display it on the VIEW under getDataValue method. Thank you. @Override public Object getDataValue(String component_id, Object object, ModelContext mc) throws WTException { String attributeId = component_id; Object obj = null; GUIComponentArray guiArray = new GUIComponentArray(); if (ComponentMode.CREATE.equals(mode) || ComponentMode.EDIT.equals(mode)) { obj = super.getDataValue(attributeId, object, mc); if (obj instanceof PickerInputComponent) { PickerInputComponent pickerComponent = (PickerInputComponent) obj; guiArray.addGUIComponent(pickerComponent); } } else if (ComponentMode.VIEW.equals(mode)) { //TODO } return obj; } 
i wanted to render the part info page URL in the esi metarespone file tag , but their is a customization guide for erp Connector i applied the logic it is not working as expected.
How can we select the approver group based on the attribute value in the workflow?
I am creating a custom action for a report based on Time period selected in first step, using this to create report for specific time in second step. I have created multiple JSPs based on time selection to show user. But I can see all steps in wizard steps are not getting dynamically hidden.Custom Actions :<objecttype name="object" class="wt.fc.Persistable"> <action name="Dashboard"><command url="Dashboard.jsp" windowType="popup" class="DashboardProcessor" method="execute"/> </action> <action name="Dashboard_Step0" afterVK="CheckDashBoardReportTimePeriod" ><label>Select Time Period</label> <command url="Dashboard_Step0.jsp" windowType="popup" /> </action> <action name="Dashboard_Step1" preloadWizardPage="false"><label>Product Registration Transactions</label>
A user does not have access of modify identity to a part, how to override this access that user can edit part. Through the code.
I had created a new organization to test some random stuff, but now no longer need it. Is there an easy way to delete it? Thanks. Windchill Version 12.1.2.0
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
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.