Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.14Unable to compile the InfoEngine(customized) and OOTB files after installing cps14 with JDK 11.0.26/u01/schneider/nextgen/Windchill/tasks/codebase/com/infoengine/compiledTasks/file/u01/schneider/nextgen/Windchill/tasksunder com/ptc -->windchill folder is missing
Version: Windchill 12.0 Use Case: I want to retrieve all attributes having "Require" constraint or even if I can get all constraints of attribute I can filter it out for "Require" constraint.Description: I tried number of methods but they return "null" always :for example :try 1 :AttributeTypeSummary ats = obj.getAttributeDescriptor(iba);try 2 :TypeDefinitionReadView clfNodeView = TypeDefinitionServiceHelper.service.getTypeDefView(attribute);try 3 : Collection<ConstraintDefinitionReadView> allConstraints = attribute.getAllConstraints(); Please help me to get releveant api to get All attributes of Part/Doc having Required constraint
Version: Windchill 13.0 Use Case: Previously working REST API GET example in Windchill 12 now throws a "The requested resource [/Windchill/oauth/servlet/odata/v5/ProdMgmt/Parts] is not available" error. Description: I had a set of examples in Postman working when we were on our Windchill12 installation. Upgraded to Windchill 13 in December and I went to dust of the examples. Same GET calls now throw this error. For the sharp-eyed, yes this calls the v5 of the API that is deprecated. The same result, though, happens on the latest v7 version. I confirmed that the Azure to securityContext.properties and wt.properties file settings are correct but Windchill 13 does have some additional lines in the securityContext file. If I try the same from the Windchill interface, everything works fine for the same URL (sans the oauth piece needed for SSO).
Version: Windchill 12.0 Use Case: On the home screen of Windchill (using it in a browser), the My Notebook folders are always expanded by default when I launch windchill. I would like them to be collapsed by default.Description: When the folders are expanded, it forces unnecessary scrolling to get down to important information. I have tried changing the "left pane folder explorer" preference to "no," but that did not resolve the issue. I am unable to find any other preference that would make those folders remain collapsed by default. Does anyone know how to make that happen?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.2I cannot update the classification of a Part using Windchill REST Services in Windchill PartsLinkThe PartsLink binding attribute internal name is: CLASSIt is defined in a subclass of WTPart called StandandPartPOST http://fihel1-sp113wnd.mcint.local/Windchill/servlet/odata/v5/ProdMgmt/Parts('OR:wt.part.WTPart.8024517512')/PTC.ProdMgmt.StandardPartJSON:{"CLASS": {"ClfNodeInternalName": "class0443"}}No matter what I do, I get an error: 'CLASS' can not be mapped as a property or an annotation.Here are the errors that I faced'CLASS' can not be mapped as a property or an annotation.
Version: Windchill 12.1 Use Case: Using a DAO class that extends com.infoengine.connector.DataAccessObject to link 2 parts: public com.ptc.windchill.ws.GenericBusinessObject [] Link ( java.lang.String parentUfid, com.ptc.windchill.ws.GenericBusinessObject [] associations, java.lang.String [] propertyNames ) throws Exception { String [] ie$dao$names = { "parentUfid", "associations", "propertyNames", }; Object [] ie$dao$vals = { parentUfid, associations, propertyNames, }; Object ie$dao$ret = execute ( "Link", ie$dao$names, ie$dao$vals ); return (com.ptc.windchill.ws.GenericBusinessObject [])ie$dao$ret; }Description: Exception thrown when trying to create WTPartUsage between 2 parts. Same call works in other WC installations (11, 12, 13, etc...) but failed in 12.1.2. The settings are the same for all the WC servers tested. 2025-01-27 19:15:35,902 ERROR [ajp-nio-127.0.0.1-8010-exec-3] wt.adapter.exception aphung - WTAdapterImpl com.ptc.core.command.common.CommandExcep
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.1配置虚拟角色“所有者(owner)”的权限,配置完成后无法生效。(具体配置的权限是对象所有者可删除自己创建的对象权限)
Version: Windchill 13.0 Use Case: When running a custom service the service must be able to dynamically load classes that are described with their fully qualified names in a configuration file (or other form of storage depending on if the system is Windchill+ or not)Description: If I have understood things correctly I will not be able to use reflection in custom code that I want to install in a Windchill+ environment. Will I be able to use the standard ServiceLoader provided by Java? As mentioned in the Use Case I am looking for a way to dynamically load classes based on some type of configuration. In an on-prem environment I can easily use Class.forName to get my class but if I understand things correctly this will be possible in Windchill+. Will I be able to use the ServiceLoader to have the same (more or less) functionality? If not, does anyone know of some other way to accomplish the same result? Thank youDaniel Martinsson
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.1When using a custom TreeBuilder to populate a tree table component with data from a JSON file, the OOTB Export_file action only exports the header values and not the data. The same data is correctly displayed on the UI but not populated in the exported Excel sheet. The custom TreeBuilder is mapping JSON attributes to a bean file, and the tree table is displaying the values as expected. However, the exported Excel sheet shows only headers without any data rows.Steps to Reproduce:Populate a tree table using a custom TreeBuilder with data from a JSON file.Verify that the data is displayed on the tree table UI.Use the OOTB Export_file action to export the tree table to Excel.Observe that the Excel sheet shows only the headers without data.Here are the errors that I facedIssue with "Export List" Action on Custom Tree Table – No Data Exported
Query-Links webject thrown NullPointerExceptionThis exception thrown when 2 or more id send to object_refException thrown for following inputs to Query-Links:TYPE|DIRECTION|output_type|auto_navigate|attributewt.part.MasterIteration|master|FULL|false|iteration,number,masterReferencewt.part.WTPartDescribeLink|describesDoc|FULL|true|describes,name,number,masterReferencewt.part.WTPartReferenceLink|referencesDoc|FULL|true|referencedBy,name,number,masterReference Windchill: 12, 13 Exception:Nested exception is: java.lang.NullPointerExceptionat com.ptc.core.adapter.server.impl.AbstractWebject.addTypeInstance(AbstractWebject.java:925)at com.ptc.core.adapter.server.impl.AbstractWebject.addTypeInstance(AbstractWebject.java:901)at com.ptc.core.adapter.server.impl.QueryLinksWebjectDelegate.invoke(QueryLinksWebjectDelegate.java:497)at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)at jdk.internal.reflect.GeneratedMethodAccessor1027.i
In my project there is a requirement to download secondary/primary content and attachments. I looked for endpoint to do this in WRS page and I cannot find anything. I searched in this platform and found some suggested java scripts to do this. I however currently have no idea how to implement it in windchill. I will be thankful for the guidance for this customization if someone already did it or have any idea. Thank you in advance for your time and consideration.Kind regards,
Coming out of the PTC/User conference, a high ranking request has been getting a decent export out of Windchill for a TDP in an efficient manner. I know I have seen a number of solution offerings for this and many of you have already tackled this. The package framework is a great start but I have yet to find someone who likes the default output it provides. Has anyone identified the code that controls how this zip file gets generated? Or have you taken the approach to modify it post creation? I can see this as being on of the hurdles to more adoption of this feature. It should be a customization point so we can tailor how the output is generated and even put company themes on the resulting html file.
Version: Windchill 12.1 Use Case: We are trying to create a new attribute "Models Affected" which is a Text box under resulting objects of change task. This should appear as a column under Resulting Objects. Users in this box can give the models affected after this change.Description: I am unable to follow the article - Create a Data Utility Could you please help me in creating a new attribute which can store the text by sharing any procedures or tips & tricks?
Hello All,I am looking for a way to provide the sequence to the Change Task through customization from the CN workflow. Is there any supported API which can be used to accomplish this?Regards,Karan
Is there any api to assign a workflow activity to a user through java code.
Version: Windchill 13.0 Use Case: We're planning to use NATS for the messaging queue between Windchill and other systems. When going to test the connection via java code, Windchill throws the following: SEVERE: exceptionOccurred, Connection: 37, Exception: java.util.concurrent.ExecutionException: java.io.IOException: SSL required by server. Description: We're connecting Windchill to upstream and downstream systems by way of NATS as the messaging queue. I have the NATS .jar and dependencies in Windchill, code written and compiled successfully. I run a simple example to connect and post a sample message straight out of this NATS functional example. Windchill throws this: Feb 07, 2025 5:29:05 PM io.nats.client.impl.ErrorListenerLoggerImpl exceptionOccurred SEVERE: exceptionOccurred, Connection: 37, Exception: java.util.concurrent.ExecutionException: java.io.IOException: SSL required by server. Is this a certificate issue (i.e. need to add a cer
Version: Windchill 12.1 Use Case: i am trying to add a row in the end as a accumulated result of iba attributeDescription: i am trying to add a row in the end as a accumulated result of iba attribute
How to add our own custom tab in home page of windchill beside private and public tab.
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.7We are getting below exception for Query-Objects IE query. This is paginated query with Page Count as 10. But still it is giving below exception. com.ptc.core.command.common.CommandException: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator. Nested exception is: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator.In the PTC Article (CS421694), It is mentioned Query-Objects does not fail with this exception if we have Page Count mentioned.Here are the errors that I facedcom.ptc.core.command.common.CommandException: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator. Nested exception is: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.2Windchill InfoEngine Task fails to produce any results ,when calling the Windchill Query Builder Report Template using "Generate-Report" webject in custom IE Task.Here are the errors that I facedWindchill InfoEngine Task fails to produce any results ,when calling the Windchill Query Builder Report Template using "Generate-Report" webject in custom IE Task.
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.0.0Ola, tudo bem ? Poderiam me apoiar em fazer uma customização no campo "number" ? Onde é preciso que nesse campo puxe os 8 primeiros caracteres do nome do arquivo vindo do CAD. conforme a imagem anexada. É minha primeira vez realizando customização e estou com dificuldades para realizar.
I would like to download primary contents and attatchemtns for WTDocument and place it some pre defined folder on server , on releasing document. I would like to know what is the API to use to download attachments and primary content of document. Also if it is possible to build a JS hook to perform this action. Thanks in Advance.
I am also stuck here , I cant persist the selected value . Could you please assist us to achieve this.
In our environment we have had multiple issues with users accidentally deleting a Workspace which contains changed (not checked out) and new objects by miss clicking upon activating a workspace.The Delete button is right next to the Activate button and both require an extra answer in a pop-up window:When Activating you must answer this question:And when Deleting you must answer this question:If your mindset is to activate the WS and you know you get the extra question to which you must answer YES, you are very likely to click on the OK button when you accidentally clicked on the Delete button.In other posts people have asked about recovering removed workspaces, but unless you have uploaded all your new and changed files, there is no way to restore these files. They are really gone.So now my question:Is there a way to customize the My Workspace view and remove the Delete function from the Actions menu?
Hi, I have the same requirement of getting esi transaction status using the WRS OData API.I have tried randomly guessing how to expand - without successe.g.Windchill/servlet/odata/v2/ESI/DistributionTargets?$expand=TransactionsWindchill/servlet/odata/v2/ESI/DistributionTargets?$expand=ESITransactionsWindchill/servlet/odata/v2/ESI/DistributionTargets?$expand=ESIReleasesWindchill/servlet/odata/v7/ChangeMgmt/ChangeNotices?$expand=TransactionsWindchill/servlet/odata/v7/ChangeMgmt/ChangeNotices?$expand=ReleaseActivityHas anyone found a way to get esi transaction status using WRS API? Reference topic: https://community.ptc.com/t5/Windchill/odata-function-to-get-distribution-target-publishing-and/m-p/995665 ThanksJukka
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.