Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, I want to add a SOAP webservice in Windchill which the other systems can invoke to send data to Windchill server. Please let me know the steps to register the same and the steps to invoke it. Thanks in advance. Regards,Hari
I am creating service document library using Windchill classification explorer based on the attribute type & values. Our service documents are stored in MSword & PDF files and i believe it is unable to create classification explorer library using document attributes. To avoid this issue i have created WT Part with same document attributes (Service doc is attached to related objects) and created classification library. Is that correct approach? Do we have any other way to create library in Windchill? Can we create WT part for document objects, till now i have created only for CAD files, share your knowledge on this?
Windchill 11.2 REST API 1.7 Hello all, I’ve been trying to pull the attribute constraints for parts classification but have been coming up short. I’ve found a few things that seem promising at first glance, but results end up being… confusing. PTC Documentation says that the follow are the “Classification Constraint Types”: Enumerated Value List External Enumerated Value List Immutable Legal Value List Lowercase No Duplicate Values Regular Expression Required Single-Valued String Format (deprecated, use regular expression now) String Length Suggested Value List Uppercase Valid Range Wildcard I probably don’t need to get all of them. The most important ones would be Legal Value List, Valid Range, String Length, and Required since these seem to be used the most. (Knowing how to get all of them would be great though.) 1. Windchill REST API (1.7 API V2): The PTC Classification Structure Domain has /GetEnumTypeConstraintOnClfA
Hello, I wanted to write JUnit test cases for Windchill customizations, I am not able to find a guide document for the same, can any of you shed some light on how one can start writing test cases for Windchill code ?. I am able to write the test cases for basic functionality like fetching an attribute but not for complex scenarios. Requesting your help with the same. Thanks,Hari
Hello everyone!I've made a custom validation class on Promotion Request Wizard to allow only 1 Object to be promoted.On my implementation of DefaultUIComponentValidator, the method performFullPreValidation(UIValidationKey arg0, UIValidationCriteria arg1, Locale arg2) throws a WTException when validation not met the requirements, but the message on Exception do not show to the final user, just appear on console.What's happening? Am I missing something? What's the correct way to display exception message to the final user through alert dialog? This is the implementation: public UIValidationResultSet performFullPreValidation(UIValidationKey arg0, UIValidationCriteria arg1, Locale arg2) throws WTException { if(arg1.getTargetObjects().size() == 1) { return super.performFullPreValidation(arg0, arg1, arg2); } else if(arg1.getTargetObjects().size() > 1) { throw new WTException("Only one object allowed for promotion"); } else { throw new WTException("Need to select o
Hi, when I try to edit a test case using im editissue --field=Title="My Title" idxx (where idxx is my test case id) I receive the following error Could not save modified item idxx: MKS124079: The field "Title" is not a valid field in the Type "Test Case".Using " im viewissue idxx " -> can see that field Title is there.How to make it work ? I tried updating the title manually (from gui) and it works, but still cannot use im editissue (....) and it's important for scripting.
Dear all, when a ESI xml is generated, the number and date formats are always following the language that the user has chosen in the UI. That means e. g.English : 0.000German: 0,00 (Comma instead of a dot)Same for date formats.This is very annoying because the connected systems are getting the values in the wrong formats and this is then causing errors..Is there any way to confiqure that behaviour in order to get date and numeric values always in englishformat? We are using Version 11.1. Thanks,Juergen
Whenever AutoCAD Object is Getting created from workspace Document Category is showing only CADPart.I wanted to make my AutoCAD object as CADDrawing/ Whenever Creating AutoCAD Object it should get created as CADDrawing.
I can get a string attribute from the Change Activity to the workflow. How do I convert a long attribute to an int attribute? Code for string is below where attribute is the attribute in the change activity and att1 is the attribute in the workflow. com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(primaryBusinessObject,null,java.util.Locale.US,null); obj.load("attribute"); att1 = (String) obj.get("attribute")
How to use only "plm.lightbreeze.ml" to go to the home page instead of using the suffix "Windchill/app"
Hello, I have a question regarding Windchill dropdowns. So by default, when clicking an action in a dropdown the dropdown closes automatically like the one shown in the image.What I need is a way to keep it opened so the user can click multiple entries without having to open the dropdown several times. The customize button you can find on the Windchill homepage does exacly that. The dropdown does not close after clicking an entry. This way you can easily select multiple checkboxes at a time. Is there a way to prevent the dropdown model from closing or is this Windchill specific and can not be customized. Best regards
Hi All,I'm trying to map an attribute value from WTPart to an EPM Document.Created an Alias attribute on the EPM document and using mapping however it's not populating value from WTPart.Tried using both the below relations none of them works.buildSource@wtepm.EPMBuildRule~buildTarget^com.dslpune.rawpart~megatherm.itemgroupdescribedBy@wt.epm.EPMDescribeLink~describes^com.dslpune.rawpart~megatherm.itemgroupAny suggestions to fix this?Thanks in advance.
How checkout icon is displayed on the object/Behavior of checkout icon on the icon?
Hello, I have a general question about the Windchill documentation.So there are a lot of listeners available to use in JSPs for customization like "wizardLoadComplete" or "afterLoadAttribueTable" etc. but is there a documentation of all listeners? I need a specific listener but how am I supposed to find it without a list of all available listener?I was not able to find anything about those events, maybe someone can help me or has the same problem. Best regards
how to create custom Status Glyph based on attribute value?
Hello,my edit wizard has 5 steps. You start at the first step, the Apply and Finish buttons are disabled be default.You have to go through the first 2 steps so the Apply and Finish buttons enable. However, I need them to be enabled all the time by default so you can open the wizard and apply the changes right away. I came up with this: Ext.getCmp("PJL_wizard_ok").enable(); This works for enabling the button, however, I need a place to call it. I was thinking about using a listener but I have tried "wizardLoadComplete" which does not work. Is there another way to achieve this? Best regards
We are trying to fetch multiple objects using the Query-Links. We use 2 Query-Links embedded inside "Parallel" webject. Each Query-Links webject will get approx 124-125 objects each.Please refer the below snippet for the same. <ie:parallel><ie:webject name="Query-Links" type="OBJ">...<ie:param name="group_out" data="objects1"/></ie:webject><ie:webject name="Query-Links" type="OBJ">....<ie:param name="group_out" data="objects2"/></ie:webject></ie:parallel><ie:webject name="Concat-Groups" type="GRP"><ie:param name="GROUP_IN" data="objects1"/><ie:param name="GROUP_IN" data="objects2"/><ie:param name="GROUP_OUT" data="objects"/></ie:webject>We then combine the results using a group webject.This task file will be called multiple times. In about 7-8th call, we face below Exception. We tried "Merge-Groups" and "Concat-Groups" webjects and we still face the "No group" exception. It works fine for less than 7 cal
I wonder if there is a way and exchange address in the two windchill tab and leave one that my pattern and if the possibility to disable the second.
Hi All,I have to create a customize participant list where I can see the roles what user gave on earlier Wizard.I have one role called Releaser Role on WTPart and on top that I have one action release part . When I am clicking on that action I have to create a Participant list which contain the role what we gave While creating part.Can we achive this from tree adaptor or any other way please suggest.@HelesicPetr , @Ajit_Kulkarni
While migrating the older version of the creo drawings from Windchill to Teamcenter, we are getting some unknown sync issue, this issue is exactly happens when we did some changes on latest version of the dependencies. For example let's say in creo DRW001.drw has the dependencies of PRT001.prt Let's say these are the latest version available in Windchill. DRW001.drw - 1.3 PRT001.prt - 1.3 Now we need to migrate the 1.1 version of the DRW001.drw. Also we did renaming on the PRT001.prt as PRT001_NEW.prt on the latest version (1.3) So after Windchill extraction by "As stored" for the 1.1 version of the drawing, we facing sync issue that PRT001.prt is not in the directory. Basically what's happening here is, when we rename the part in Windchill, it's getting renamed automatically for all the versions of the part, But in the physical file (File history of the part), it's still having the old name id. This can be fixed by check out the par
When will I open some drawings to make changes when I go to UPdate Values the same opens as default the notepad I can change to another type of application ? I've already set another application in Windows as the default yet to continue opening as Wordpad.
As per this thread: Will this work for operated On type allocated parts ? PTC is suggesting MPMProcessPlanHelper.service.getPartsFromOperation and getOperatedPartsFromOperation and doesnt seem to work. Please suggest.
Hi All,Trying to achieve Check in of WTPart should fail from workspace is a attribute is missing.Made the attribute required in Type & attribute however still it gets checked-in from workspace.Any reference what needs to be done.Thanks in advance
Hi All,I have a document of called Test so when my part is attached to this particular document I want the attribute value of document should pass to WTPart..Following are the attributesname :How I can achive this from alias attribute.@HelesicPetr , @manoj_dokku2 , @BjoernRueegg
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.