Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I pass the value to the Delete-object query in InfoEngine in a loop. If an object is successfully deleted, the loop moves to the next value. However, if a value fails to delete, the loop exits. I need a solution to ignore any failed deletions and continue to the next value, ensuring all values are processed through the loop
Version: Windchill 12.1 Use Case: I want to create a Document with Windchil REST Services 2.5. I used the PTC Document Management Domain with POST /Documents.Description: By using the Body of the example from Creating a Document (ptc.com) { "Name": "TestDoc1", "Description": "TestDoc1_Description", "Title": "TestDoc1_Title", "Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:48788507')" } i recieveError: 403{ "error": { "code": null, "message": "Windchill type is not instantiable" } }Any ideas that can help?
Version: Windchill 12.1 Use Case: How to check WTPart if which is don't have parent using Info-engineDescription: How to check WTPart if which is don't have parent using Info-engine
Version: Windchill 12.0 Use Case: I want to perform Custom code deployment from source Windchill system to a new windchill environment, where I have the custom java files stored in WTHome\src directory. Also the custom configurations like loadFiles and workflows and templates to be deployed to target. I'd need help with steps to prepare Build.xml and create a .jar file and how to deploy it to target system Description: Required help with the steps to perform the ant script and build deployment on WIndchill 12.0
Version: Windchill 12.0 Use Case:I have custom MVC table with some pre-defined columns. I want to add one more column which is uploadContent i.e, it swould be similar to add attachment so that user should able to browse particular file and add it to this table columnDescription: Hello Community, I have custom MVC table with some pre-defined columns. I want to add one more column which is uploadContent i.e, it swould be similar to add attachment so that user should able to browse particular file and add it to this table column
What stack does Winchill run on?I've always assumed Struts and Spring but not really sure.
Hi Guys,One WT Part with CAD is assciated each other if i change the attributes in WT Part not updated in CAD. How we can over come this issue. [First time which i enter that value and attributes came in CAD, but only thing edit in WT part is not updated in CAD] Regards,AJ
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.1.0Windchill12: API for create Reusable Attributes and Global Enumerations then link with Type and Parts Link.Windchill12 如何使用API的方式创建可重用属性、全局枚举,并且应用于类型WTPart上和PartsLink上。
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
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.