Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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
Hello all, For last hour and a half I´ve been searching here on forum and on uncle Google, but didn´t manage to find anything helpful, therefore I would like to ask you, the guru´s for your help. In general, I´m trying to find a simplest way (report, advanced search, or other) to identify unique objects used only in that assembly in order to mark them obsolete.To explain a bit more, we are creating assemblies from various parts, that can be shared between assemblies (like brackets for example), however I want to be able to identify a list of objects only used in that specific assembly (for example parts unique to aprt number 201000). *If I will be able to generate list of unique objects for specific assembly, then I can export all unique objects to that assembly, enter another assembly number, export list and remove duplicates to get a list of completely unique parts not related to any other product.* Do you have any idea, if that is possible or have you any s
Is it possible to search for all attributes that are in the various nodes using the advanced search or the PartsLink Explorer. Currently I only see it as possible if I attach all attributes to the top node. Unfortunately, this leads to attributes being displayed on the overview pages of the various products that are not necessary for the respective products. So I would like to only hang attributes for the respective products on a node-related basis and then be able to search for all attributes using the search. Example: Attributes nominal width in node 1 Attributes material in node 2 Attributes color in node 20 My search Show me all articles regardless of the classification node Nominal width: 2.5 Material: POM Colour blue How can I do this without placing the attributes in the top node?
Version: Windchill 13.0 Use Case: We want to add some custom attributes to folders that we will need to modify during in certain cases.Description: Hello everyone,I wanted to know if there is a way to make it possible to modify custom attributes for folders via API cause I'm having problem with a customization since I'm able to access only to the default "Description" attribute.Thank you in advance
How to hold Activity A without completing Activity B in windchill workflow
What is the difference between getDataValue and getPlainDataValue methods in data utility
My assumption is that the information I am looking for is contain in the .ol file. I was looking for a way to pull the mass value as an indicated that mass properties were properly done from a workflow check. Is there an API that can interact with .ol files?
Some one know how to get programatically de EPMDocuments associated(s) to a WTPart? What's the task: 1 Verifying if my WTPart is new and have a family field filded (i created a rule that the new WTParts have a "WC_" prefix this is working).1.1 Been a WTPart, i need to change his Name and Number by a code getting by a ERP endpoint (it´s not working but i simulated). I able make it with some inside lines code on "workflow template" (didn't like, but could't work with java unit - and i'll had a new dificult ahead, i know it).1.2 And need change the EMPDocument(s) too, if exists ones of (like .prt, .drw or .asm), with the same code getting by ERP.Here is my problem. I couldn't get the objects with Java or code inside template (yet). Tryed a lot of java codes, but get a lot problems with "jar imports" that is not recognized.2. And at last, if is not new or don´t has a specific family, do nothing (it´s working). I has found a lot of solutions inverse, and try change the logica
Hi All I want to map certain attributes from Change Request to Change Notice and from Change Notice to Change Activity. I created the alias attributes below mapping rules:theChangeOrder2@wt.change2.AddressedBy2~theChangeRequest2^wt.change2.ChangeRequest2~nametheChangeActivity@wt.change2.IncludedIn2~theChangeOrder2^wt.change2.WTChangeOrder2~fgesArea But I'm not able to find the attribute values migrated from one Change Object to another.Can anybody help me understand my error here.
I am having instance CAD Part and want to fetch Generic CAD Part using java code. Is there anyapi for this.
Version: Windchill 12.0 Use Case: Deployment AutomationDescription: Hi all, As a part of deployment automation I wanted to know if there is any way to Export and Import Type Constraints especially Legal Value Lists easily. Like maybe a Loader file.
I have a ticket open with support but my guess is that the community may have an answer first (again). New available entries in enumeration table are displayed correctly in the enumeration but are displayed in the Remove table when viewed from the Managed Type attribute that uses that Global Enumeration value list. We are on Version 11, M020. The global reusable enumeration is at site. Its a list of project numbers ( 1234 - Name of project). This table has a list of selectable values on the left and a list of removed on the right. The left can be selected, both can be searched if those on the right have been used on a CR, Document etc. You know how it is suppose to work 🙂 What is happening is I can move the items from the left column (selectable) to the right (not selectable) and the table when used displays these changes. All good. But, any new value added to the left is displayed in that Managed Attribute table (save, done) but then it does not displ
Through java i collected all the cad assemblies from the BOM in windchill and i added the Cad Assembly into the workspace, I wanted to checkout those Cad assembly from the workspace and do checkin from the solid works. I tried the below code to checkout but it is checkout from the windchill side not from the workspace//Get check out folder for the current user in the sessionwt.folder.Folder checkoutFolder = wt.vc.wip.WorkInProgressHelper.service.getCheckoutFolder();//Check out objectwt.vc.wip.CheckoutLink chklink = wt.vc.wip.WorkInProgressHelper.service.checkout(cad, checkoutFolder, "Check out comment");
Hello, I have an attribute under WTDocument which is customized to be a user picker using the data utility functionality. I want to restrict the selection of users to a specific role i.e., only the users under that role should be made available for selection. Request your insights for the same. Thanks,Sha
Can F (unreliability) be displayed in the FT diagrams following the calculations? I can see the updated diagram displaying the Q data but not the F data if unavailability is checked in the calculations. Thank you. (SW version: PTC Windchill Quality Solutions 11.0 Enterprise Edition MO30-CPS02)
I added the epm document to workspace though api, and i want to check out the added EPM document from the workspace. this is my code private 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(); System.out.println("epm-->"+epm); 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); //Get the EPMDocument configuration wt.epm.workspaces.EPMAsStoredConfigSpec asStored = wt.epm.workspaces.EPMAsStoredConfigSpec.newEPMAsStoredConfigSpec(epm); wt.fc.QueryResult queryResult = wt.epm.structure.EPMStructureHelper.service.navigateReferencesToIteration
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.