Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, I wrote an API that queries all WTParts that match a search string. The query, however, should only return those WTParts that are in a specific project. Currently I am using the following 2 Search conditions for this (only parts of the actual QuerySpec): This query works, but as I figured out it only returns WTParts that are IN the project and not just part of it. Most WTParts or WTDocuments are just shared to the project and existed before the project was created.Those parts and documents then have a different container than 'MyProject', so the query won`t be able find and return those. I tried a couple of things, I also searched through the database to find any connections between the shared parts and the project, but I was not able to find anything useful. Is there a way to query for all WTParts that are in the project (so basically what you see when you click the project in Windchill) Best regards
Hello All,I have one attribute in create Part Wizard the value of that attribute is dyanamic(comming from 3rd application) on the basis of that I want to show the other attribute Group(like bussiness, General) So How I can do this customization?Thanks,Basheer@HelesicPetr
Looking for API to set multiValue Attribute in create page of Promotion Request. Values are taken from another MultiValued attribute. EG: Product under which PR is getting created has attribute A with values A,B,C When I am creating Promotion request , attribute in PR should take values from that attribute of product (Multivalued and editable) Help would be appriciated.Thanks
I just tried this url: https://community.ptc.com/t5/Windchill/ECN-Change-Activity-Need-Date-reflected-as-the-Task-Deadline/m-p/91375 Which leads to "This Content was Archived" Who decides when useful content needs to be archived?? This particular post shows how to programmatically modify a task deadline. I have the url copied into the comments of a method I created back in Nov of 2021: * Used code from this post: * https://community.ptc.com/t5/Windchill/ECN-Change-Activity-Need-Date-reflected-as-the-Task-Deadline/m-p/91375
I am looking to insert something that interacts with the lightbox (yellow banner) only on the homepage invocation. Normally, I can figure out where that is generated but does anyone know the main JSP for the user homepage?
We've developed a customization that uses the lightbox (yellow message banner) that executes on the user's home tab to relay actionable information. Each time the page is refreshed, the message appears but would not like to throttle that message to be periodic. Some of our thoughts were: Accessing the user's session creation and spacing out execution based on that time. Accessing the user's login time and doing same thing. Creating a singleton which keeps track of the user's last execution time limiting based on some timer. For the last option, how would that work across multiple method servers? Would each MS having its own JVM, have its own copy of the singleton? Not a huge issue but is there a system wide solution? Example solution would be to display a message no more than once every two hours. Open to any other solutions.
Is it possible to use an attribute connected to a CREO parameter in Windchill that reads both string and integer? If not, is there an easy way to convert the parameter type to string or integer inside the model in CREO?
I would like to know what are the major impacts of giving a freehand to end users to skip revisions.1)Is there performance impacts in Windchill.2)Are there any downstream impacts due to the skipped revision sequence.3)What are the impacts on the search engine of Windchill
I want to customize the version synchronizations for the part, cad and drawing data we use in windchill. I don't want to do this manually. Is it possible to create a flow for this process and take part data codes from users in this flow and synchronize these codes to the most current version in the workflow? If we do the version synchronization process in the workflow, will there be a problem in connecting the data with each other?
I need to make a new update for the Promotion request process. After users submit WTParts to SAP, they draw their drawings, which causes confusion.For this situation,I defined an attribute called "DRWPART" in WTPart. When DRWPART value is selected as YES, we indicate that there is or will be found a DRW data belonging to WTPart.I want to check codes with DRWPART value of YES.When the DRW data is not added in the promotion of these codes, I want the user to be assigned a task and the process to proceed without adding the DRW data. How can I control this?
Do anyone have idea, if the revise validator can be enabled/disabled based on a IBA attribute values ? For Example, Prevent users from Revising the Object when the IBA attribute have value called "PENDING" Let me know if anyone has any idea or worked on such cases or any alternate solution for the same
How can I construct an Info* Engine Task to create a document and add attachments or content to it?
In getStructure API, Number of cad doc occurrences repeated because of quantity of the component in the document structure. how to fetch cad structure with Each component is only listed once with a consolidated total quantity ?
Can the boxes of parameters that are resettable for an Change Task Activity be enlarged?
Hello everyone,I have to hide an attribute on a layout when another attribute change the value.for exemple :Attribute A : booleanAttribue B : StringIf attribute A is false, Attribute B is hidden on the layout.Thanks,A.B
We set two GroupConfigs in an AttributePanelConfig as below: ComponentConfigFactory factory = getComponentConfigFactory();AttributePanelConfig attrPanelConfig = factory.newAttributePanelConfig();ResourceBundle bundle = ResourceBundle.getBundle(bundleBasename, locale);// First group list layout GroupConfig groupConfig = factory.newGroupConfig("documentFilterGroup", bundle.getString(createSendJobForTFE.FILTER_DOCUMENTS), 3);...attrPanelConfig.addComponent(groupConfig); //Second group list layoutGroupConfig groupConfig2 = factory.newGroupConfig("documentFilterGroup", bundle.getString(createSendJobForTFE_SELECT_DOCUMENTS), 3);..attrPanelConfig.addComponent(groupConfig2); Once these are set, the layouts are seen one below the another. How can I set the layouts (groupConfig and groupConfig2) side by side in the same line? Thanks
Following up on the post below and MPMLink related bug:Community post - Alternative BOM: Cannot create view with different variation of WTPart using VersionControlHelper.service.insertNode API. https://community.ptc.com/t5/Windchill-Ideas/Alternate-BOM-creation-using-API/idi-p/694409Call / SPR - https://www.ptc.com/en/support/article/CS277307 Issue reported to R&D on 19-MAY-2015 as SPR 4414456 with severity LowThis has been an issue since 2015. Don't understand how this can be low severity.How other companies migrated in MPMLink alternate boms given this gap?
what api can be used to fetch cad structure using windchill rest api along with its quantity value as present in the below image
Hello Team,We want an API where I can able to set the IBA attributes without check-out object.So, To achieve that we want confirmation on below API whether PTC is supporting or not. which we are using for setting an IBA attribute.IBAValueDBService().updateAttributeContainer();
Is it possible to configure set state action to show different target states for different roles irrespective of life cycle template?We have requirement - User assigned to specifi role should not be able to see the "xxxxx' state under target state while performing set state action
How do I programatically update editType attribute on com.ptc.sis.BaseUsageLink ?
How can a custom REST API endpoint be created to get Reference documents on a given WTDocument in Windchill?I found a very similar QA on Java API but I want to get the same functionality in a custom REST endpoint:https://www.ptc.com/en/support/article/CS183968
Hi, I want to get this information from Database but it is not possible. I have also check this article : https://www.ptc.com/en/support/article/CS59274?source=search Is there any way to get this information using API for Windchill 10.1 for all WTParts, EPMDocs -Thanks & Regards,KU
Hello PTC Community,I'm exploring Windchill and very desperate to know dashboard customization.Can we create our own dashboard with specific requirement (Mix of visualization & tables)? Here is the scenario.I'm working on a self paced project and wanted to create my own dashboard which should have both data visualization (5 unique Tabs on top of the page) and a table below the visualization with 5 columns. If I wanted to choose specific tab, relevant data has to be pulled out from different objects & it should display in the table.I have attached a rough layout for above scenario.I know it's very difficult and not that easy for me. But I need your guidance to do this job. Anyone who can suggest me where & how to start, really appreciated.I'm working on Windchill 12.0 versionBig Thanks.... 🙂
Hello everyone!In my test virtual machine with WDC11, when I create a PCR the menu Actions > New > New Change Request does not appear. So I turned on the jcaDebug and the the option is there, but with a message: hidden by validator Can anyone help me solve this? Is this something about policy? Role? Preference? Thanks!
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.