Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I have a scenario where there is an attribute (say Sample String1)which has a pair of json values("bat:MRF, ball:stumper, team:csk") Now I will have to display these values as "Attribute-value" pair in a custom Tab which I have created. Note: These Json values are received from another third party tool, we need to display these as attribute value pair in the custom Tab. Need guidance and help on how to achieve this.
In my environment, I have my files with the dot ".", such as "11.123.234.prt". I already have automations and integrations based on this format. Is there any way for Creo to use this name with dots or use other parameters created in Windchill to reference and work with my files? And how can I do this?This is the case of a potential client. We already knew, Creo doesn't work with dots in the file name.He already had files with dots. There are already Automations and integrations linked to this format.Can we create a new parameter in Windchill for these files and have Creo use this new parameter to reference these files?Example:The file name is "11.123.00-prt" but in Windchill there is a parameter "CREO_NAME" and Creo searches for and works with this same file by "CREO_NAME" instead of the file name "11.123.00-prt" and still keeps the original name for my system to work with it.Is it possible? How may I do it?In our environment, CAD files follow a naming convention that includes dots (e.
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS22先前原廠顧問協助導入,有提供BIF指令,可以編輯所有程式,請問BIF指令的問題是原廠設定的嗎?是否可提單詢問?近期有其他需求,客製程式需要呼叫廠商提供的第三方元件的jar,但發現BIF時抓不到第三方元件的jar無法編譯成功,進一步排查後,發現我們對 BIF 的操作與設定方式仍不甚熟悉,因此想請問:1. 是否有關於 BIF 的操作說明文件可以提供參考?2. 若需在 BIF 中引用第三方元件,是否需要進行額外的設定或配置才能正確載入?
Version: Windchill 12.1 Use Case: Get Checked out documents by a User.Description: Is there any OOTB way to GET checked out objects of a subtype (for eg. WTDocument) by a specific user?I don't want to create a custom endpoint
As per the original post. Hi Randy, can you explain me how you modified the getControlBranchesOf() method to add SearchConditions to limit the controlbranches to the same viewId? Your support can be very helpful for me. Thanks in advance Luigi
Version: Windchill 12.1 Use Case: Create Plan under product contextDescription: Hello,I need to create Plan under product, I have tried below code but still Plan is not getting created. can someone have idea how to create Plan from code -public static Plan createPlan(WTContainer container) throws WTException { Plan plan = Plan.newPlan(container.getContainerReference()); PlanHelper.service.createPlan(plan);return plan;}Thanks,Vedant@HelesicPetr
I need to get the Assigned Date from My Task once the activity is started. Using the self variable, I can retrieve the WFAssignment object that contains all task details. From this, I want to take the Assigned Date, add 5 days to it, and then set that new date to a date attribute using IBA.Can anyone help me with example code that should be written in the Transition tab of the workflow for this?
Version: Windchill 12.1 Use Case: I have thousands of WTParts that need to be renamed and their part subtyped updated.Description: I have thousands of WTParts that need to be renamed. The CAD parts cannot contain a "/", but their P/N in windchill needs a "/". Is there a way to batch associate part numbers using loader or queryspec? Is it possible to rename the WTParts after checkin?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.0The instructions in Article CS36017 do not work as expected. Using this article as a reference, I need to address a similar issue by creating a workflow variable that utilizes my custom class as its data type. This variable should display a predefined set of roles as dropdown values, allowing it to be used as a participant in another activity.For example, Activity 1 which has the variable "Role_of_activity_2" which user will select the role for next activity (Activity 2).
Hello Everyone,Is it possible to add GUI components like Textbox, Checkbox, Radio Button, Combo Box, and Text Area into an attribute panel using Builders? I was able to achieve this using wrapper tags in JSP. @Override public ComponentConfig buildComponentConfig(ComponentParams param) throws WTException { ComponentConfigFactory componentConfigFactory = getComponentConfigFactory(); AttributePanelConfig attributePanelConfig = componentConfigFactory.newAttributePanelConfig(); GroupConfig groupConfig = componentConfigFactory.newGroupConfig("GUI Componenets"); groupConfig.addComponent((ComponentConfig)componentConfigFactory.newAttributeConfig("date", "Date")); groupConfig.addComponent((ComponentConfig)componentConfigFactory.newAttributeConfig("textBox", "TextBox")); groupConfig.addComponent((ComponentConfig)componentConfigFactory.newAttributeConfig("comboBox", "ComboBox")); groupConfig.addComponent((ComponentConfig)componentConfigFactory.newAttributeConfig("radioButton"
Hi Team, Is there anyway we can find out on which all objects the attachment table is used?For Example:Its used on Change Order, WTDocument, ......
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.3カスタマイズ機能を開発しています。対象のWTDocumentから特定のIBA属性を取得する方法を教えてください。
Hello Everyone,I am trying to add custom html and js scripts to my Windchill UI components. To be specific I have a custom action button in more parts action drop-down menu (image attached). I want to customize its html and add some JS scripts which are to be triggered on click. From my knowledge PTC's official customization guide does not cover such UI customizations, but I have seen others on this forum make some implementations. Any guidance regarding this will be appreciated.
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0The Text Tailoring Utility seams to replace the rbInfo file for the customization of Text in the UI.https://support.ptc.com/help/windchill/r13.1.0.0/en/index.html#page/Windchill_Help_Center/customization/TypeMgrManageTextTailoringAbout.html#I could not find any info on Exporting the customized Texts for a system (dev) and import it on a new server. How should it be managed ?
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.2I need someone to set up mail forwarding from windchill to clients on our system.
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.0Hello! I'm encountering an issue during development.I'm using TableBuilder to create a table where one column displays radio buttons and another column shows text input fields for user input. However, when the table exceeds a few hundred rows, the selected radio buttons and input text disappear after scrolling. I suspect this is caused by Ext.js re-rendering the table and not preserving the modified states of the radio buttons and input fields, but I’m unsure how to fix this.If you’ve faced similar issues or have a solution, I’d greatly appreciate your advice. Thank you!
Version: Windchill 12.1 Use Case: I have a custom String attribute on WTPart, and need a data utility where users can edit the attribute value and check-in the part. How to persist the value entered by User in EDIT UI and save it?Description: I have a custom String attribute on WTPart, and need a data utility where users can edit the attribute value and check-in the part. How to persist the value entered by User in EDIT UI and save it?
Version: Windchill 13.0 Use Case: I added an expression robot to one of our ECN workflows and noticed that it sometimes stalls out, not allowing the workflow to progress. Is it possible to somehow skip this expression robot in the workflows that are stalled so that the rest of the ECN workflow can progress to resolution? Description: I wrote a custom bit of code into an expression robot to extract and put into a workflow variable the WTPart dispositions so that these can be emailed downstream to other parts of the company. Some of the workflows seem to stall out on this expression robot. Is it possible to "un-stall" the workflows that are stuck here? Ideally, I'd just move on to the next item - ECN Approved email? I'm reviewing the code in the interim but would like the handful of ECNs that are stuck here to get through to resolution.
Version: Windchill 12.1 Use Case: Analysis of Stream dataDescription: Analysing the stream data - count of object types per organization
Version: Windchill 12.1 Use Case: How to use the PTC.ProdMgmt.GetBOM with the POSTMAN App?Description: Hello community, In my case i want to fetch some data from my BOM (in the picture) so i need to fill the parametersI've used the PartID from the first picture in the URL, the CSRF NONCE i got from this Link http://<Windchill HOME>/Windchill/servlet/odata/PTC/GetCSRFToken() and copied the code in the CSRF_NONCE Fieldi am not sure what to type in the body can I let it emty?when I click Execute i get the Link with error code 400 Thanks in advance
Version: Windchill 13.0 Use Case: We have a requirement to display default BOM attribute values when "IBM Part Usage" link instance is created . We have created a custom link type "IBM PART USAGE" inherited from "Part Usage" link and added some custom attributes.I am using navigation Part -> Structure -> Uses -> Insert Existing to add a child part.The custom attributes are displayed in the ""Usage Soft Attributes" section , in Step#2 of the Insert Existing wizard. I need to display default attribute value on Edit "Part Usage Link" dialog, based on the child Part its being connected to or set the value as soon as a new link is created between parent and child part/s.Description: I set datautility to the attribute in "Part Structure Usage Edit" layout , but its not getting invoked during link creation using Insert existing part.I wanted to set link attribute values using OIR , but I dont see an option to set OIR for Part Usage Link.Does anyone know which formpro
Good mornig,I tried to use this code on WNC 12.1, replacing LWCNormalizedObject (deprecated) with PersistableAdapter: private static void setIbaOnPartUsesOccurrence(PartUsesOccurrence puo, String ibaName, String ibaValue) throws WTException {System.out.println("--------- Import.setIBAonPartUsesOccurrenc invoked on occurrence "+ puo.getName() +", with ibaName=" + ibaName + " and ibaValue=" + ibaValue);wt.occurrence.UsesOccurrenceUserIBAs iba=wt.occurrence.UsesOccurrenceUserIBAs.newUsesOccurrenceUserIBAs(puo);com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(iba,null,java.util.Locale.US,new com.ptc.core.meta.common.UpdateOperationIdentifier());obj.load(ibaName);obj.set(ibaName,ibaValue);obj.apply();wt.fc.collections.WTKeyedMap usesOccurrencesAndData = new wt.fc.collections.WTKeyedHashMap();wt.fc.collections.WTCollection relatedUsesOccurrenceData = new wt.fc.collections.WTArrayList(); relatedUsesOccurrenceData.add(iba);usesOccurrencesAndD
I am trying below piece of code to publish publication structure using publishing rule. Can anyone guide me if anything wrong in what I am trying. Publisher pub = new Publisher();String objRef = ObjectReference.newObjectReference(pubStruct).toString();if(!(WorkInProgressHelper.isCheckedOut(pubStruct))) { String actionString = "<wvsoptions>pubrulename=PS PDF **** Publishing Rule"; boolean result = pub.doPublish(false, true, objRef, (ConfigSpec) null, (ConfigSpec) null, true, "Sample_Rep", "Sample_Rep_Desc", Publisher.EPM, actionString, 0);}I am getting the below error in methodserver. wt.wvs.content.FileHelper - null java.lang.NullPointerException at wt.pom.PersistentObjectManager.expand(PersistentObjectManager.java:1409) at wt.fc.StandardPersistenceManager.expand(StandardPersistenceManager.java:3121) at wt.fc.StandardPersistenceManager.navigate(StandardPersistenceManager.java:497) at jdk.internal.reflect.GeneratedMethodAccessor357.invoke(Unknown Source) at java.bas
Hello Everyone, I need to update the verification status of each instance in the family table using the Windchill API.I am currently able to update the attributes of both the generic and instance entities using the following API:EPMWorkspaceHelper.manager.setAttributes(ws, epmAttributeMap);Has anyone worked on this before or have any insights on how to proceed?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.0We need to intercept the checkin event of a wtpart when the user does the following operations: checks out a wtpart, modifies only its structure links (or adds documents) and checks it in without changing its attributes.
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.