Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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,
Currently the title display is "Change Object Type - OBJECTNUMBER, CAGE CODE"The desired title display is "Change Object Type - OBJECTNUMBER, OBJECTNAME, CAGE CODE"Windchill PDMLink 12.0.2.5Similar to how WTDocuments and WTParts display the information in the title, only without the requirement for revision. I was unable to find any preferences that address this
How to implement Name suggested box in Windchill 12.1 API supported.
Hi , I'm trying to achieve below auto suggestion example with my IBA values , could you please extend your support here ? Thanks, Vishvanatha Originally posted as a new reply on this topic.
Anyone know of a way to add NAME to the top of an information page in addition to the other attributes displayed?
Based on the soft type selection need to drive the attribute like get the next part sequence number
Hi all, I'm looking to add a custom action (an alert to get users confirmation to submit request) on the Finish button of a Wizard in windchill. Could anybody please help me with the snippet or any samples you've tried?Many thanks in advance.
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 was wondering if there is any load file available to load custom queue
Hi All,After various troubleshooting we were able to configure Custom AutoCAD worker to generate pdf.Now we are trying to create publish rules to stop publishing on check-in.It should only generate on specific state and manual creation of representation.Attached is the script we tried however it not working.Added AUTOCAD to publish.usesPublishRules in wvs.properties.Any suggestions would be appreciated.Thanks.
I have code to output "Change Summary" object types from a Change NoticeBut I do not know how to add more objects to this table, for example, WTDocument public static void printChangeAfter(WTChangeOrder2 wtChangeOrder2) { try { QueryResult result = ChangeHelper2.service.getChangeActivities(wtChangeOrder2); while (result.hasMoreElements()) { WTChangeActivity2 activity = (WTChangeActivity2) result.nextElement(); QueryResult res = ChangeHelper2.service.getChangeablesAfter(activity); while (res.hasMoreElements()) { WTObject object = (WTObject) res.nextElement(); System.out.println(object.getType()); } } } catch (WTException e) { System.out.println("error " + e.getMessage()); } }
Hi All,Trying to load EPM legacy data in Windchill.OOTB we don't loadUtility doesn't support this object. Came across CS372274 " how to create custom loader class loadfromfile utility"New to coding world.Any references how we can write custom class for EPM.Ref code attached.Any leads will be appriciated. Regards,DK
Hi, After adding job inside queue how to check its current state (Ready, Executing or Completed). API is used for adding job inside custom queue.QueueEntry queueEntry = processingQueue.addEntry(currentUserName, method, classname, argTypes, argsObj); Best Regards,Shrikant Bhosle
TeamHow do you set up publishing with Solidworks? We have it set up for CREO, but not for Solidworks.thanks -- Rick
We are trying to configure a custom Windchill worker to generate Creo View Representations in PDF formatof AutoCAD dwg, dxf files referring to this article: https://www.ptc.com/en/support/article/CS40919 We are currently experiencing an error: "..cannot produce output file xxx.out ". How to solve this problem?
We have a user that is no longer available that has set up subscriptions for many groups. I am hoping to edit/delete these as many are not needed or need updates. Is this possible? If so, how?
I am trying to find specific assigned activities in a workflow process so that I can programmatically close them (with a vote if possible) and keep them in the tasks completed tables, rather than have them disappear. I can go from activity to process, but cannot see anything to go in reverse from process to activity... and I can see the WorkflowHelper/Service that can list WorkItems but do not know the relation of these to the assigned activities. Is there a basic cheat sheet in the help guider anywhere that I can read and begin to try things without always begging for help from the community?
How to create a Save-as-History link between two WTDocuments in windchill12.1?Which api should I use to create a link between two WTDocuments?
Hello, I have a problem using an attribute value in an Document OIR. I want to use the project number to be in the attribute naming. This gives me an error: <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false"> <Arg>CALC-1234567-</Arg> <Attr id="MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|ProjectNumber"/> </AttrValue> If I try it with the name for example, it works fine. What is my error?:MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|containerInfo.name <-- works fine!MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|ProjectNumber <-- does not work! Thank you very much!
Hi All,On the SAVEAS action we have SaveAsDependencyAndEditJSTableProcessorand in that class we are using JSTableDescriptor for my requirement I have extended the class and trying to hide one column using setHidden method so it is working in WC11 but after successful execution it is not working in WC12 any hint what should be the issue?@HelesicPetr Thanks,
Is there a way to mass assign Distribution Targets (DTs) in the Change Task Resulting Objects table? Suppose I have 2000 objects in my Resulting Objects table of a Change Task and I do not know if they all have a DT assigned yet or not. Each view has its own DT i.e. a "New York" view of an Object needs to have the "New York" DT assigned to it. Is there a way to enable me to sort my table by view, make mass selections by view, and assign a DT to that view group selection? What I am describing is an "ideal" way of assigning DTs from my perspective, but it may not exist. Regardless, my question to the community is if this exact or similar functionality exists in Windchill PTC.
{ "code": "CONFIGURATION_ERROR_CONFLICTING_DOMAIN_VERSIONS", "message": "Conflicting versions of domain ChangeMgmt are being imported: Versions 5 and 6" }
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.