Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I am trying to get the part configurations, then I will get the structuring of that part using the id of the part configurations, but I have not found an endpoint for this yet. How can I get the part configurations?
I have a requirement to create EPMDocument's in Windchill using Windchill API's..The native CAD files are stored in a folder drive, for which we have a need to create bulk create EPMDocument objects using API.No as-stored, No family table data.I want to create plain EPMDocument's with minimal System OOTB attributes & few custom IBA's.I want to understand how this objects behave in the system when compared with EPMDocument objects that were created using CAD authoring application.Please note I have only one option to create these objects using API.
Hello, I have been working as a Windchill Developer for more than 2 years. I struggled a lot in the beginning stage to find solution to some of my queries since many of the answers required some pre-requisite knowledge which I did not possess at the time. I am planning to write some articles on the customization topics with basic details so that people like me at their beginning stage could get all the required details in a single place. Some of the topics I will be addressing are as follows: i) Listeners ii) Adding custom actions and Filters iii) Sending/Receiving data between interfaces. iv) Dashboard designing using model view controller. v) Custom utility to do data correction. I will update the list on the go and let me know if any topics can be added to the list by you. It would be a great help for all the developers like us. Thanks. Regards, HS
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS14We're attempting to update Alternate usernames in our dev environment by using an infoengine task detailed in CS233456. It appears that case is not updating bulk users but a specific user. I was looking for a way to update multiple users. I created an infoengine group of WTUsers (small subset of all users) and tried using the foreach tag to parse through those users to update their alt username but that hasn't worked. I may be missing something and was wondering if there's anyone that could help with.
I am building a very simple edit wizard with an attributes table. Above this table, I want to have a dropdown list of possible role values. I have a data utility that can populate the values. Because this value is an input for the attributes table and its generation, when the data utility changes, the attributes table should refresh to pull the data related to this role. One thing I am unclear on is how to trigger the table to regenerate when the drop down value is changed. A non-simple example I can think of is the document create wizard when you change the soft-type, the lower section is refreshed.
In this example, customer wants to output ”Iteration“:1,like the ”Revision“ But seems attribute "Iteration" is not in Parts.json, is it possible to output "Iteration"? Thanks,Eva
I need to use the attribute "Default Unit" - Internal Name (defaultunit), however, the legal value list is "ea|as_needed|kg|m|l|sq_m|cu_m" and for value "ea" . I want have a value in fraction which is currently not possible .is there any way have fraction value for value "ea" Or how can I add additional value as "special each" for which I will add the fraction unit values ?
Dear SMEs, Can anyone please help me where I can download reloadclipse jar to reload java files in eclipse?I am unable to search it on google.
Hello,We've been using AEM to generate the cover page of WTDocuments for Windchill 12.0_2_7, as per typical usage.While trying to keep the customization at a minimum, we're trying to modify the configuration files (xconf, java, and tpl) to create the Primary Content for a newly created WTDocument custom subtype. I have two questions on the subject:1. I see in the template.properties.xconf that it is possible to define that generators and templates are used based on the document type (for example com.ptc.coversheet.DOCX.template), but is it possible to define a "hook" based on the document type?2. Will the cover page algorithm even trigger if the new WTDocument has no content when created? Let me know if there's anything I can clarify!
I am doing the save as for the EPMDocument while doing save it is giving some error. iam able to get the owner application but iam not able to set the owner application for newly saveas [error is"The value of "Owner Application" cannot be set to null, since it is a "required" attribute."] private EPMDocument saveAsCADAssembly(EPMDocument emptyCADAssembly, String name) throws WTException {try {System.out.println("While Save as partName: " + name); // Get the owner application from the original CAD assemblyEPMApplicationType ownerAppl = emptyCADAssembly.getOwnerApplication();System.out.println("Owner Application: " + ownerAppl.toString()); RevisionControlled[] originals = new RevisionControlled[1];CopyObjectInfo[] copyInfoArray = null; originals[0] = emptyCADAssembly; copyInfoArray = EnterpriseHelper.service.newMultiObjectCopy(originals);EPMDocument copy = (EPMDocument) copyInfoArray[0].getCopy(); // Set the owner application for the newly saved copycop
Here i am trying to fetch the latest cad drawing from the part, i am getting cad but not the latest . while (drawingQR.hasMoreElements()) {System.out.println("Entering into the Drawing Loop");EPMBuildRule link = (EPMBuildRule) drawingQR.nextElement();Persistable epmP = link.getRoleAObject();System.out.println("epmP: " + epmP);if (epmP instanceof EPMDocument) {epmDoc = (EPMDocument) epmP;wt.epm.EPMDocConfigSpec epmConfigSpec = wt.epm.EPMDocConfigSpec.newEPMDocConfigSpec();epmConfigSpec.setLatestActive();epmConfigSpec.setWorkingIncluded(false);System.out.println("epmDoc: " + epmDoc.getName() + " ---" + epmDoc.getNumber()); // Navigate to find references to this latest drawingQueryResult referenceQR = PersistenceHelper.manager.navigate(latestDrawing.getMaster(), "referencedBy", EPMReferenceLink.class, false);if (referenceQR.hasMoreElements()) {EPMReferenceLink referenceLink = (EPMReferenceLink) referenceQR.nextElement();drawing = (EPMDocument) referenceLink.getReferencedBy
--> Change the symbol for the "out of date" clocksHello, I have 2 questions about the clocks that are responsible for the various "out of date" notices.1.) Is it possible to assign a different symbol to the clock (triangle, dot, square)?2.) Is it possible to use a different symbol for all 3 possible clocks (Out of date, Out of date with Workspaceconfiguration & General Status)? Or do these attributes all use the same symbol template? ThanksHeiko
Grayed out below OOTB four action buttons when WTPart type object NOT having "Resulting Change Exists" indicator.OOTB Action buttons to be grayed out :1)Check Out2)Check Out and Edit3)Edit4)Edit Common Attributes. Which is best way to Grayed out OOTB action buttons:1)Filters2)Validators
Hi, I have been asked to return a name value instead of an email address when in a report that collects who completed a task.Currently I use "Work Item.Completed By" but this returns who completed the task with the user's email address instead of their full name. Is there another attribute I can use that returns the full name instead of the email address?Or should I use a convert approach and if so how can that be done?TIA!
"I need to retrieve the parts from the BOM structure that do not have a CAD association. Once identified, I want to associate an empty CAD assembly with each of these parts. The CAD association for each part should be named based on the respective part."
I'd like to export automatically pdf and dwg files wihle publishing it on windchill.. For the moment I managed the pdf files export using "Presentation Export" tool. But not the dwg ones.In addition the dwg file in zipped folder as shown is there any way to manage these tow problems ?THANK YOU
how should i get changeRecord2 from the wizard urlThe URL is this : wcdev.windchill.com/Windchill/ptc1/change/setResultantItemsAttributes?ContainerOid=OR%3Awt.pdmlink.PDMLinkProduct%3A2138737&u8=1&unique_page_number=58248588089754_0&AjaxEnabled=component&wizardActionClass=ext.sup.disposition.supResultantItemsFormProcessor&tableID=table__ext.mvctablebuilder.TableBuilder_TABLE&actionName=setResultantItemsAttributes&portlet=poppedup&context=comp%24ext%24OR%3Awt.change2.WTChangeOrder2%3A63753681%24&oid=OR%3Awt.change2.WTChangeOrder2%3A63753681&soid=comp%24ext%24OR%3Awt.change2.WTChangeOrder2%3A63753681%24OR%3Awt.change2.ChangeRecord2%3A63759524!*.
We want to assign the object name 'TEST_S325.5_46HP' to attribute values. We have 3 attributes: 'customer', 'emission', and 'engine'. We assign 'TEST' to 'customer', 'S325.5' to 'emission', and '46HP' to 'engine' without underscores in the object name.
Hi there, I am currently trying to perform watermarking in Windchill, using Adobe experience manager. I am currently able to watermark PDF's when creating a new representation using the Visualization Configuration Administration, by uploading a DDX Template that defined the watermark. I have a few issues. These templates are uploaded at the context level, and watermark every document within the context they are uploaded to. I would like to only watermark certain type of documents, and be able to select from a set of watermarks based on attribution/or workflow values in Windchill. This solution only allows me to upload a single DDX template and uses that watermark for all documents. In summary, we have 3 different watermarks, and want to dynamically choose which watermark will be applied. It would be done automatically, or through user input. Is there a way to dynamically assign watermarks to PDF's in my scenario? If there is a way to do this in con
Hello All,How to retrieve all related objects from EPMDocument and to workspace?Thanks.@HelesicPetr
When ever the child is modified and checked in, the parent which has representation already becomes Marked Out of Date.I want to understand the core logic behind it.Is there any listener which triggers or OOTB class registered in properties?
Is there any way to identify whether the object is checked in from Windchill or CADApplication?
I want to filter by the ID of AlternatePart in this API call: /windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:28728284')?$expand=Alternates($expand=AlternatePart), but I have not been successful using commands like ?filter. Can you help me on how to filter based on the ID of AlternatePart in this context?
its more related to change task. When in the change task if we reassign the role of the specific task ( System engineer role) to other person, it will get recorded in the task history tableWell while making task reassignment in the change task we wanted that to record in the Discussions table(customize>collaboration>Discussions) as of now it is getting recorded in the History tab of the Change Task and look at Task History table, We wanted to transfer the Task History table under Discussions Forum tab.
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.