Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi! I am trying to resolve a container id from an existing Change Task and it seems that the response body of https://support.ptc.com/help/windchill_rest_services/r2.4/en/#page/windchill_rest_services/wccg_restapiaccessexamplesgetchangetask.htmldoes not contain the location (container) where this change task was created. Please help me find an API that can be used to resolve the container ID when the Change Task ID is known.
Version: Windchill 12.1 Use Case: how to create part in info-engine using websericeDescription: how to create part in infoengine using webserice
Version: Windchill 12.1 Use Case: Hello all, I'm interested in learning about customizing Windchill. I have experience prior experience in Java and Python languages. Can anyone suggest some recommendations on which companies provide the best windchill customization training? Thanks in advance, APDescription: I have explored the course topics from https://www.felcosolutions.com/; which was quite famous as I got to know from the forum. But those materials are for old versions like 11.0 or earlier. Do they anymore provide the training for higher windchill versions?
I'm changing the sheet name in the Part Navigator, but we're still ordering the PDFs according to the old number. NX supposedly has an API for this, but who knows when it will be released. I don't know how to use the After Loader part or where to write the code and how to upload it. Most importantly, how can I access the relevant PDF? Could you explain this, please?
Hi all, I have to create a check box in the change activity with string type and until the check box is ticked the complete task button should be disabled. please find the attached image for reference.can anyone please provide a solution for this?
I want to change familytable name through code is there any API ?I have tried the following API, but getting following exceptionIdentityHelper.service.changeIdentity();A persistence error has occurred. System message follows:2024-06-04 13:28:48,055 INFO [RMI TCP Connection(17)-192.168.170.106] wt.system.err wcadmin - Nested exception is: (wt.epm.util.EPMResource/364) wt.util.WTException : Family table validation failed. Unless this error occurred while importing a package, contact PTC. Failure to import a package may be due to a compatible generic part not being available during import.
Hello Team, Is there any one tried get the Task and Assignee from Change notice using Odata Rest API.
Version: Windchill 12.0 Use Case: Start an advanced classification search - Open Advanced Search page - Under Type, select a classification type. - Under Classification field, specify a classification node (a classification binding attribute) - Now the Criteria options updates and all corresponding classification attributes are available as Criteria conditionsDescription: Please do the steps described in the Use Case.What I want to achieve here at this point is to exclude/remove a specific classification attribute so that the user cannot add it as a Criteria condition.How can I do that in Windchill? Is that possible at all?Thank you in advance!
Hello, I'm currently practicing Windchill Customization by referring to the Windchill Customization Guide. I'm trying to attach a Primary Attachment to a Pet, but even when I refer to the guide's examples, the primary attachment component doesn't appear. Other attributes, includeing the attachment wizard step, are displayed correctly. Here's my code. -------------------------------petCreate.jsp : <%@taglib prefix="jca" uri="http://www.ptc.com/windchill/taglib/components"%><%@taglib prefix="attachments" uri="http://www.ptc.com/windchill/taglib/attachments"%><%@include file="/netmarkets/jsp/components/beginWizard.jspf"%><%@include file="/netmarkets/jsp/components/includeWizBean.jspf"%><jca:initializeItem baseTypeName="com.Pet" operation="${createBean.create}" attributePopulatorClass="com.ptc.core.components.forms.DefaultAttributePopulator"/> <jca:wizard formProcessorController="com.form.TestFormProce
Version: Windchill 12.1 Use Case: To add various comments that are used for the modifying the PArtsDescription: unable to create Iteration comments using XML loadfromfile
Hi , I am facing an issue with one custom action, Somehow action misplaced in wrong model but even after adding in correct model (psbRelatedPartsTreeToolBar ) that action is not populating in required model is getting added again on same place where it was earlier and in my action there no custom class we have custom JSP over there . Requirement : "Custom BOM Report" action should be under report section below the "Multi-Level BOM with replacement" action
Version: Windchill 12.1 Use Case: I wanted to add some BOM into workspace, iam unable to get the active workspace. I did by hardcoding the workspace oidDescription: i collated the BOM and i need to get the active workspace, I don't know how to get the active workspace, as of now i am hardcoding the workspace oid wt.epm.workspaces.EPMWorkspace workspace = (wt.epm.workspaces.EPMWorkspace) referenceFactory .getReference("OR:wt.epm.workspaces.EPMWorkspace:1150900").getObject(); i wanted to dynamically fetch the active workspace instead of hardcoding the workspace OID, i need to retrieve the active workspace for the current user session.
first i tried to add the all associated EPM from the BOM to workspace, all epm get added in the workspace. Now i am trying to add the WTPart to workspace. its not working. this is the code how i added previously the epm to workspaceprivate void addToWorkspace(EPMDocument doc) {try {wt.fc.ReferenceFactory referencefactory = new wt.fc.ReferenceFactory();wt.fc.WTReference wtreference = referencefactory.getReference(doc); wt.epm.EPMDocument epm = (wt.epm.EPMDocument) wtreference.getObject(); wtreference = referencefactory.getReference("OR:wt.epm.workspaces.EPMWorkspace:1150900");wt.epm.workspaces.EPMWorkspace workspace= (wt.epm.workspaces.EPMWorkspace) wtreference.getObject();System.out.println("workspace-->"+workspace); wt.epm.workspaces.EPMAsStoredConfigSpec asStored = wt.epm.workspaces.EPMAsStoredConfigSpec.newEPMAsStoredConfigSpec(epm);wt.fc.QueryResult queryResult = wt.epm.structure.EPMStructureHelper.service.navigateReferencesToIteration(epm, null,
Hi,We trying to achieve a OOTB possibility to hide the secondary attachments for specific role.Any guidance would be appreciated. Regards.
How to get whole classification tree structure like <Classification>/Parts/Mechanical/Heater</Classification> in the ESIReleased xml file. But in my ESIReleased xml file the classification tag only last node is updating like <Classification>Heater</Classification> help me to get the whole classification structure in the classification tag or provide any steps or article.
Hello Experts, The Reporting Domain (v1) of Windchill REST Services is having errors responding to the /ReportTemplates endpoint. The query was running from long time for specific users and there are several errors in the method server log around that time. We do not have any custom WRS domains. Noticed many errors/warnings like Delegate not found for selector/couldn't find the imported domain. Since, Report Template represents Windchill object that is a saved query, that can be used to generate and run a query. The ReportTemplate entity represents Persistable information about report templates. Every Report template object is represented as an entity type in metadata with QML attributes as its Properties. Report templates are non-persistable entities. Report templates are auto generated based on the number of report templates that exist. So, having below quest
Version: Windchill 12.0 Use Case: We are trying to display Change Notice Summary Report with customizations from a Java classDescription: Hello, I am trying to display the OOTB Change Notice Summary Jasper Report which has some customizations, from a Java class. I am using the following code to load and then fill the Jasper Report: String path= wthome+"/codebase/JasperReports/Change Management/Change Notice Summary Report.jasper";path = URLDecoder.decode(path, "UTF-8");System.out.println("Decoded path:"+path); File f= new File(path); JasperReport jasperReport = (JasperReport)JRLoader.loadObject(f); System.out.println("Report is loaded");JRXmlDataSource datasource= new JRXmlDataSource("https://"+localURL+"/Windchill/servlet/ReportServlet?proc=com_ptc_windchill_enterprise_report_ReportTask%23ChangeNoticeSummaryHeader&contextOid="+contextOid+"&isDraft=" + isDraft +"&uid="+USERNAME+"&locale="+LOCALE,"/dataset/data/row"); Map<String, Obj
Hello can you please explain the detailed steps to registered JSP files ? I registered Datautility, added property file location into "TgsPropertyHelper". but not getting idea how to register the "createDocumentSetTypeAndAttributesWizStep.jsp" and "loadStateNames.jsp" JSP files ? please find attached file for reference
Version: Windchill 12.0 Use Case: We have a custom action where when the user clicks on it, a jasper report is downloaded as pdf in the backgroundDescription: Hello all, I am trying to run a Jasper Report from java code. I have few questions regarding that- 1. I have a jrxml with multiple data sources( infoengine tasks), how do I combine all of them into one Jasper Print object using the below API? JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters); 2. When exporting the jasper report as pdf, how can I give the path so that the report gets automatically downloaded in the user's local system? Currently I am running the report on the server so the pdf is saved in the server location itself, so how can I change that? Below, instead of creating the LfDocumentReport.pdf in the particular location, it creates a pdf in appl/ptc/Windchill_12.0/Windchill location with the whole name given as pathJasperExportManager.exportReportToPdfFile(jas
Change Notice and activity workflows are not starting suddenly. Didn't have any clue regarding the root cause. Earlier they are working fine. The same workflows are working on other environment. Can anyone throw some light on the root cause?2024-04-25 11:39:10,182 INFO [WfPropagationQueue.PoolQueueThread-25184] wt.system.err wcadmin - java.lang.reflect.InvocationTargetException 2024-04-25 11:39:10,183 INFO [WfPropagationQueue.PoolQueueThread-25184] wt.system.err wcadmin - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2024-04-25 11:39:10,183 INFO [WfPropagationQueue.PoolQueueThread-25184] wt.system.err wcadmin - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2024-04-25 11:39:10,183 INFO [WfPropagationQueue.PoolQueueThread-25184] wt.system.err wcadmin - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2024-04-25 11:39:10,183 INFO [WfP
Windchill should exclude some files to upload in a WT_Document. The filter should be by extensión (.odt, .exe, .....) or by size (for example only upload files minus than 500 MB.These filters should be configurated by preferences.
Version: Windchill 12.0 Use Case: <%@page language="java" access="http|soap"%> <%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%> "/>Description: we want tumbnail information
Hi,I have to create a new epmdocument or new wtdocument with following versions in sequence using API code.object1.asm - M.1, M.3,M.9My ask is, after creation of M.1, how can i create M.3 with out M.2. If i do check-out & check-in (through code), it will create M.2 which i dont want.Please help me. Thanks in advance.
every time we release a drawing in the Windchill, the CAD worker, creates a PDF of it. like image pdf_number_drw.pdf. Any idea of how can I change that, we need it to be ( number_REVA.pdf) Thank you for your help in advance.
Hi @HelesicPetr, How can set serial effectivity with context and serial number for any child through API Reference topic - https://community.ptc.com/t5/Windchill/API-for-setting-effectivity/m-p/294903#M34550
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.