Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi there, I'm trying to obtain the options from a saved filter. "Choices" try { java.lang.String username = "testuser"; wt.session.SessionHelper.manager.setPrincipal(username); wt.filter.NavigationCriteria navigationCriteria = wt.filter.NavigationCriteriaHelper.service.getNavigationCriteria("MyFilter"); if (navigationCriteria == null) { java.lang.System.out.println("Filter 'MyFilter' not found or user does not have access."); } else { java.lang.System.out.println("Navigation Criteria Name: " + navigationCriteria.toString()); java.util.List<wt.filter.NavigationFilter2> filters = (java.util.List<wt.filter.NavigationFilter2>)navigationCriteria.getFilters(); if (filters == null || filters.isEmpty()) { java.lang.System.out.println("No filters found for the Navigation Criteria."); } else { for (wt.filter.NavigationFilter2 filter : filters) { java.lang.System.out.println("Filter Name: " + filter.toString()); java.lang.System.out.println("Filte
@satre-2 Hi Shreyas,Reference Topic - https://community.ptc.com/t5/Windchill/Check-for-Checked-Out-objects-in-the-Affected-Data-section-on-a/m-p/118248#M13997Do you have a similar example for release target rule? I am looking to setup Release Target rule in a Change Notice workflow similar to Checkout Rule you shared in the above post.
I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020 CPS30Dear Support Assistant Team!I tried to make this sample code work: https://support.ptc.com/help/windchill/r13.0.0.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_PLMServices_STEPPLMExportImport.html, but at the end I am not able to use it. I tried to export into STEP FORMAT AP242 with implementation method both 21 and 28 for OptionSets, Parts, CAD object, but all of them failed with "Problem in export/import process. Nested exception is: java.lang.NullPointerException". Can you help us to make this code work?Thank you in advance!Kind regards,Martin HerbertHere are the errors that I facedProblem in export/import process. Nested exception is: java.lang.NullPointerException
Version: Windchill 12.1 Use Case: How to get a custom User Picker datautility as object reference in advanced search?Description: PR Owner is a custom data utility, which gets string url of a WTUser and displays as a link in the UI.Is there a possibility to get this IBA as a user picker like the 'created by' , instead of a plain text field?
Version: Windchill 13.0 Use Case: my use case is ann app that connect to specific ws and export the Solidworks asm from ws to specific folder ( pure file system )Description: i have build a tk app that connect to specific server & ws and add to ws specific asm - in order to export it to file system folder.everything works smoothly beside the fact that the authentication window is opened, with the correct user name & password, and wait for approval...once i press the o.k button the app continue to work as expected and complete the entire process.how can i overcome this issue so the authentication will be completed automatically without human interaction ?
Version: Windchill 12.1 Use Case: collect document if parent is WTPart and child is WTDocumentDescription: Configurable Link Collection Sample UI I got the sample UI under WTPart Actions->Collect Configurable Links. I'm able to see the icons, but upon adding a WTPart and trying to collect WTDocument which is a child of this part, the collect icons do not work. Is there any thing I need to define for this type of link for the sample UI to work?
Version: Windchill 12.0 Use Case: My goal is to integrate Altium and Windchill. At the moment I am at initial stage. I have access to windchill test system. I have created sample parts and documents. Now I want to create ECAD document using REST API.Description: Hi everyone,I'm working on integrating Altium with Windchill and am trying to create ECAD documents (EPM Documents) using the Windchill REST API. While I've successfully created parts and documents, I'm struggling to find a suitable endpoint for creating ECAD documents specifically.I've explored the available endpoints and documentation but haven't found a direct way to achieve this. I'm wondering if anyone has experience with this or can point me in the right direction.Any guidance, tips, or code examples, document would be greatly appreciated.Thanks in advance!
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0I added a new resource bundle file (.java file extended from WTListResourceBundle ) , during customization.While trying to use resource bundle entries from the file into custom code , it fails with error .java.util.MissingResourceException: Can't find bundle for base name ext.ibm.resource.TFRRBusinessRuleResource, locale enHere are the errors that I faced- java.util.MissingResourceException: Can't find bundle for base name ext.ibm.resource.TFRRBusinessRuleResource, locale en
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.11My code runs with particular username it's self-working, but i want whole list of user more than 90days inactive user list and last login time both.Here are the errors that I facedMy code runs with particular username it's self-working, but i want whole list of user more than 90days inactive user list and last login time both.
I want to implement a dropdown menu similar to combobox, but with the option to select multiple contents. How can I achieve thisI tried the following methods and found that they couldn't unfold as expected omboBox combobox = new ComboBox(retnumber, retname, new ArrayList()); combobox.setId(arg0); combobox.setColumnName(AttributeDataUtilityHelper.getColumnName(arg0, arg1, arg2)); combobox.setMultiSelect(true); combobox.setSelected("00"); guicomponentarray.addGUIComponent(combobox);
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.7I tried to copy a string of a list of file names to the clipboard in a custom jsp, but I got the following error:Windchill JSP Exception nested exception: java.awt.HeadlessExceptionClipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();An error occurred at this point.StringSelection selection = new StringSelection(str);clipboard.setContents(selection, null);Please tell me how to avoid this error and use the clipboard.Here are the errors that I facedWindchill JSP Exception nested exception: java.awt.HeadlessException --------------------------------------------------------Translated the topic from Japanese to English using google translate Subject - クリップボードのHeadlessException回避Body - I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.7 カスタマイズjspでクリップボードにファイル名のリストの文字列をコピーしようとしましたが Windchill JSP 例外 ネステッド例外: java.awt.HeadlessException が出ます Clipboard clipb
Version: Windchill 12.0 Use Case: hi, I want to delete the part structure details for many of the parts at a time , such that it removes the structure details of the parent part completely for the current revision.Description: is there any utility or API to help get the changes updated ? please assist if anything helps
Version: Windchill 12.0 Use Case: Configure Table "Action Column"Description: Hello PTC Community,I have a table that returns a list of WTUsers. I have used CS169977 to configure an "action column". The action for now is just a print statement to the MS log to confirm it is working. If I right click a row in the table, it takes ~20 seconds for the action to load. Once loaded, if I try again, the action loads immediately. Any ideas on why it might take 20 seconds for the first load?
Version: Windchill 12.1 Use Case: Upgrade from windchill 11.2 to windchill 12.1.2 version. However, the following error occurred: https://www.ptc.com/en/support/article/CS356481?source=search So according to the case method, I erased the three jar files and ran the server again, and it worked normally. But, Creates those three jar files again at "/codebase/WEB-INF/lib" after when i recompiling at Eclipse. I want to change the corresponding three jackson.jar files to jackson-all.jar and make them appear, what are the ways?Description: <Windchill_Home>/codebase/WEB-INF/lib/jackson-databind.jar<Windchill_Home>/codebase/WEB-INF/lib/jackson-core.jar<Windchill_Home>/codebase/WEB-INF/lib/jackson-annotations.jar I don't want the top three files to appear.I'd like to have the jackson-all.jar file created.
Version: Windchill 12.0 Use Case: While editing the Change Request adding new affected objects under select affected object, suppose there is 2 affected objects already present for the change request we are adding 1 new object.Description: The problem faced is while fetching these affected object through code using ChangeHelper2.service.getChangeables(changeRequest) inside editFormProcessor only able to get the 2 affected object, I need to check all the affected objects(existing + newly added) as well as just newly added object.
Version: Windchill 11.0 Use Case: I modeled a class that extend from wt.enterprise.IteratedFolderResident, everything works fine. I can create it and assign it into a folder,Description: But the attribute 'location' or 'folder.id' doesn't show in Type and Attribute Management. So I can't put it into any layout and the OOTB defineItemAttributesWizStep won't display the folder selector. Anything else need I do?
I am using Windchill PDMLink Release 11.0 I want to create an interface that other systems can access. How can I do that?
Hi All,I wanted to know :What are the limitations of Github Copilot usage for Windchill package ?How to provide necessary Windchill package SDK libraries and configurations set up in IDE project folder?What is the accuracy of Code generation / Suggestion / fix by GitHub Copilot ?Thanks!
Hi All,Is there any api to customize content of Subject of Promotion Request Task?? I was able to change Subject of emaill notyfication. Now I need to do this same i UI. Thank you in advance for any advice.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.1Using ModelCheck to prevent files with errors from being checked in and although there are no errors in the file the preferences "ModelCHECK Number of Horus"is preventing users from checking in files. I have even tried changing the value to 999, and the user can still not check in files if more than a day has passed since the last time ModelCheck was run on the file.Here are the errors that I facedUnable to check in files
Version: Windchill 12.0 Use Case: Creating and reading a part with a particular security label value.Description: Security Labels come out of our WRS get calls as the Display Value, but they are required to be set via the internal db value. This behaves functionally like the EnumType value in WRS. Could this be enhanced to support this type so both values can be read from the API so it is more readily available to read back in.
when part move to a particular, through code i am trying to create WTDoc and i was able to create WTDoc but it does not link to WTPart through describeBy link. So is it possible to create WTDoc with describeBy link with WTPart through code.
Version: Windchill 12.0 Use Case: Automatically fill in Name when creating a new reviewDescription: I now need to generate a name automatically based on the selected WTPart when creating a new review. The name generation rule is WTPart.getname + "_" + WTPart.getNumber()
Version: Windchill 12.0 Goal: Append permanent CreoView links to an Excel file so that a user can bypass needing to open windchill to view a windchill item listed in an excel table.Description: I wrote this VBA script to retrieve a creoView link: Function getCreoViewLink(PN As String) As String Dim Value As Variant Dim response As Object Dim CreoViewRepresentations As Object Dim creoViewLink As String On Error Resume Next ' get response from helper function ' Get Response from Endpoint: https://" & server & ":443/Windchill/servlet/odata/v4/CADDocumentMgmt/CADDocuments?$select=Representations&$filter=Number eq '" & partNumber & "'&$count=false&$expand=Representations Set response = GetCADDocumentData(PN, CONST_PTC_SERVER_DOMAIN, CONST_UNAME, CONST_PASS) ' navigate Json to "CreoViewURL" Set CreoViewRepresentations = JsonConverter.ParseJson(response.responseText)("value")(1)("Representations") ' (1)("CreoViewURL") ' Exit early i
I am developing an interface for Windchill 11. How can I notify other systems when the task is completed?
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.