Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 11.1 Use Case: Is It remove/hide the attribute based on the value of other attribute while Creating WTPart and Editing WTPart?Description: Is It remove/hide the attribute based on the value of other attribute while Creating WTPart and Editing WTPart?
Version: Windchill 11.2 Use Case: Restricting auto numbering for part creation in windchill rest api.Description: Im trying to create a WT part file using rest api.I'm able to create that without providing number property in the request .The part file is created with number generated from windchill. But when I try to provide a value for the property number in the request ,it throws validation error.Can you help me with creating a part file with any number provided in the request.Error message for reference:{ "error": { "code": null, "message": "The value for Number cannot be changed." }}
Hi Folks,I'm a mechanical engineer, and wanted to learn the Windchill Data migration and Customisation process.Please let me know if PTC has some courses, or as mechanical engineer, what new things I need to learn to fullfill the requirements for Windchill data migration or Customisation Engineer. Thank you in advance 😊
Version: Windchill 11.1 Use Case: Uploading large files using windchill rest api Description: Hi , I'm trying to upload a large files in windchill using rest api. I'm not able to upload large files using rest api . Is there any ways to upload large sized files .But when I try the same request using postman, the content gets uploaded. Is there any ways ,other than file path in the upload section, can we provide chunks of files that combine all those chunks into single file.
Hello, I would like to use Apache Maven as a development platform for my Java projects (Windchill customizations). It seems that the structure of Windchill Java libraries and codebase is quite specific. I am looking for some tips on how to represent Windchill codebase as Maven artifacts. Has anyone tried to develop custom Windchill applications in Java using Apache Maven? Would you share your experience? Thank you in advance Michal Palicka
Version: Windchill 12.1 Use Case: We need to create attribute in which we need to store value if Source have update to date image or not . For storing value , we need trigger point . We need event which listens when HDIC conversion takes place from CATIA to creo. Description: We need to create attribute in which we need to store value if Source have update to date image or not .For storing value , we need trigger point . We need event which listens when HDIC conversion takes place from CATIA to creo.
I'm looking to create a custom REST service that performs the same function as my current SOAP service in Windchill 12, which retrieves the Windchill version. Can anyone provide guidance on how to achieve this. Here are some details : This link below shows the steps to create a custom REST service in Windchill.https://support.ptc.com/help/windchill_rest_services/r2.5/en/#page/windchill_rest_services/WCCG_RESTAPIsCustomizingExamplesCreateDomain.html# My code is a JSP-based SOAP service that retrieves the version of Windchill installed. It imports necessary Java classes, creates an output group, and attempts to fetch the Windchill version using WindchillVersion.getInstalledAssemblyReleaseIdFor("wnc"). If successful, it adds the version string to an element and then to the output group. The final part uses an InfoEngine webject to return this group as the SOAP response. This service ensures that the Windchill version is retrieved and returned in a structured format.I attemp
I have custoom wizard in which I implemented MVC table. This table is having objects which are belonging to a custom POJO class. I want to retrieve values for each column (each column is aa POJO attribute). Once I get those all column values, I want to create an object of WTDocument type.I tried with objHandle but not succeeded. Can anyone help me with process of this implementation ?
{ "access_token":"RsT5OjbzRn430zqMLgV3Ia", "expires_in":3600 } @HelesicPetr
Version: Windchill 11.2 Use Case: I would like to perform windchill query spec for the following statementSELECT NAME FROM SUBFOLDER WHERE ida3containerreference=80556; below is my code:public class qeurytest { public static void showFolder() throws WTException { QuerySpec qs=new QuerySpec(); qs.setAdvancedQueryEnabled(true); int foldertable=qs.appendClassList(wt.folder.SubFolder.class, false); ClassAttribute ca1 = newClassAttribute(SubFolder.class,SubFolder.NAME); qs.appendSelect(ca1, new int[] {foldertable}, true); SearchCondition sc= new SearchCondition(SubFolder.class,SubFolder.CONTAINER_ID,SearchCondition.EQUAL,"80556"); qs.appendWhere(sc,new int[] {foldertable}); System.out.println("Printing the queryspec of class --> " + qs); }Description: I am facing an error : Attribute "containerReference.key.id" of class "java.lang.Long" is not of type "java.lang.String"why is this error coming up and what would be the windchill que
Version: Windchill 12.1 Use Case: Created a custom user picker utility, and a global reusable attribute of String type. Then, created an IBA on Problem Report.Description: How can I get rid of the find icon next to textbox? In my usecase, the IBA should not be editable from this VIEW mode. It should be changed only in CREATE/EDIT mode.Can I get a link of the user? rather than just the full name. (exactly like created by/modified by attribute on most objects)
I implemented a custom user picker utility.When searched on full name and selecting the user from the result, it gives some kind of internal ID in the display instead of full nameIt gives the right result(last name, first name) when the username is used to search rather than full name.
I am currently working on a project that utilizes several Generic Web Service SOAP methods. I am interested in exploring whether these methods are also available in the Windchill out-of-the-box REST Web Service.Specifically, I would like to:Obtain detailed information about the available REST endpoints in Windchill REST Services.Check the Generic Web Service to see if the same methods used in my SOAP implementation are available in the REST service.I have already reviewed the article available at (https://www.ptc.com/en/support/article/CS254366) but found it difficult to understand. My primary concern is to determine the existence of certain generic methods in the REST service.Could you please provide guidance on how to access the Windchill REST Services catalog and any relevant documentation or resources? Additionally, if there are specific configuration steps required to enable or view these REST endpoints, I would appreciate detailed instructions.Thank you for your assistance.Best r
Version: Windchill 12.1 Hello,I am creating an object with a problem report subtype using an expression robot within a Windchill workflow. There are some cascading rules defined in the created problem report based on the Role value. For example, when the Role value is set to Software Quality Engineer, attributes X, Y, Z, A, and BC should be hidden. However, even though I set the Role value to Software Quality Engineer while creating the object, the cascading rules do not apply during the object creation, and all attributes are visible on the info page after the object is created. The cascading rules only work on the Edit page, but even if the object is edited in this way, the info page is not updated. How can I resolve this issue? I am eagerly awaiting your suggestions. @HelesicPetr Additionally, the default values for the attributes are not appearing in the object I created with the code below. The info page is completely empty, showing only the attribute names.&n
Version: Windchill 12.0 Use Case: In a workflow, for a notify by email task, there are two OOTB templates available: NotificationRobot and NotificationRobotPlain. How do I add another?Description: Is there a resource bundle in the codebase that generates this dropdown list? I found the html files to edit both of the templates in codebase/templates/workNotification. Should I be making a new file in this folder then somewhere else add a template name to the list and reference the new file?
Version: Windchill 12.0 Hello, In Windchill, I am creating an automatic promotion request at the end of the change review process with the following code. However, I have two questions that I couldn't resolve.Question: I have defined a boolean variable "Should automatic promotion request be initiated?" within the activity at the approval stage for the automatic promotion request code. I want the code below to execute if this variable is true; otherwise, it should not execute. How can I achieve this?Question: I want the person in the submitter role who initiated the change review process to be assigned as the "created by" for the promotion request. These questions might be simple, but I haven't been able to find a solution."Code to Automatically Create Promotion Requests for Documents in Change Review"wt.pom.Transaction trx = new wt.pom.Transaction();wt.change2.WTChangeReview changeReview = (wt.change2.WTChangeReview) primaryBusinessObject;// ChangeReview nesnesinden kapsayıcı
Version: Windchill 12.0 Use Case: i was using allversionsfrom(Versioned versioned) to fetch the all versions as to first record version. But for alphabetic version like AA AB im not getting the previous version, please assistDescription: i was using allversionsfrom(Versioned versioned) to fetch the all versions as to first record version. But for alphabetic version like AA AB im not getting the previous version, please assist
Version: Windchill 12.0 Use Case: My scheduled report executed and send the mail by data monitor, The mail subject and body have looks like not properly.Description: My scheduled report executed and send the mail by data monitor, The mail subject and body have looks like not properly. Can be able to change the subject and email body.
I am using Windchill PDMLink Release 11.1 and Datecode with CPS M010 Using the API of "SessionHelper.manager.setAdministrator", you can use "wt.vc.wip.WorkInProgressHelper.service.undoCheckout", "ChangeHelper2.service.unattachChangeable", " VersionControlHelper.service.deleteIterations" API is executed, \nI would like to get an error if I set the permission to "Deny" in policy management, but it does not result in an error. \nCan I change the policy management so that it fails? ------------------------------------------- Translated text from Japanese to English using PTC translate tool Body: SessionHelper.manager.setAdministrator」のAPIを使い管理者にて、「wt.vc.wip.WorkInProgressHelper.service.undoCheckout」「ChangeHelper2.service.unattachChangeable」、「VersionControlHelper.service.deleteIterations」のAPIを実行させた際に、 ポリシー管理で権限を「拒否」にすればエラーとなるようにしたいのですが、エラーになりません。 ポリシー管理を変更して、エラーにする方法をできますか? --By Community Moderation Team -------------------------------------------
I followed the instructions in the below-mentioned article but I'm unable to get work on this Article Number: CS144852Article - CS144852 - How to make one attribute have its values driven by another attribute on the object's Create Wizard in Windchill PDMLink (ptc.com) This requirement can be met via the cascading attribute, but we need this functionality through customization. I also refer one community post.Solved: Re: Adding javascript validation using DataUtiliti... - PTC Community The java script & data utility is not working. Kindly help us on this requirement for Windchill 12.0 & 12.1
We are upgrading from Windchill PDMLink 12.0.2.17 ro 13.0.2.0 and during the compilation of our Java customizations we get these errors:com.thoughtworks.xstream does not existXStream library dependencies removed in Windchill 12.1+See: https://www.ptc.com/en/support/article/CS386935 javax.ws.rs does not exist:Running: windchill wt.util.jmx.Which javax/ws/rs/coreWC12 - URL: jar:file:/has/fs01/opt/ptc/windchill/codebase/WEB-INF/lib/wc3rdpartylibs.jar!/javax/ws/rs/coreWC13 - Resource not foundjavax.servlet does not exist:Running: windchill wt.util.jmx.Which javax/servletWC12 - URL: jar:file:/has/fs01/opt/ptc/windchill/codebase/WEB-INF/lib/ie3rdpartylibs.jar!/javax/servlet/andURL: jar:file:/has/fs01/opt/ptc/windchill/lib/servlet.jar!/javax/servletWC13 - Resource not foundHas anyone else stumbled upon this and was able to fix it?
I wanted to add an validator for the resulting objects table, If release target is empty it should throw an warning to the user. For this scenario I tried extending AffectedAndResultingItemsFormDelegate and ChangeTaskResultingItemsFormDelegate and overriding it's methods to just print dummy statements, it doesn't work for both delegates. Thanks in advance
Is there any API to get Synchronized Version from Source and Image table of related objects tab
Hi , Thanks for the above posting, It works for me. But my requirement is to get the response payload as an collection Arary Can you please suggest the changes that i'll have to do to get an array response as given below Response Payload: -------------------------- "value":[ { "key1":"Test Part", "ChildObjects": [ { "key":"OR:wt.part.WTPart: 1234", "value":" TEST 1234-A " }, &
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.