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.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
Hello everybody,how can i add some attribute columns to the wtpart where used tab view?(see attachment)Matteo.
Hello @DeepakParihar , I want to validate action once user select/clicks on it. custom-actoin.xml : I registered the my class as below also update Onclick info. <objecttype name="pdmObject" class="wt.fc.WTObject" > <action checkaccess="true" name="WSEXPORT" enabledwhensuspended="true" renderType="PDM" > <command class="ext.epm.validator.ValidateWSEXPORT" onClick="PTC.validation.AJAXPostSelectValidation(event, 'WSEXPORT')" method="WSEXPORT" windowType="page"/> </action> </objecttype> My class is as follow : public class ValidateWSEXPORT extends DefaultUIComponentValidator { protected static final Logger logger = LogR.getLogger(ValidateWSEXPORT.class.getName()); @Override public UIValidationResult validateSelectedAction(UIValidationKey vKey, UIValidationCriteria vCriteria, Locale locale) throws WTException { // TODO Auto-generated method stub System.out.println("---------- ValidateWSEXPORT Val
Version: Windchill 12.1 Use Case: For context, we are using Windchill+ which means we need to send CCD packages to PTC for deployment. This would also mean we cannot adjust certain settings and properties located in Windchill, as the PTC-managed deployment to TEST and PROD would cause issues. I created a custom java class that is called within a workflow. It has been compiled and deployed and is currently functioning in our dev system. I am now attempting to write unit tests for my custom java class. I have been following the customization guide, especially "Building and Deploying Tests in Development System", but while I attempt `ant compile.test`, it fails as it cannot find my package .Description: For context, we are using Windchill+ which means we need to send CCD packages to PTC for deployment.I created a custom java class that is called within a workflow.It is located in <\opt\ptc\windchill_customization\customModule\main\src\com\acme\customClass.java> as suggested in
Whenever an alternate link is created between 2 parts, a pop/warning message should appear saying "You are adding this as a global alternative. Consequently this Alternate part and will be introduced into all BOMs where the previous part is used" How to achieve this?
Leadership is wanting to swap from a alphanumerical revisioning system to a purely numerical system. They understand that the changes can not be retroactive to existing components but still want to make the change to future components. Is it possible to setup windchills versioning and iteration system to reflect this desired change? This change would also need to effective for new parts that are created (instead of being A.1 they would be 01.1). Ex:Part A.1 once revised under the new system would be 02.1 (B.1)Part C.5 once revised under the new system would be 04.1 (D.1)
When adding Replacement (substitute/alternate) to a specific Part , only a specific part should be available in selection list ( no other part type should be allowed)
Version: Windchill 12.1 Use Case: Good day I am a newbie and I am trying to create a new attribute under "Type and Attribute Management Utility" where it has multiple values in one line. For example, it must read XXX-XXXX-XXXX-XX-XX when I run a report and the input when creating a new part must have 5 blocks(fields) in a row separated by a dash. Please give suggestions.Description: Good dayI am a newbie and I am trying to create a new attribute under "Type and Attribute Management Utility" where it has multiple values in one line. For example, it must read XXX-XXXX-XXXX-XX-XX when I run a report and the input when creating a new part must have 5 blocks(fields) in a row separated by a dash.Please give suggestions.
Hi avillanueva,I need your assistance .Currently we are using Legal Value List and that list contains 1000+ values which are poll separated.We have random values like some values starts by Number some of them starts by ABC so we want to enhance the search capabilities so user can search by any numeric or characters value ,and then it will highlight in legal value list.Now if any value user want to selects then he needs to scroll complete list .For the same need a assistance which approach will be better .like if we can use DU to add searching criteria within same legal value list or any different approach for this things because here we add values in runtime from WC UI so need to think in that way .Please suggest the solution or approach to achieve this
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.