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.11My code runs with particular username it's self-working, but i want whole list of user more than 90days inactive user list and last login time both.Here are the errors that I facedMy code runs with particular username it's self-working, but i want whole list of user more than 90days inactive user list and last login time both.
I want to implement a dropdown menu similar to combobox, but with the option to select multiple contents. How can I achieve thisI tried the following methods and found that they couldn't unfold as expected omboBox combobox = new ComboBox(retnumber, retname, new ArrayList()); combobox.setId(arg0); combobox.setColumnName(AttributeDataUtilityHelper.getColumnName(arg0, arg1, arg2)); combobox.setMultiSelect(true); combobox.setSelected("00"); guicomponentarray.addGUIComponent(combobox);
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.7I tried to copy a string of a list of file names to the clipboard in a custom jsp, but I got the following error:Windchill JSP Exception nested exception: java.awt.HeadlessExceptionClipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();An error occurred at this point.StringSelection selection = new StringSelection(str);clipboard.setContents(selection, null);Please tell me how to avoid this error and use the clipboard.Here are the errors that I facedWindchill JSP Exception nested exception: java.awt.HeadlessException --------------------------------------------------------Translated the topic from Japanese to English using google translate Subject - クリップボードのHeadlessException回避Body - I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.7 カスタマイズjspでクリップボードにファイル名のリストの文字列をコピーしようとしましたが Windchill JSP 例外 ネステッド例外: java.awt.HeadlessException が出ます Clipboard clipb
Version: Windchill 12.0 Use Case: hi, I want to delete the part structure details for many of the parts at a time , such that it removes the structure details of the parent part completely for the current revision.Description: is there any utility or API to help get the changes updated ? please assist if anything helps
Version: Windchill 12.0 Use Case: Configure Table "Action Column"Description: Hello PTC Community,I have a table that returns a list of WTUsers. I have used CS169977 to configure an "action column". The action for now is just a print statement to the MS log to confirm it is working. If I right click a row in the table, it takes ~20 seconds for the action to load. Once loaded, if I try again, the action loads immediately. Any ideas on why it might take 20 seconds for the first load?
Version: Windchill 12.1 Use Case: Upgrade from windchill 11.2 to windchill 12.1.2 version. However, the following error occurred: https://www.ptc.com/en/support/article/CS356481?source=search So according to the case method, I erased the three jar files and ran the server again, and it worked normally. But, Creates those three jar files again at "/codebase/WEB-INF/lib" after when i recompiling at Eclipse. I want to change the corresponding three jackson.jar files to jackson-all.jar and make them appear, what are the ways?Description: <Windchill_Home>/codebase/WEB-INF/lib/jackson-databind.jar<Windchill_Home>/codebase/WEB-INF/lib/jackson-core.jar<Windchill_Home>/codebase/WEB-INF/lib/jackson-annotations.jar I don't want the top three files to appear.I'd like to have the jackson-all.jar file created.
Version: Windchill 12.0 Use Case: While editing the Change Request adding new affected objects under select affected object, suppose there is 2 affected objects already present for the change request we are adding 1 new object.Description: The problem faced is while fetching these affected object through code using ChangeHelper2.service.getChangeables(changeRequest) inside editFormProcessor only able to get the 2 affected object, I need to check all the affected objects(existing + newly added) as well as just newly added object.
Version: Windchill 11.0 Use Case: I modeled a class that extend from wt.enterprise.IteratedFolderResident, everything works fine. I can create it and assign it into a folder,Description: But the attribute 'location' or 'folder.id' doesn't show in Type and Attribute Management. So I can't put it into any layout and the OOTB defineItemAttributesWizStep won't display the folder selector. Anything else need I do?
I am using Windchill PDMLink Release 11.0 I want to create an interface that other systems can access. How can I do that?
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?
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.