Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
The requirement is to ensure that specific attributes of a WTPart are strictly read-only across all user interfaces whenever the part belongs to the Manufacturing View. This restriction must apply universally, including during standard object modification (Edit Part wizard) and within structural manipulation tools like the BOM Transformer (downstream view).Current Progress & Technical Challenge Edit Part Wizard (Success): The read-only behavior was successfully implemented for the standard Edit Part wizard by creating a custom DataUtility and overriding the getDataValue() method. BOM Transformer (Issue): The same logic fails in the BOM Transformer's downstream view. Attempting to override getPlainDataValue() does not prevent inline editing. This occurs because the BOM Transformer relies on tree-grid components and operational descriptors (ComponentMode) that bypass standard plain text data value rendering during inline edit cycles.
how to get the NonConformance Review through the NonConformance object.
Hello,I’m trying to create an attribute that could verify if a document posses a secondary content (a boolean would be enough) Once created, I will use that attribute in the advanced search’s view, to be able to sort and show if the document has a secondary content or not I’m on Windchill 10.2, with my new standart attribute “HasSecondaryContent” in the type “Document”, but I don’t know how get the information about the secondary content into my attribute, or to add it in the list of attributes in the view modification’s window (I see it on the document detail page)Do you have some hints to help me create that attribute ?
We have a requirement to send certain WTPart data from Windchill to ERP using ESI, specifically for parts that are created on a given day.The idea is to pick up all parts created on that day (they will still be in an unreleased state) and send them to ESI so that the XML gets generated. Later, once the parts go through the normal change/release process, the updated data will be published again.My plan is to write a custom piece of code that runs on a schedule (maybe a nightly job). It would:Query all WTParts created on that day Loop through them Send them to ESI programmaticallyBefore going ahead, I wanted to check if anyone has already done something similar — mainly:Triggering ESI publish via code (instead of using the UI “Send to Distribution Target”) Generating ESI XML for parts using this approachAny pointers on the recommended API or approach would be helpful.
Scenario 1 A user creates a CAD part (EPMDocument) and performs a check-in. This triggers a visualization job. The job is submitted to a low-priority queue. Description is blank. Later, the user creates a Change Notice (CN) and submits it. This triggers another visualization job. The job is submitted to a medium-priority queue. Description is "Submitted". Issue in Scenario 1: When the object is sent for review, initially the correct ("Submitted") representation is visible. However, once the earlier low-priority job (triggered during check-in) executes later: It republishes the representation Overrides the "Submitted" representation with the blank one As a result, the reviewer ends up seeing an outdated representation instead of the latest one. Scenario 2 Reviewer sends the object for rework: A new visualization job is triggered (with description like "Rework") After rework, the object is again submitted for review: Another visualization job i
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.10 After configuration of JNDI adapter with corporate AD no user can be found in participant administration. No error can be seen in log files.
Is it possible to complete a workflow task programmatically using Java code?For example, I would like to complete a Change Notice task programmatically rather than through the user interface. Is this supported? If so, could you please provide some guidance on how this can be achieved? Best Regards,Shrikant Bhosle
I'm looking to apply Option Choice filter, combined with Latest, View and State Filter on a WTPart BOM Structure in Windchill api ust like how we do in Windchill UI. Can anybody help?@HelesicPetr @avillanueva
Hello,I'm currently implementing an LLM chat box for Windchill 13.0 and need a secure solution to send a key to an outside service, which will be saved in the session and used to query the Windchill API to gather data. Security context is important, so I need to send a key for the current user. For example, I'm currently sending the wcadmin bearer token for testing purposes.The code for the chat box is in a JSP file, so I need to be able to fetch the key from that context.Thanks!
I am exploring the feasibility of developing a unified REST endpoint that enables the creation of Options and Choices, associates an Option Set with a Product under an Option Pool, and assigns it to a specific configurable WTPart. This endpoint would also facilitate the creation of a Variant Specification. While these actions are currently performed through multiple steps in the Windchill UI, my goal is to streamline the process into a single interface. This would allow users from non-Windchill platforms to access a Product and its associated WTPart, input specific Options and Choices, and generate a Variant BOM accordingly. I seek expert guidance on the feasibility and potential challenges of implementing this approach.
Version: Windchill 13.0 Use Case: Doing wildcard search from a Navigate app by calling WRS endpoints like v7/ProdMgmt/Parts with $filter containing asterisks *. Description: Hello All, I have a Navigate app, which queries for WTParts, currently $filter-ing by contains(Name, '<query>'). We'd like to extend it so that it supports arbitrary wildcards like "quick*fox*dog". WRS docs suggest we can enable wildcards via PTC-WildcardSearch header, but I don't see how it can be done via Navigate, which doesn't seem to allow me specifying custom headers. As for now, I thought of working around this issue by and-chaining "contains" clauses and then filtering out false positives on the ThingWorx side. I'll appreciate better ideas. Thanks, Constantine
We would like to “react” to the loading of PDF representation on drawings (EPMDocument). The loading is done via the RepHelper from Windchill Vieable Service in a separated process. Which event in Windchill should we listen at ? I thought ContentServiceEvent.POST_UPLOAD could be a good candidate, but i could not see it triggered during the load.
Need to add custom action in Action Menu Toolbar.
Our requirement is to fetch service effectivity information of service objects (publication group, textual content holder.. etc.) using windchill REST services.PTC support team has confirmed there are no OOTB API. Currently in Windchill - created this topic for product idea.
Hi AllI’m have exported my custom table view one windchill server and trying to import it into another server using LoadFromFile. The output shows it has successfully imported but the view is actually not imported.Can someone help by mentioning what are important points to be considered while doing this or suggest where I may have gone wrong. Please note I have to use LoadFromFile utility only
We have a requirement for mass change quantity update, where we have 2 input text boxes in step 1 and in step 2 we have a table builder. The data on the table builder in step 2 would be based on the text box input from step1, but i am not able to get the value of the text box from step1 in the Nmcommand bean of the table builder. Could you please assist me here?
Every time I'm in my Windchill I try to open a part through CREO view it opens with my chrome browser, would it be possible to leave the EDGE browser as the default? I've already set it as the default in Windows and nothing.
I want to show richtext box for global attribute of document. Below thread has details of DU to achieve it however TextDisplayComponent.setRichText(true); is no more available and supported.Anyone worked on this kind of customization in windchill 13.0?
In OOTB versioning schemes, revision behavior can be controlled using various properties such as delta, min, max, and skip list.I have implemented a custom file-based versioning solution and wanted to understand whether it is possible to implement similar custom properties to control behaviors such as skipping versions, setting minimum revisions, and setting maximum revisions.
Hi,My part lifecycle states include Development - Prototype - Released - WithdrawnOn revise from prototype or released the part will return to development state, and then a change notice is used to either transition Development → Prototype, Development → Released or Prototype→ ReleasedI have two types of change notice “Prototype Change Notice” and “Change Notice”, which have different workflows (different approval roles)I would like to limit the available release targets when a “Prototype Change Notice” is raised to only be the prototype state - “Preproduction” change transition (remove the Change transition from the list)This looks similar to the request here, but I cant see a solution - I have tried investigating the mapping rules, but I can only find how to limit target states based on the change object type, not on the change notice type it is withinThanks
I am looking for APIs to define custom view that I can use in Item picker.Looking for guidance if anyone created custom views through code
Hi all,I am creating a new Info Engine(IE) task. That IE task requires a string parameter as input and it calls another IE task inside. So in my new IE task, I perform a validation and when it succeeds I call another IE task. But if the validation fails, I need to throw an exception or communicate to the user about the error message. How can we do it? I am testing it using the PTC IE domain in WRS.
Hello,anyone could help determining how the workflow expression should be composed to get a conditional when a CN includes asm files in the affected objects.Thank you.
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.5 We are currently integrating Windchill APIs with our Metadata Tool for API cataloging and lineage purposes. The schema is required by metadata tool in order to automatically parse and register the API endpoints and metadata. We identified that the following schema endpoint successfully returns a valid OpenAPI 3.0 JSON schema when accessed with Basic Authentication: https://x.company.ae/Windchill/protocolAuth/netmarkets/html/wrs/odata-to-swagger.jsp?v=7&d=ProdMgmt. We also tested generating a CSRF token using the below endpoint: https://x.company.ae/Windchill/protocolAuth/servlet/odata/v5/PTC/GetCSRFToken() The generated token works successfully for BOM-related API calls, but it does not work when accessing the swagger/OpenAPI endpoint above. Could you please check with the PTC/Windchill team if one of the following options can be provided: A token-based authentication mechanism for accessing the OpenAPI schema
I am aware of this utility:https://www.ptc.com/en/support/article/CS115390?source=search and database mods are sometimes easy to do but I think its time to sick an intern on this project. For those cases where I import some data that needs to start life at a higher revision other than initial, I need a clean way to alter the current identifier to something else. I can envision the UI being a simple drop down list or validated textbox for user entry but would need to accept a new version letter and alter the object. Supporting multiselect would be nice too. It also should handle erorr checking caveats to maintain sanity. Posting here if anyone else has thoughts and can supply some useful requirements I can fold in. Willing to share results with field when complete.
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.