Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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 " }, &
Hello Everyone,I am trying to extract the BOM of an assembly in windchill through REST APIs. However, since I am unfamiliar with what attributes to pass in the body of this post request, im running into error 400s.Here's what I have done so far:I have the following assembly item: { "CreatedOn": "2024-06-13T02:09:02+05:00", "ID": "OR:wt.part.WTPart:112282", "LastModified": "2024-06-13T02:09:02+05:00", "AlternateNumber": null, "AssemblyMode": { "Value": "separable", "Display": "Separable" }, "BOMType": null, "CabinetName": "Default", "ChangeStatus": null, "CheckOutStatus": "", "CheckoutState": "Checked in", "Comments": null, "ConfigurableModule": { "Value": "standard", "Display": "No" }, "CreatedBy": "ahsan", "DefaultTraceCode": { "Value": "0", "Display": "Untraced" }, "DefaultUnit": { "Value": "ea", "Display": "each" }, "EndItem": false, "FolderLocation": "/GOLF_CART/Design", "FolderName": "Design", "GatheringPart": false, "GeneralStatus": null, "Identity": "Part - GC00000
I created the attribute called customer name inside the WTDocument. the value of the attribute should be updated once the activity get completed. i wanted to add the dropdown list inside the workflow activity task page, It contains some customer names like A, B C, D based on the selection of the user from the dropdown list it should be persist into the customer name attribute.please help me to solve this. if some have any code snippet please share.
Version: Windchill 13.0 Use Case: I've created a first version of a project that uses the Windchill API to export a .pdf file from a .drw using this URI: /Windchill/servlet/odata/v3/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:201731655')/Representations EPMDocument:201731655 was known previously.Description: Is there a way to retrieve a list of all EPMDocument (only .drw ones) versus Drawing Numbers? I am asking it because I need to generate .pdfs from .dwgs in batches.
Version: Windchill Below 11.0 Use Case: Create Problem Report > Add affected objects(add more objects) > add comment to each affected object > Click on Finish to create the PR. Issue is not with 1 or 2 affected objects. When we have more number of object in affected object tab, then the issue reproduces with comment missing for few object in list.Description: Navigate to Product, select more objects(selected 35 objects), add comment for all and create Problem Report. Once the PR is created, go to related objects tab, and check the list. For some affected objects, the comment is missing in the table. Refer screenshot. Got the PTC article, https://www.ptc.com/en/support/article/CS346216 As mentioned in PTC article, checked the custom-action.xml file, for create PR action.<action name="create" uicomponent="CREATE_PROBLEMREPORT" ajax="page" afterJS="PTC.wizard.saveTableData.writeAllTableRows"><command class="ext.thales.palma.change.nc.forms.CreatePalma
Version: Windchill 12.1 Use Case: (1) Manually update option set-related information based on BOM information defined in other systems. However, this is not a realistic answer considering the frequency and accuracy of data updates. (2) Implement by customization by Info*Engine. However, it is necessary to use unsupported option set related classes. Since classes related to option sets are not supported, there is a possibility that the functionality will be removed when Windchill is updated. TMC(Toyota Morter Corp.) is in the process of implementing Windchill BOM (EBOM/MBOM/BOP) for production use in April 2025. Currently, TMC designers are using "TMC's own system" to perform tasks equivalent to "defining BOM information. The TMC designers are currently using "TMC's own system" to perform tasks equivalent to "defining BOM information. In the future, TMC plans to use Windchill to define BOM information. However, due to the business process changes involved, this is not expected to
Hi,The use case is customer wants to hide all the previous versions/revisions of WTPart for user allocated to a particular role. i.e. Just latest revision should be visible to user in specific role.Is there a way we can try to achieve this.Any reference would be appriciated. Regards,Durga.
Version: Windchill 12.1 Use Case: I want to created a custom JSP page for workflow task. please share any details how to achiveDescription: I want to created a custom JSP page for workflow task.please share any details how to achive
I am using Windchill PDMLink Release 10.1 and Datecode with CPS M010 Due to business needs, we customized a button to rename documents. In the code logic called by this button, we temporarily set the session user as an administrator through SessionHelper.manager.setAdministrator, and then execute the renaming API - WTDocumentHelper.service.changeWTDocumentMasterIdentity, but the code execution reports a permission error.According to our understanding, the administrator should have the authority to rename the document. So we are very confused, can you help us solve this problem? Thank youHere are the errors that I faced 2024-06-24 10:23:13,314 INFO [ajp-bio-8010-exec-1] wt.system.out user2 - CommonUtil.java.3163: 重命名失败!Message: Resource bundle/Message key = wt.vc.vcResource/55 2024-06-24 10:23:13,325 INFO [ajp-bio-8010-exec-1] wt.system.err user2 - (wt.vc.vcResource/55) wt.vc.VersionControlException: H-ZJ-188, JSZJ_00087886 可能不允许更改其标识。只有当此项未被检出并且您具有所有版本的 修改 权限时,才可以
Hello Everyone, I'm working with Windchill 13.0 and need to add a simple action button to the Windchill interface that can call my custom API functions. Here’s what I want to achieve:1) Add a button to the Windchill UI.2) When the button is clicked, it should trigger a JavaScript function that calls a Windchill OData API.Here’s an example of the API function I want to call(will be using a java version of this function): async function getParts() {const apiUrl = "http://windchill.gosaas.io:80/Windchill/servlet/odata/v6/ProdMgmt/Parts?$count=false";const username = "ahsan";const password = "Tartan123";const basicAuth = 'Basic ' + btoa(username + ':' + password);try {const response = await fetch(apiUrl, {method: 'GET',headers: {'Authorization': basicAuth,'Content-Type': 'application/json','Accept': 'application/json'}});if (!response.ok) {throw new Error(`HTTP error! status: ${response.status}`);}const data = await response.json();return data;} catch (error) {console.error(
Version: Windchill 13.0 Use Case: A checked-in CAD document in Windchill not retrieved using the ODATA REST API.Description: Hi,I'm new to the REST API and I'm trying to get a checked-in CAD file using the ODATA REST API.I'm using the swagger interface: The Get Documents method in the CAD Documents section, but all I get in the JSON response are the template files and not the file that I checked in.Why can this happen and how can I fix it?Thanks!
Hi, to execute jasper report from input jsp page I am using the following API- ReportHelper.manager.getThirdPartyReportExecuteUrl(reportRef,parameters); Here, the reportRef should be of type ObjectReference and should refer to a Windchill report object. However the object that I get from the jsp page using the request.getParameter("oid") is of type WTDocument. Now, when I try to send this object in the above API , it gives the error-java.lang.ClassCastException: class wt.doc.WTDocument cannot be cast to class com.ptc.windchill.enterprise.report.Report (wt.doc.WTDocument and com.ptc.windchill.enterprise.report.Report are in unnamed module of loader 'app') Kindly suggest on how to resolve this.Thanks,Ramsha
Hello, for one of my customers I've created a wizard step with some change validation info.the data is arranged in a flat tree structure which is displayed in the treetable component.See attached example screenshot.One requirement is that non "green" checks are auto expanded for the user. I tried to implement it as described in the customizers guide, but so far no luck. The TreeTable component uses a custom AbstractConfigurableTableBuilder with an custom ExpansionStateManagerthe table config looks like this JcaTreeConfig treeCfg = (JcaTreeConfig) factory.newTreeConfig(); treeCfg.setDataSourceMode(DataSourceMode.DISABLED); treeCfg.setType(Object.class.getName()); treeCfg.setTargetObject("origObject"); treeCfg.setComponentMode(ComponentMode.VIEW); treeCfg.setActionModel("tcw tcwValidation table"); //treeCfg.setMenubarName("tcw tcwValidation table"); treeCfg.setId(TCW_TCWVALIDATION_TABLE_ID); treeCfg.setLabel(WTMessage.getLocalizedMessage(TCW_RESO
My requirement is to search the user from Workflow Task > Resource pool .ResourcePool for a specific Task has the role and Groups Mapped . I need to Search the user by UserName in groups only that are allocated to the Resource Pool for that Workflow Task .I could find the Users and return the List of Users from The Context team and specific Role . However , Challenge comes , when user had to search for a User which is not a member of Group .Is there any API , I can Use to find the users that are member of Groups added to Resource pool? My action call is from ThingWorx and I need to create an WebService , which returns the user only if Present in Resource pool
Has anyone (with limited or no customization), came up with a way to limit the type of a process object to select based on the base object type? The use case I am investigating is this: Subtype of Change Review (called Milestone Review). I want users to create Problem Reports against the review to document issues found while completing the review using a subtype of a PR (Review Finding). Ideally, even from the Action menu I would like the selection to be "New Review Finding" instead of "New Problem Report" when being created against the "Milestone Review" subtype. Alternatively, when "New Problem Report" is selected, I would like it to default to "Review Finding" as the subtype in the New PR wizard
Currently, I've setup a basic document approval workflow in Windchill where the first task is to submit the document for approval and 'set up participants' of who to approve. Is there a way require that users actually 'set up participants' into the various roles? The set up participants is on a separate tab and it's easy for users to click submit without assigning anyone to the roles. Using Windchill 11.0 M030.
Version: Windchill 12.0 Use Case: fetching wrs data from navigate Description: In Master BOM in windchill, Customer have added new type of parts and its engineering sequence in new column. Iam getting those new parts in getPartStructure API. But i want the new column 'engineering sequence' data for new parts. How to fetch it using WRS API.
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.