Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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!
Is it possible to create a package that contains only a specific document softtype (reference documents).What I'm trying to achieve is the following:Select a WT-partAdd to packageCreate new custom package (custom package type is already set-up)Then the collector should only add reference documents (incl. reference documents for all dependents) but not described by documentsI could achieve this by filtering during the collector stage using the type filter, but I'm looking for a way to achieve this as a default setting, so that when the custom package-type is selected only that specific softtype of documents is included as content.I tried working with the package type-based properties, but couldn't get that to work, because the content-role-type for both reference and described-by documents is Primary.
How to pass DISTINCT(CADDocumentID) in the below query in windchill rest services.$expand = Components($levels=max;$select=CADDocumentID)
Hi Everyone,Can we get the product details into Product UI, I want to add the description and created or add new attributes on the top. Regards,Amir
java.util.NoSuchException alert is showing Please let me if any solution is there.
Hello, I'm trying to create my custom Enum with Java code, so I created a class @GenAsEnumeratedType public class LayerEnum extends _LayerEnum { private static final long serialVersionUID = 1L; public static final LayerEnum LAYER1 = toLayerEnum("Layer1"); public static final LayerEnum LAYER2 = toLayerEnum("Layer2"); } Then I'm adding it as a property to my custom Part which is using it @GenAsPersistable(superClass = WTPart.class, extendable = true, properties={ @GeneratedProperty(name="layer", type=LayerEnum.class, initialValue = "LayerEnum.LAYER1") } , foreignKeys = {@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="master", type=MyPartMaster.class))}) public class MyPart extends _MyPart { static final long serialVersionUID = 1; public static MyPart newMyPart() throws Exception { final MyPart instance = new MyPart(); instance.initialize(); return instance; } } The problem I encounter is that, when I try to create t
Hello everybody, I have got a question related to the iteration scheme in windchill. Is there a way to auto (during release process) delete all old iterations and set the latest iteration to number 1? Thanks in advance! kind regardsChristian
Hi,I am getting warning message(No Enumeration type exists with "update_checked_out_parts as its internal name") on Import Job Monitor Wizard and not showing any running job.PFA. Thanks
I need some specific part properties in windchill search window. to check the part source i need to check by clicking the engg part of each file. it is taking more time. is there any option to include part properties in search window? it will reduce the time and i can export the report. please revert back if any options available.
When creating a CustomTableBuilder with "return new WTArrayList(PersistenceHelper.manager.find((StatementSpec) querySpec)" for the OOTB Default tables, am I able to add custom columns and how? The question aims to the return value not the TableConfig and ColumnConfig, but rather how to fill the columns.
Hi All,I need to make Template attribute mandatory which is present on Create Change notice Wizard ? How I can do that.PFA.
Getting garbled code when using API to obtain form information
Hello dear Community,lately I have encountered a problem while creating a promotion notice on a WTDocument. To further describe my case: I am using Windchill Version 12.0.2.1.In the 3rd step of the Create Wizard of the Promotion Notice, the user has to tick at least 1 user for each custom role: "Genehmiger", "Work Instruction Genehmigung" and "Work Instruction Info". To ensure that he does so, I have implemented a Validator. The Problem: The User ticks one WTUser for each role, like he should, so the Validator should not throw an error message.The Validator throws an error message.The User unticks his previously ticked WTUsers and ticks them again.Now it works just fine and the Validator lets him complete. In the Validator Class, in the Method "validateFormSubmission", I am retrieving the ticked WTUsers by iterating uiValidationCriteria.getParameterMap(); While debugging I have noticed that the parameterMap misses some Role-User-Param
Hi, Is there a way to import a spreadsheet file to assign and/or update assigned expressions on usage links of parts for certain configurable modules/end items? I know you can export/import part structures in general, which has been quoted here for example. And I think I've read somewhere in the Windchill Help that this can include assigned expressions. However, I think that the basic way can only carry the expressions on items, not usage links. That is, if any at all. Use case - it's much easier and quicker to analyse and tweak configuration logic in spreadsheets, plus people who do this don't use Windchill at all. In case of thousands of items, which also happen to have different rules based on type of a product they're used in, updating logic for each is unbearable.I've automated spreadsheet rule generation process but then whenever changes happen I'd have to know which items were affected (easy to do) and go through the list of thousands of items dozens of
Hello Community, I wanted to know what are the preferred framework that we can opt to develop unit test classes for Windchill code. So far, I used Junit 4.0 to develop test classes but I am encountering many issues when I try to mock Windchill classes like VersionControlHelper, WTState etc. Has anyone in our community developed Junit tests with mocking of all classes instead of using actual Windchill objects' data? Looking forward to your response. Thanks,Hari
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS11How to use custom numbers and import a structure with autogenerated numbers using Import From Spreadsheet Action.
Hello, I'm writing about an issue we encountered while trying to register the resource bundle file into the Text Tailoring functionality. The problem is, we are not sure for which resource bundle file we need to be looking for. Is there a way to find it from the GUI for concrete label or action, or we need to search it within the source. For example, if I want to change the table name "Where Used" in Part to "Where Used New" what's the way to check the resource bundle file for this label?I'm using Windchill 12.1,
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.