Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
We have family tables stored in a read-only product. When the family tables are updated, they're moved from the read-only product to one with write access. The family tables can then be checked out, updated, checked back in, and moved back to the read-only product. Moving the family table along with its instances facilitates the publishing of every version of every instance. This creates thousands of unnecessary items being sent to the publisher. How do I configure the publishing rules in the Worker Agent to prohibit this behavior?
Hello everyone! Please tell me the differences between Info * Engine and OData REST API.Which technology should be chosen and which one has great prospects? Thanks in advance! Best Regards!
Could anyone post a walkthrough on how to set up VS Code for Windchill customization/tailoring?
Hello everyone! Please tell me how can I get the values of global attributes in a WTDocument using OData? Version of Windchill REST Services - 1.4. Now I can only get attributes such as number and name. Thanks in advance. Regards!
Hello folks, I'm trying to get the AfterLoader set up... when following the instructions for running the following javac -classpath %CLASSPATH%;%WT_HOME%\srclib\tool\Annotations.jar -d %wt_home%\codebase AfterEDRloader.java i get a invalid flag error... I'm a touch new... I don't think there are environment variables set on my install. What would my %CLASSPATH% be set to? Thanks for any help.
I am working with Windchill 10.2 currently and the question has come up about folder permissions. What we would like to do is create a top level product container and create folders for various groups within that container. These groups are to be kept separate from each other, meaning each group will have access to their own folder but not have access to the other folders in the container. With that being said, can we control the permissions at the folder level or will we need to create a separate container for each group? Thank you in advance for your time and have a good one.
Hello, I am building a utility which will give me the list of child part numbers as an output for a given part number and I want to expose this utility using Rest API so that the users can execute this utility themselves. I have followed the below steps to get the utility in Swagger UI but I am not able to see the added entry. i) Added the below entry in rest.properties.xconf <Property name="ext.webservices.rest.test.resources" multivalued="," default="ext.webservices.rest.test.TestUtility"/> ii) Written a java file. PFA. Please let me know if there is any other step I need to follow to achieve the expected result. Thanks in advance. Regards, Hari R
Hello, I want to know how we can implement listeners in Windchill. I have never worked on listeners, so please guide me to a proper article to implement it from the scratch. Thanks in advance. Regards, Hari R
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.
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.