Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Is it somehow possible to add certain libraries to a project on creation, so it you don't have to do it afterwards manually. Here I am thinking of formats, templates etc. When I am creating a part in a project it wont read the template in my library it only works if i am in a product. I get this meassage example when i try doing it in a project:wtpub://PLM/Libraries/System/Formats/a3_rd8.frm|v=A.1' cannot be retrieved.'a3_rd8' does not exist in the database.
Does anyone know how to disable the windows that pop up when doing some actions like saving and uploading? These notifications pop up at the bottom right corner of the cad tool.
Curious if anyone has done this. It would be nice in PartsLink as users search for parts to know if there already exists a CAD model for that Part. This can be a simple Boolean but I am not sure alias or calculated attributes can work here. Has anyone does something like this or have a similar approach? I am sure a listener can be used to calculate this value as the Part is checked in. Since CAD associations need to be modified with Part modification, it would be straight forward to add in this value setting on the way in. Listeners can get complicated when the Part object changes midstream causing stale object errors.
Hi,I need to export Creo assembly multilevel BOM from Windchill programmatically. I checked IE task Query-Tree and REST Call PTC.CADDocumentMgmt.GetStructure. Both produce correct multilevel BOM, but the same Creo components in BOM are not merged (per level), so the same Creo components are listed multiple times and all quantities are equal to 1. On the other hand, running Query-Tree on WTPart does produce correct quantities in multilevel BOM.In both cases I run an equally structured IE task, the only difference was Type. Do I miss some parameter in IE task to produce quantity for EPM Document or is not possible at all?Any idea is very welcome.Thanks.
On a third-party site, we display a list of drawings from Windchill. Tell me, please, are there ready-made solutions so that you can view a thumbnail of a drawing on a third-party site? Now I use the REST API to first get the ID by designation, and then get the visualization by drawing ID
OK... So here is an example of where it would be great to keep good notes as an admin... but failed to do so... I have a Promotion Request Subtype created some time ago. And in certain products, i must have been able to set the Subtype as the default upon Promotion Request Creation. And now... for the life of me. I cannot remember how I accomplished this! I want to change it back to the Parent Type! Thanks in Advance!
Hi All,I am trying to get backup of windchill DB but I am facing below issue.Can you please help me.
Hello.We have an object wt.change2.WTChangeOrder2 Please tell me how to get its objects that are in the ReleaseNotice?
Is there a way I can find all the Deprecated API in Windchill 11 & Windchill 12 Programmatically ?
I am trying to add Custom Attribute to CreateMultiplePart Wizard . This attribute is a picker . Based on the selected Type of WTPart Part , it should populate the Attribute "Parent Part" , where User should be able to search the parent part Name . CreateMultiplePart Wiz 's defineItem.jspf page controls the wiz definition . Any changes there , also gets applied to CreateNewPart wiz. Please suggest a right approach .
I have a WTPart 2.2 linked CAD Drawing 2.1.Removed the content link on 2.2 and checked in.There is no content link for WTPart 2.3 Version.When i am trying collect the related objects for CAD Drawing 2.1 in change order the collector is picking up 2.3 version which is wrong.It this the default OOTB Behaviour?Is there any thing we can configure?
Hi, I tried to fetch group info from user , but i am getting unwanted results apart from the group name for that user.I have used below api :- user.parentGroups(false); Does anyone have any idea why this api is not returning exact group info which is present for that particular user. Thanks in advance.
Which Windchill Software needs to be installed to search for partnumber details.
here 127.0.0.1 is my hostname. Also, my java program is notgetting executed. I tried calling my function through main(), it throwed RMI exception error. Now post making the following changes. Still authentication error exists: myFunction is my remote function which internally calls getDocbyIBA() function where I have my querySpec which returns some data. While checking the ms logs..I can see the code execution in function myFuncrtion() happens and the authorization error is thrown at this line
Hello, I know there is already a similar topic but it seems like this does not work in newer versions anymore. I am trying to call a Servlet from a custom jsp in Windchill 12.0.2.1.The serlets url is <server>/Windchill/servlet/MyExportServlet. The servlet works fine when I paste this url in the browser. I am generating the url in the jsp like you can see blow. <% String cb = WTProperties.getLocalProperties().getProperty("wt.server.codebase"); String action = cb + "/servlet/MyExportServlet"; %> Then there is a form in the jsp that is supposed to call the servlet <form action="<%=action%>"> ....inputs <button type="submit">Submit</button> </form> However when pressing submit the page seems to be reloading and the servlet is not called. There is no error or anything else. Does anyone know how to do this? Best regards
Do we have BOM comparison among 4 or 6 partnumbers in windchill ?
Curious about best practices and how others manage their Windchill code. Always looking for better ways and tips. Obviously this depends upon the OS you use for your servers and your chosen IDE. Let me start. I've taken different approaches over the years but since I mainly a single developer, its been ok. The occasional intern does present config management challenges. IDE: Eclipse Windchill OS: Redhat Linux Source Control: GIT/Bitbucket/Jira Environments: Test/Prod but looking to build out Dev with next upgrade (long story). Process: Code changes against Jira issues. Compile in IDE and copy to Linux side to Test Env. Execute Jira test scripts. Once tests pass, push code changes into Bitbucket tied to Jira ticket. Plan downtime to move code changes to Production. Process to move code to Prod is same (copy from landing place where I posted last Test server copy). Yes, I am using wtSafeArea and ant scripts to push into codebases. Any suggestion? Share your process?
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.
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.