Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I am looking to add some additional actions to a Configurable Links table, specifically I would like to add the submodel for export to give the user the ability to export the table to an excel spreadsheet. I've added the export submodel to the table in custom actionmodel and this does not work. I opened up a support ticket for this issue and the answered that I received is listed below. Has anybody been able to find a way around this limitation? I have set up server and install Configurable Links. I have tried to adding export actions (export to excel ,export to File etc) however it does not work. Also, tried with adding submodel but still that fails as configurable Table toolbar action is controlled by “ConfigurableLinkTableToolbarActionCommandDelegate”. Article : CS237601 for reference. This seems to limitation of this delegate class which will not allow submodel or actions governed by submodel; however it may work for few other ootb or custom action
Hello,Can anyone help on how to add the default project attribute "Number" in the Title of the Project that by default shows only the Object type and the Name?See the picture below:Thank you in advance.RegardsJohn
Hello, I have created a new custom table in SQL server to which I should populate certain data through code. I have written the sql query in code for that, I need to know how I can execute the query so that I can see the entry getting reflected in the database. Please let me know how I should proceed. Thanks and Regards, Hari R
For a few workflows I've created methods to set an object's attribute (one for String, one for TimeStamps) which have worked great over the past few years. I have a new requirement to set an int's value. I created a new method and changed the input attribute to accept an int. When I call the method, i get an odd error telling me I've violated the limit constraint. The value I'm sending is 2 which should not cause any issues. wt.system.err Administrator - com.ptc.core.meta.container.common.ConstraintException: The value for Number Of Cavities must be between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807, inclusive. The method i have is the following public static void setAttributeValue(WTObject pbo, String IBAName,int IBAValue) { PersistableAdapter obj; try { obj = new PersistableAdapter(pbo, null,Locale.US, new UpdateOperationIdentifier()); obj.load(IBAName); System.out.println("Attribute " + IBAName + " value is " + IBAValue); obj.set(IBAName,
Hi, I have a list of parts and I want to get WhereUsed objects of them. As the data is very big , its taking too long time. so I want to implement multi threading . This is my code : for(WTPart part:setofparts) { /*ArrayList<Object> objectsList=new ArrayList<>(); objectsList.add(new HashSet<String>()); objectsList.add(new HashSet<String>()); objectsList.add(new ArrayList<String>()); getPartStructure(part, objectsList); dataMap.put(part, objectsList);*/ } private static ArrayList<Object> getPartStructure(WTPart part,ArrayList<Object> objectList ) { try { ArrayList<String> set=new ArrayList<&
Hello, Just wanted to know if PTC Integrity client a different product from Windchill RV&S or is it the part of it? Can I get some information this topic please. Thanks in advance.
Hello, please tell me how to use Info*Engine to output (get) all the "Describes Parts" that are located on the "Related objects" tab of the document (WTDocument) ?
Is there a way to disable the authentication for a single endpoint (custom JSP).
Hello everyone, please tell me how to upload a file to WTDocument using Info*Engine?Or how to use java to create a document and upload a file to it?
Hello All, We have one functionality "Part Number Generator" in Customization tab which helps the users to have a certain set of part numbers in store for them if they want to create new WTParts. Now I want to restrict certain users from using this functionality, either hide the functionality or disable the option. Please instruct me on how to proceed. P.S: I have done customization in Java code but not so much with the jsp and js and all. Thanks and Regards, Hari R
Hello, I want to know the feasibility of doing export/import classification through code. Please let me know if it is possible to do the same, if so please direct me to a related article. Thanks in advance. Regards, Hari R
Hi, I have created a file /opt/ptc/Windchill_11.0/Windchill/tasks/ext/re/report/SB_Report/SB_SubjectReport.xmlthe created Delegate*Name :SB_SBNumber *Repository Type :com.ptc.windchill Type Identifier : com.ptc.windchill.enterprise.report.ReportTask *Source URL :/ext/re/report/SB_Report/SB_SubjectReport.xml Description :Report Task Example to show number of document. executed commands from windchill shell,java com.ptc.windchill.enterprise.report.ReportHelper updatemodel andwindchill com.ptc.windchill.enterprise.report.ReportHelper modelupdate Restarted Cognos.Still can't find Data Source in cognos under "com.ptc.windchill.enterprise.report.ReportTask"What is missing ? Initially I just want to pass a hardcored value. XML Data <%@page language="java" session="false" access="http|soap"%><%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
Hello all. I hope all of you are great Anyone of you know how to select the workflow for the Change Notice depending on the file type. For example I want to use a custom Change notice workflow for the CAD files and also that the change notice workflow for a document file (like a MS Word) use another workflow when the user hit the Create new Change notice option.” In summary: Different workflows for different files types when a Change Notice is created. Thanks in advance.
Hello All, My requirement is to add few custom attributes on workflow task page, so user will fill the values while completing the task. ex. Attributes to add on task page Attribute Country - Drop down list of country's Boolean Attribute - Radio options (YES/NO) How i can achieve this requirement. Thanks, Vivek
I have created a file /opt/ptc/Windchill_11.0/Windchill/tasks/ext/re/report/SB_Report/SB_SubjectReport.xml then, created Delegate, Name : SB_SBNumber Repository Type :com.ptc.windchill Type Identifier : com.ptc.windchill.enterprise.report.ReportTask Source URL :/ext/re/report/SB_Report/SB_SubjectReport.xml Description :Report Task Example to show number of document. executed commands from windchill shell, java com.ptc.windchill.enterprise.report.ReportHelper updatemodel and windchill com.ptc.windchill.enterprise.report.ReportHelper modelupdate Restarted Cognos. Still can't find Data Source in cognos under "com.ptc.windchill.enterprise.report.ReportTask" What is missing ? Also I can get output seen if I executed file from browser using url http://devapp2.organization.com/Windchill/servlet/IE/tasks/ext/re/report/SB_Report/SB_SubjectReport.xml Output:- <wc:COLLECTION xmlns
Hi Everyone,I want to use existing Windchill objects for my workflow tasks. For example, please see below image..Here you can observe highlighted area Enter Review Details which navigates to respective object's page where default attributes are defined.Same way, I want to use them in my flow .Please guide me for this as I'm new to Customization. Also tell me how to create new objects like below through API.Thanks In Advance,Krishna Chaitanya
Hi, I am practicing a basic custom at the Windchill help center. It fails at the stage of verification using Jython. Please let me know for some reason. Thanks, Warm Regards, SeonHo Cha.
Hi All, Wanted to see which ways there would be to attack this... I have users that will get promotion requests with say 10 or more drawings... once the promotion request inevitably goes thru the rework process, my users cannot tell which drawings have been iterated, and need rechecking at a glance. I was thinking perhaps there is a way to display this in a notification email? Or a new tab on the promotion request page which says whether a drawing has a new iteration (True/false) since the last submission? Thanks in advance for weighing in!
Hello, Is it possible to configure email notification sent from Windchill to email accounts of Office 365, inside our organization? I have been told that it is not possible, but I can believe it.
HI, I have SAP BAPI and I want to use them in Java Code. Only requirement is to use those BAPI. I have a Linux system. Can someone please guide me how to use sapjco API's , Where should I deploy these jar files in Windchill environment? I think there is no need of SAP Adaptor configuration.
Hello, I want to know the use of EPMVariantLink and in which scenario should we use it ? In my team they are using the below API to fetch the EPMDocument and then fetching the EPMDocumentMaster. Why can't I use the below mentioned alternate way, please explain the difference between them. As-Is logic: private static EPMDocumentMaster getParentsByEPM(List<EPMDocument> parentsrList, EPMDocument instanceEpm)throws WTException{ parentsrList.add(instanceEpm); QueryResult ft_qr2 = EPMStructureHelper.service.navigateGenericToIteration( instanceEpm, null, true, null); if(ft_qr2 != null && ft_qr2.size() > 0) { while(ft_qr2.hasMoreElements()) { EPMDocument epm = (EPMDocument) ft_qr2.nextElement(); par
Attached is the source code Installation: merge codebase/config/actions/custom-actions.xml.xml to custom-actions.xml merge codebase/config/actions/custom-actionModels.xml.xml to custom-actionModels.xml merge codebase/config/mvc/custom.xml.xml to custom.xml copy codebase/com/customer/license to codebase/com/customer/license restart Windchill PS: please pay attention if you working with the WTSafeArea The example has not being tested separately and has been refactored for the community. So there might be an error. Please ask if there are some coding problems.
Hello, we use Windchill as the back end product of xml in Arbortext Editor. We've been told that Windchill is the best way to manage and use content that is reused in multiple documents. Does anyone have experience doing this or does anyone have instructions? Thanks!
I am trying to work backward from creating a new workflow for promotion requests... I want to make an additional lifecycle to select from. I need to edit the OIR to allow a drop down for lifecycle selection. But... I just noticed that at the organization level.. I have both the site-OOTB and the slightly modified organization level OIR in the list. My question is... how does windchill pick which OIR to use? Thanks for any insight!
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.