Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi all, I am using Windchill 11.0 M030-CPS15 I want to get latest revision of a WTPart using Rest API. I tried to use filter, $filter : latestiteration eq true ;but not getting using this also. eg. A.1 and B.1 and B.2 I only want to fetch the latest i.e B.2 Is there any way to get the latest version of a part through Rest API?
Hi, I am working on some code that would remove the pending change icon from resulting objects when a change task is complete. I am not sure how to get to the pending change of the resulting objects via java/sql query. OOTB, the pending change icon is removed when the Change Notice is complete. However, we would like it to be removed when the change task is complete. In the Change Notice workflow, there's an action to approve the hanging changes (think this is the pending changes) after the entire CN is done. Comes from the api call com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.approveHangingChanges(CN). Basically want this to be done on the task and not the entire notice. Have some pseudo code below but not sure how to figure out what resulting object has a pending change. public void tasksFinder(changeNotice) { Query to find tasks in CN //Looking for this still //Once task completes, run approvedHangingChanges for each ta
Dear Windchill Community! Given the following structure: >main part >sub part 1 >sub part 1 1 >sub part 2 I would like to publish multiple BOM depending on View version. I set the preference View To Distribution Target Mappings like so: Design:001,Manufacturing:002,Manufacturing X:003,Manufacturing Y:004 When every part is in Design view and I send it to Distribution Target, All the parts are successfully sent to target 001. When I create a Manufacturing View Version from main part (others remain in Design view) and I send it to Distribution Target, I expect that main part to be sent to target 002 and the other parts which are in design view to be sent to target 001. On the preview screen looks like they are separated, but if I actually send it, I get the following error: ESI pre release : ESI ( 801 ) : One or more of the distribution targets associated to "6AAB0
What recommendations for Windchill development code repositories are there?
Hi all, i've tried to call this servlet POST /Windchill/servlet/odata/IE/InvokeIETask with this body { "Task": "com/ptc/windchill/enterprise/report/ExecuteReportTemplate.xml", "Params": [ { "Name": "object_ref", "Value": "wt.query.template.ReportTemplate:6852467828" }} ] } now I need to change the report criteria directly from the API. I tried to add a parameter but it doesn't seem to work. For example (but it doesn't works) { "Task": "com/ptc/windchill/enterprise/report/ExecuteReportTemplate.xml", "Params": [ { "Name": "object_ref", "Value": "wt.query.template.ReportTemplate:6852467828" }, { "Name":"where", "Value":"((Associated Part.Latest Iteration equals 1) AND (Part Master.Number in 1234))" } ] } Where can I find documentation? what is the correct parameter?
Hi, When I trying to add alias attributes subtypes not working but the same work on when created in OOTB types. How to resolve this? Any Ideas Please?
I am writing a rest service to get users based on a filter. Along with filter I need to fetch the users based on some conditions, and hence need to write a custom hook. Following is my JSON: ContextCreations.json { "name": "ContextCreation", "collectionName": "ContextCreations", "type": "wcType", "wcType": "wt.org.WTUser", "description": "get Users", "operations": "READ", "attributes": [ { "name": "Name", "internalName": "name", "type": "String" }, { "name": "FullName", "internalName": "fullName", "type":"String" }, { "name":"Email", "internalName":"eMail", "type":"String" } ], "actions": [], "navigations": [] } Following is the .js file (ContextCreations.js) function readEntityData(processorData){ var customAPI= Java.type('ext.api.CustomAPI'); customAPI.test(); } We have configured custom domain and its working fine as other POST APIs are working fine. I am calling the above code with http GET a
Hello, Is it possible to prioritize the view of the BOM when generating ESI response xml. For example, if I have two views of the part, one Design View and one Manufacturing view, and both views' object is added to the change notice resulting objects, publish only Manufacturing view BOM and do not include Design view BOM in the response xml ? Thanks in advance. Regards, Sha
Hi, Im trying to make a very simple workflow to manage a sort of data submission queue for 3D printing. I need to send an email to the creator of the Document when the queue manager changes the state of the document to "complete", I have the email trigger set up to send to "creator" but that only send to the person changing the state, I cant see an obvious way to send it to the priarybusinessobject "created by" user, how can I get this info and hook it into the workflow notification?
Hi Team, Can we make sure that role name gets displayed in the process status column instead of ASSIGNEE If yes what should be done ? This has to be applied if we assign the task to an individual user or a group This is happening on both task and as well as process status table
So I have the following code which is a query that should return me a result of WTDocuments with an identical iba value to an iba value in part. But I’m not getting any results thought the sql query that the statementspec calls returns a result. Can you help me understand what I am doing wrong and also what is a columnaccesscontrolitembuilder and how do I remove it. SQL Query from StatementSpec : (yellow I think is the culprit but not sure what that is) SELECT A0.*,wt.pds.ColumnAccessControlItemBuilder@7e17cd6 FROM wt.doc.WTDocument A0,wt.iba.value.StringValue A1,wt.iba.definition.StringDefinition A2,com.ptc.core.lwc.server.LWCIBAAttDefinition A3 WHERE (A3.idA3A7 = A2.idA2A2) AND (A1.idA3A6 = A2.idA2A2) AND (A1.idA3A4 = A0.idA2A2) AND (A3.name = 'ICS_NUMBER') AND (A1.value IN '1234567') AND (A0.branchIditerationInfo IN (SELECT MAX(A0.branchIditerationInfo) FROM WTDocument A0 WHERE ((A0.idA2A2 = A0.idA2A2)))) SQL query : SELECT A0.* FRO
Hello! I am implementing Windchill Options and Variants capabilities, As a result of a Configure action I want my new variant WTPart to have the same name attribute as my generic WTPart. How can I implement that in the OIR? Thanks!
Hello, Why is DeletedParts options are available in ESI Response file? Does it get enabled in any way or is it just a place holder ? <DeletedParts NAME="DeletedParts" TYPE="Unknown" STATUS="0"></DeletedParts> Thanks, Sha
Hi, in our project, customer decided to switch from basic authentication to form based authentication. We have existing interfaces which were configured to use the basic authentication. I have found that adding "/protocolAuth" to the Rest Urls would work form based authentication. But this will require that the interface partners have to update their urls. Is there an another way to handle this conversion, without having to update the URLs of the interface a? Thanks in advance!
Hello, I've implement a new wizard to generate a report (.xlsx) and return it to the user as a downloadable file. I used the logic from this topic: https://www.ptc.com/en/support/article/CS218250?&language=en&posno=1&q=setResultNextAction&source=search For wizard it works as expected, but I need this function for a custom table action without a wizard. Does anyone know if it is possible? Thanks in advance. Best regards, Timo
Hi, I'm trying to construct an URL to be used from a mapkey in Creo Parametric as a direct link to classification explorer (Partslink) in Windchill. I'm not equipped with the knowledge to figure this out by myself, perhaps some of the gurus in the community can give me some pointers. So far I've tried: http://<WindchillHost>/Windchill/app/#netmarkets/jsp/search/classificationExplorer.jsp This works in some cases, not stable at all, gives no info about the overall session. BR
My reading of the Windchill Customization Guide guide tells me that the siteMod folder under wtSafeArea is intended for modifications to all OOTB file. Can anyone share with me a good reason why we would store all (OOTB modified files + custom new files) in this location? To me it's a mess. This folder is there for the upgrade process to read and generate the required file updates for OOTB files, Before I launch a campaign with my team to clean this up, please let me know if there is actually a good reason, benefit to keeping your files this way. My stance otherwise is we move all non-OOTB files out of there and shift the focus to improving our GIT repo management habits. From the Windchill Customization Guide page 102: support.ptc.com/WCMS/files/171950/en/11_0_M20_WindchillCustomizationGuide.pdf The following summary describes the purpose of each subdirectory: siteMod – contains the site version of each PTC file that you have modified andwant to
Hi All, I can get change request using this rest service GET : "/Windchill/servlet/odata/ChangeMgmt/ChangeRequests('OR:wt.change2.WTChangeRequest2:250300')?$expand=AffectedObjects", but I want to get this OID "OR:wt.change2.WTChangeRequest2:250300" from WTpart which should be navigate. - Tried with this api but can't get change request object id. GET : "/Windchill/servlet/odata/ChangeMgmt/Changeables('OR:wt.part.WTPart:262627')?$expand=AffectedByObjects" Can anybody help to get this change object, is there any Windchill rest API? Thanks.
I'm looking to either customize the OOTB multilevel Components List report such that it includes assemblies, subassemblies, and 'components', or to create a new report that can do this I looked into Query Builder and it cannot create a recursive BOM and have searched all the forums but all I've found is a feature request for this. Any help would be appreciated.
There is a part's supersedes features available at Windchill Apps. But we need the REST API to retrieve this info, this is especially important for integration between different PLM systems.
Hi Can someone help me with a utility or an API on getting the non latest revision ? If I have the object with the below version AC.2 AC.1 AB.2 AB.1 AA.2 AA.1 Can I get only AB.2 and AA.2 ? Can you please help me with any utility or API for that
Hello, please tell me how I can make checkout EPMDocument using OData REST API?
GPSL's S1000D for PTC Windchill enables PTC Windchill customers to create high-quality, S1000D-compliant service and spare parts information directly from their engineering data. The Spring 2021 product release adds a new enhanced publishing process that delivers an S1000D-compliant output ready for loading into ViewPoint IETP viewer. This means that changes made upstream by engineering are recognized right away in all of the impacted service content and can be packaged and delivered for electronic delivery to the service technician’s screen. Having this level of interconnectivity between the manufacturing and servicing of equipment brings efficiency, accuracy, and effectiveness to aerospace and defense programs. This latest S1000D for PTC Windchill release is compatible with PTC Windchill version 11.2.1.1. and 12.0.1. Existing customers can download this latest update at the GPSL Download Site. For more information or to speak to one of our team visi
Hello, I wonder if "Security Labels" can be configured and set for Windchill "Folders" as well? And if yes, how can that be configured? Best regards Partho
Hello everyone, I know that IBA attributes are only visible in result table if: I select only one type or I added a criteria on an attributes (but the only attribute visible is those used in criteria) This is not enough for my client (he has Windchill 11.0), he wants all attributes always displaied as result of the search; so i wondering if: I have to create a custom action on the search result table ? In Windchill 11.2 there will be this possibility ? Thank you Giorgio Fontana
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.