Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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.
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.
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.