Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi All,I wanted to know :What are the limitations of Github Copilot usage for Windchill package ?How to provide necessary Windchill package SDK libraries and configurations set up in IDE project folder?What is the accuracy of Code generation / Suggestion / fix by GitHub Copilot ?Thanks!
Hi All,Is there any api to customize content of Subject of Promotion Request Task?? I was able to change Subject of emaill notyfication. Now I need to do this same i UI. Thank you in advance for any advice.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.1Using ModelCheck to prevent files with errors from being checked in and although there are no errors in the file the preferences "ModelCHECK Number of Horus"is preventing users from checking in files. I have even tried changing the value to 999, and the user can still not check in files if more than a day has passed since the last time ModelCheck was run on the file.Here are the errors that I facedUnable to check in files
Version: Windchill 12.0 Use Case: Creating and reading a part with a particular security label value.Description: Security Labels come out of our WRS get calls as the Display Value, but they are required to be set via the internal db value. This behaves functionally like the EnumType value in WRS. Could this be enhanced to support this type so both values can be read from the API so it is more readily available to read back in.
when part move to a particular, through code i am trying to create WTDoc and i was able to create WTDoc but it does not link to WTPart through describeBy link. So is it possible to create WTDoc with describeBy link with WTPart through code.
Version: Windchill 12.0 Use Case: Automatically fill in Name when creating a new reviewDescription: I now need to generate a name automatically based on the selected WTPart when creating a new review. The name generation rule is WTPart.getname + "_" + WTPart.getNumber()
Version: Windchill 12.0 Goal: Append permanent CreoView links to an Excel file so that a user can bypass needing to open windchill to view a windchill item listed in an excel table.Description: I wrote this VBA script to retrieve a creoView link: Function getCreoViewLink(PN As String) As String Dim Value As Variant Dim response As Object Dim CreoViewRepresentations As Object Dim creoViewLink As String On Error Resume Next ' get response from helper function ' Get Response from Endpoint: https://" & server & ":443/Windchill/servlet/odata/v4/CADDocumentMgmt/CADDocuments?$select=Representations&$filter=Number eq '" & partNumber & "'&$count=false&$expand=Representations Set response = GetCADDocumentData(PN, CONST_PTC_SERVER_DOMAIN, CONST_UNAME, CONST_PASS) ' navigate Json to "CreoViewURL" Set CreoViewRepresentations = JsonConverter.ParseJson(response.responseText)("value")(1)("Representations") ' (1)("CreoViewURL") ' Exit early i
I am developing an interface for Windchill 11. How can I notify other systems when the task is completed?
Hi,There is following a Execute Expression code Windchill 12.1.2 implemented in Change Activity workflow: wt.lifecycle.State state = wt.lifecycle.State.toState("UNDERREVIEW"); wt.fc.QueryResult resulting = wt.change2.ChangeHelper2.service.getChangeablesAfter((wt.change2.WTChangeActivity2) primaryBusinessObject); while(resulting.hasMoreElements()) { wt.fc.Persistable persistable = (wt.fc.Persistable) resulting.nextElement(); if (persistable instanceof wt.part.WTPart && !wt.vc.wip.WorkInProgressHelper.isCheckedOut((wt.vc.wip.Workable) persistable)) { wt.lifecycle.LifeCycleHelper.service.setLifeCycleState((wt.lifecycle.LifeCycleManaged)persistable, state); } if (persistable instanceof wt.doc.WTDocument && !wt.vc.wip.WorkInProgressHelper.isCheckedOut((wt.vc.wip.Workable) persistable)) { wt.lifecycle.LifeCycleHelper.service.setLifeCycleState((wt.lifecycle.LifeCycleManaged)persistable, state); } if (persistable instanceof wt.epm.EPMDocument && !
Version: Windchill 12.1 Use Case: In the top level Part structure of a car or truck, search for children at all levels with an matching attribute value, ie show all parts within the car made from AluminiumDescription: I need to search attributes of all children at all levels within a Part structure. I want to report on attributes like state and materials for all Parts within a car structure, this may be 6 levels deep. Currently the method being used is to export to excel and use pivot tables. I have previously used a JSP with some java code I wrote to recursively search for children at all levels with a certain state, this works but is limited to a single attribute input, I want to select any usage or item attribute as input and see a filtered list of child parts matching the criteria. Any ideas on what approach to take?
Version: Windchill 12.1 Use Case: i go to supplier list and say create supplier and then i choose to create supplier organization and in that where i need to have condition when the name goes more then 30 characters it should through me an error or validation like the allowed characters should be less then 30 characters ? when i click on ok CreateSupplierFormProcessorDescription: NA
My Requirement is to show logo and some information of report header. Is it possible to add custom headers on QML report?Windchill Version: 13
I need to customize a new menu bar under Reports, but it has not been successful. Could you please advise on the correct creation process? Thank you
I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.1.9Hello PTC Support Team and Community!I would like to export OptionSets (Characteristics, Values, Conditional Rules, Exclude Rules, Include Rules) in a STEP AP 242 file format from Windchill, but out of the box it is not possible. Furthermore I could not find it in the documentations how to do that. Do you have any hints or advice how can I do that?In addition, I am looking for exporting CAD structures in STEP AP 242 file format also. Can you help me with that too?Thank you in advance!Martin Herbert
I have defined the calendar in Windchill and I want to get that calendar and check on what day is a holiday. So that in my delay calculation logic I can skip that day.
Version: Windchill 12.1 Use Case: I have an attribute called ecnTypeInformation on Change Notice in the Create layout, which reads a resource from text tailoring and displays the instructions based on the type of ECN selected during create. How to get these instructions in a bullet list or numbered list, is it possible to display that on a string attribute?Description: I have an attribute called ecnTypeInformation on Change Notice in the Create layout, which reads a resource from text tailoring and displays the instructions based on the type of ECN selected during create.How to get these instructions in a bullet list or numbered list, is it possible to display that on a string attribute?
Hello everyone, I am seeking help in regards of integration of Altium to windchill as my Bachelor Thesis. I started with the REST interface to windchill and tried using some basic tasks like creating parts, documents etc. using Windchill REST services UI and through Postman. The problem is now i want to create assemblies and ECAD data from Altium and I have no success.I would be thankful if someone can recommend me some resources or hint or have some guidance regarding this. I want to mention here that I already have access to Windchill REST service documentation and i am taking guidance from there. I am beginner and seeking for valuable suggestions.
Version: Windchill 12.1 Use Case: Hi, I want to delete the Parts from Change notice(Change activity), Problem report & Change request. later want to clean the Part data from windchillDescription: Hi,I want to delete the Parts from Change notice(Change activity), Problem report & Change request. later want to clean the Part data from windchill
111
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.0I created a custompicker data utility to search for parts of selected softype & was able to bind the datautility to IBA in Part creation wizard. From Create wizard, on clicking searchpicker the results are generated as expected & able to select a result. But when clicking 'OK', getting error "ReferenceError: CustomPickerInputComponentCallback is not defined". The custom pickercall back is defined in custom.jsfrag & deployed as per CS71276 & windchill-all.js also got updated as expected. Fllowed CS29555 to clear cache as well, but error is still persisting. Note : The datautility is working fine when OOTB pickercallback is referred in datautility.1. Need help to understand the reason for this error & steps to resolve them.2. Need help to understand the steps to set IBA value from picked object instead of its OIR to Picker component attribute from create part wizard.Here are the errors that I face
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.0 Embedded Windchill, the error message is as follows:Uncaught DOMException: Permission denied to access property Translated by the Community Moderation using Google Translate内嵌Windchill,提示错误信息如下:Uncaught DOMException: Permission denied to access property
Hello All, I followed Article - CS216138 and configured an option to upload local files as representations for an EPMDocument from the UI wizard (I am using Windchill 12.0.2.14). I am wondering if there is any way to automate this upload process. Support for representation upload using the loadfromfile framework is only available for WTPart, not for EPMDocument. Does anyone have any suggestions? Thanks.
Version: Windchill 12.1 Use Case: Previously I created strings for displaying text in Preferences and Business Rules using Java RB files, Now there is a new utility called Text Tailoring which can edit those same strings and update the text without needing to re-compile code or restart the server.Description: I can see the classes in the new Text Tailoring utility and edit the strings and update the text without needing to restart the server but my original class files are not being updated. Where are these strings being stored now, is there some new files I need to add to wtsafearea to preserve it in during CPS and upgrades?
Version: Windchill 12.0 Use Case: I have set the 'Product Phase Identification' attribute to 'read-only' and set it to the default value. I need to make the 'Product Phase Identification' attribute display the default value instead of (unassigned) on the New and Edit pages. How do I configure it.Description: I have set the 'Product Phase Identification' attribute to 'read-only' and set it to the default value. I need to make the 'Product Phase Identification' attribute display the default value instead of (unassigned) on the New and Edit pages. How do I configure it.
Version: Windchill 12.0 Use Case: I'm using GetParts to search WTParts in Windchill using a filter like "startswith(Number, '12345')". I want to get the latest revision at the "Released" state if one exists, otherwise get the latest revision. Is there a way to construct a filter to return the latest "Released" revision but if there are none, just return the latest revision regardless of its state?Description: I can filter by State/Value eq 'XXX', but I feel like I need to have a conditional in there saying if that state is not found for any revisions, return the latest revision.
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.