Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
When a new member is added to a Project an invitation to join email is sent to the new member person. When a new member is added to a Product no invitation email is sent. Is there a way to switch this functionality on so that new Product members recieve an invitation to join email?
Hello there, Is there a way to programmatically apply the Related Assembly Filter to the ProcessPlan Structure (Process plan > MPMOperation > Allocated Parts) displayed ?
Good evening, I have begun experimenting with a tool to read a workflow ZIP file and produce an HTML document with a graph. Graphviz provides tools which seems suitable. I am attaching a sample. There are three options: let Graphviz control the layout, guide Graphviz in the layout process, or reproduce the positions in the original workflow. Would this be useful? Thank you. -- ClaudeM
Hi, I have got a soft type of Configurable Reference Link (which connects two part soft types) where the data has to be loaded into Windchill using the WIndchill API. Can anyone let me know how to do the same. Thanks in advance. Best Regards, Aditya
I'm tying to add additional checks that will run before a user can complete the promotion request wizard. These should validate that (a.) the user did not select themselves and (b.) at least one person has been selected for each of the promotion request roles. I would prefer to stop the wizard from completing vs. trying to catch these problems after the workflow has started. From what I'm reading, this seems to be possible by overriding the promotion request delegate. There is a sample code snippet by @BhushanNehe here: https://community.ptc.com/t5/Windchill/How-to-stop-a-User-selecting-himself-as-an-Approver-in-Promotion/m-p/144787/highlight/true#M17171 There is also help documentation here: http://support.ptc.com/help//windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_BusLogicCust_WorkflowAdmin_MultPartSelectWizard_Sect3.html%23 I'm guessing I need to create a Java file, compile it, and then register a servic
Hello, how to duplicate a managed baseline. I can not copy / paste the objects of a Managed Baseline to a new one because there are too many of them. message: The number of objects selected exceeds the maximum number of objects allowed on the clipboard. Please select less objects to add, or clear objects from the clipboard, and try again.
I have written a custom task to fetch WTGroup objects belonging to a particular PDMLinkProduct. Following is the code that I have used: QuerySpec qs = new QuerySpec(WTGroup.class); qs.appendWhere(new SearchCondition(WTGroup.class, "containerReference.key.classname", SearchCondition.EQUAL, product.getPersistInfo().getObjectIdentifier().getClassname().toString())); qs.appendAnd(); qs.appendWhere(new SearchCondition(WTGroup.class,"containerReference.key.id", SearchCondition.EQUAL, product.getPersistInfo().getObjectIdentifier().getId()), new int[] { 0 }); QueryResult qr = PersistenceHelper.manager.find(qs); But I'm unable to return these fetched WTGroups in QueryResult using Return-Groups. Does anyone know how to return these objects from the custom task?
Hi, Is there a way to change the font color of an action label ?
I'm working on a workflow to obsolete files (i.e. change state to Obsolete and move them to a folder that has limited access). One of the requirements is to also notify the users of the file that is being made obsolete. I've looked through topics here and it seems that the preferred way is through QueryBuilder. Has anyone done this with expressions within a workflow? I'm not having a lot of luck finding methods in the JavaDOC that seem like they might work.
Hi all, there is a course called "Windchill Client Customization " on precisionlms.ptc.com. One of the first task/example asks to download latest BIF SDK (jar file). But unfortunately the link point to empty resource. Any idea where could it be dowloaded from, or maybe somebody is able to share it with me. regards Krzysztof
Hi, I want to do a promotion request with API and it works with this: https://www.ptc.com/en/support/article?n=CS133053 But within this request the process isn't selected well. If I do it manually the process is selected automatic, if I do this by API the process isn't selected. How can I add the process to the promotion request with API?
Hello community,it should be possible to delete/disable/hide views (like Design, Manufacturing) having objects without performing a reassign View reg. CS24135If a view represents a plant which is no longer used but there are objects using this view already, you are not able to diasble/hide the view. In this case the view can be used but it is not allowed to be used.When creating a new View Version / Downstream the view should not be available.Thank you for your support.RegardsStefan Petras
If Anyone aware about the WTPart Structure filtering based on Service Effectivity API's please let me know. Thanks in Advance Thanks, srini
Hi All,I have created sample.prt cad part by using Windchill API. it's open in Creo as well.check out and check in operation via browser are working.but when check ed it out and do some modifications in it using creo, then trying to check in back to Windchill.this operation was failed, check the event manager and found, it was failing to upload the new data to server,below is error from event management,Content category "" for content object "sample.prt" in the document "sample.prt" could not be found on server.How i can solve this ?i have used below in my code, EPMAuthoringAppVersion epmaav = EPMAuthoringAppVersion.newEPMAuthoringAppVersion(EPMAuthoringAppType.toEPMAuthoringAppType("PROE"), 30, "L-03");my current creo version is creo 3.0M070.Thanks,Vivek
Hi All, If I want to get the count of all the objects in all object types how would I be getting the same ? Is there any nested query or program for the same. Please let me know about it Best Regards, Aditya
After some searching, I found a bit code on here that within gets a PDF out of a default representation of an EPMDocument using this code: wt.representation.Representation defaultRep=wt.representation.RepresentationHelper.service.getDefaultRepresentation(myDoc); That's all well and good. Is there a similar expression that allows me to pick and choose which representation I want? Specifically, I'm interested in getting secondary content (which the rest of the code does) of the representation created by the promotion notice (so it's name is wt.maturity.promotionNotice:some number here). Is there a wt.representation.Representation rep=wt.representation.RepresentationHelper.service.getPromotionNoticeRepresentation? I've looked through the Java Doc (we're on 10.2 M030) and I can't even find any reference of the RepresentationHelper. The wt.maturity class doesn't hint at there being anything to do with representations.... Any help would be greatly appreciated!
Hello from my understanding in Options & Variants you can define expressions which are based on options e.g. color=red, blue is the option and choices color = read AND ... is the expression..... Now I am looking for the possibility to refer in an expression to an attribute from the part object and to refer the attribute of the classification of a part. Is this feasible? Any ideas about solutions, workarounds ...? Thanks in advance
Hi I have java method to update WTPart Structure attributes.This processing takes time. How can we show progress status in Windchill UI?//Rakesh
I saw below request (updating username and password of users in bulk) created 5 years ago but seems PTC still hasn't planned to implement it yet. I wonder if anyone here has done something similar in Windchill 10 or 11 and how did you do it? Actually I don't need to update username and password, but I would like to update tons of users to a different organization at once instead of manually changing each user's organization in Participant Administration UI. Your information and sharing are highly appreciated. https://www.ptc.com/en/support/article?n=CS59042
I want to get users and grouops of a organization level in Workflow. The organizaion is related to the primarybusinessobject. Please teach me which API I use and simple code.
Hi All, Can you please expalin the diffrence between "PersistanceHelper" and "PersistanceServerHelper" ? and how these classes helps to modify/store object in Windchill , what exactly happens behind, how it make changes in database ?
I have created a multi step wizard with jca. Whenever the wizard is completed, the processor is called successfully and the code is executed, but the wizard returns to the first step, instead of closing the popup window. Also no feedback messages from the processor are displayed. <jca:wizard buttonList="DefaultWizardButtonsNoApply" helpSelectorKey="AssignView_help" title="Batch Plot Wizard" type="wizard"> <jca:wizardStep action="createPDFActionStep1" type="createPDFObjectType" label="TDSP Create PDF" /> <jca:wizardStep action="createPDFActionStep2" type="createPDFObjectType" label="TDSP Create PDF" /> </jca:wizard> Any idea what might be wrong here? Thijs
Hello Community, I'm looking for a possibility to pop up a modal message dialog when working in a workflow like the dialog that is openend on doing this (also like a Java JDialog.show()): throw new wt.util.WTException(“message”) but when calling the searched method, the program flow shall continue with the next line, like: boolean showInfo; ... showInfo = true; ... if (showInfo) { notifyUser("info message"); // go on with code } ...
We have a custom utility using which we can download the PDF representations in bulk. We are downloading the representation using the API : RepresentationHelper.service.getDefaultRepresentation() We have enabled the audit logging for Download (READ_CONTENT) and View(VIEW) events in the file configAudit.xml We need to have this information logged in the audit report. Is it possible accomplish this ? Thanks, Srikanth
Hi. Can anyone share example of TableViewDescriptor usage to filter list of persistables? I need java code. Thanks. ps: for example i have: TableViewDescriptor myCustomTVD = ...; List<Persistable> persistableList = ...; and nothing more. What sequence of methods should i use to get filtered list of persistables according to filter in TableViewDescriptor?
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.