Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I want a new part instance to follow our standard versioning scheme, but it appears to be a different scheme (starts at Rev A). How is versioning controlled on part instances? I can't seem to find any information on this subject or a PTC support article.
Hello community! I am looking through the PTC | Windchill code right now and I am encountering a lot of if(RemoteMethodServer.ServerFlag) { run code } else { remoteMethodServer.invoke(...)} constructs. I am figuring this means something like "If the code is executed server-side then continue, otherwise invoke the method on the particular method server". But where would this code be executed, if not on the method server? Can anyone please give me a better / more technical explanation. Why is it important to use this construct and when should you use it? Thanks in advance and best regards
Hi community! I am trying to edit the content of the task with jsp.How do I add the attachments table in Task?I will upload the file from the table and ask the users to advance their tasks.
Hi,please find attached the image.We manually downloaded a Creo file(associated with EPMDocument) and also tried file download through script. there is a difference between both the files size.1. why there is a difference between files?2. files downloaded through script are not opening in creo due to file size difference. how to resolve the issue? Thanks in advance
I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.0.0Which windchill API is used to get page count of PDF associated with EPMDocument in Representations, Primary content or in Reference document.
Dears, I have created a new subtype of change notice and a subtype of change task, when I create a new change notice for a part I need to define the change task, for this change task I am using my own defined subtype, when clicking on the completion of this task I need to use the I need to use a custom Form Delegate to check the lifecycle state of the resulting object when clicking on the completion of the task, I've already implemented it, but this customized function will affect all the change tasks, so is it possible to define the Form Delegate only for a specific subtype? Thank you!
How we can copy the windchill dynamic url through java code?How we can achieve the to copy the windchill dynamic url through java code? from part action menu with (new action item).
How to display a different icon for a soft type of WTPart based on the value of an attribute in WC?
Hello everyone, I'm currently in search of the Windchill customization guide PowerPoint presentation from PTC Academy which I have seen previously. This presentation contains code screenshots and other visual elements. While I already have the customization guide in PDF format, I'm specifically interested in obtaining the PowerPoint presentation. Any assistance would be greatly appreciated.
Our Client work has a need for development. Windchill 12.1.1.0 (12.1.1.5 release) is used. When doing change management and new product releases in Windchill, our designers have difficulties to inspect that all necessary items have been added to the change object (ECN / resulting objects). We can modify the WT-structure view to show "change status" column. That shows us a clear visual view to check that all necessary items (WT-parts) have been added to the change notice. Problem is that in assemblies CAD-structure view its not possible to get "change status" to be shown. The change object (EPR, ECR, ECN) is linked to every WT-part and CAD objects when the object has been added to the change notice. And it can be seen in single part CAD-view etc, but problem is that in bigger assembly views, single CAD-part "change status" cant be seen. The status can be seen in WT-structure view, when selecting the wanted WT-part from the assembly and under "Viewing" - "Show" - CAD
how to get Part List details from Related Objects tabs of WTPART through API(Service Information Manager)
I defined a datautility to control the display text of some Attributes, but when I looked on the attribute tab of the structure Tab, I didn't see it as I saw it on the main attribute page(first Tab). When I debug the attribute of the structure tab, I found that it would enter the getPlainDataValue method of DataUtility. But the first parameter to this method is just the id of the registered datautility instead of the normal component id, so how do I get the original value of the component with datautility set?
Hi, is any one aware of getting the file from Application data, I have a attachment XML as secondary content to EPM Document, I want the XML as File rather than applicationContent and pass the File as a parameter to other method. Anyone aware of this please add in your comments or suggestions. Thanks
Is there a mechanism during workflow scripting where I can use the log level to control when they show? I currently use System.out.println statements to get messages written in the logs while debugging new workflow behavior, and then rip it out when it's done and ready for production release. I would rather leave it in and turn it on or off with log levels. What's the mechanism I should use?
Hello together, is it possible to change the text of the "Submit Now" / "Submit Later" Dialog in Change Request creation?I found an article to disable the dialog: https://www.ptc.com/en/support/article/CS79510But the text seems to be in a .class file. Is there a possibility to override it?Thank you.
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS13 Explanation:An error occurs when creating a new product using a custom template.I checked the contents of the rule name (rule defined by TypeBasedRule) pointed out by the error referring to the article (CS34313, CS45247).As a result, I found that <AttrConstraint> is inside the <AttrConstraint> tag. Here are the errors that I facedMethod server log:wt.rule.init [userid] - org.xml.sax.SAXParseException; lineNumber: 100; columnNumber: 37; The content of element type "AttrConstraint" must match "(Arg|Attr|Value|VarRef)*".(wt.rule.ruleResource/150)com.ptc.core.meta.common.CorrectableException: [rule name] Initial Value The XML specification for the rule is incorrect or invalid.Popup message:warning:[rule name] Initial Value The XML specification for the rule is incorrect or invalid. Question:1.Is it correct to understand that this error occurs when <AttrConstraint> tags exist within &
Hello All,I want to add custom column on promotion Objects table so how can I do that?Thanks@HelesicPetr
Hello Experts,I want to remove the user from groups using API .. license groups (e.g. "PTC Creo Data Management and Visualization License") & user created groups (e.g. "Advanced Viewing users") which are in turn added in license group by admin. Problem statement: I am using below API to get the groups in which user is member, but it is pulling the pseudo groups as well, like output I have provided below. WTGroup.removeMember(wtUser), Windchill goes and delete all assigned groups and as well as pseduo groups associated to WTUser object. Which might lead to other issues for user. What is best possible way to remove the user from group which are visible in UI (without removing from pseudo groups)? Does anyone has code snippet which I can reuse? API:Enumeration<WTPrincipalReference> groups = OrganizationServicesHelper.manager.parentGroups(wtUser); OUTPUT:..*PRINT getPrincipal .getName() output* PRODUCT MANAGER*PRINT principalRef.getPrincipalSt
I am getting following error while running a custom class file as described in CS353022. Windchill is configured with SSO + OpenDJ.What could be the possible issue? .. Could CS294361 be causing it? Custom class has following for auth and invoking a method within class, error is coming at invoke. RemoteMethodServer rms = RemoteMethodServer.getDefault();rms.setUserName("wcadmin");rms.setPassword("wcadmin"); rms.invoke("Login1","ext.participant.Login",null,null,null); Running windchill wt.auth.Authentication also returns error wt.util.WTRemoteException: Unable to invoke remote method; nested exception is: wt.method.AuthenticationException at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:918) at ext.siemens.pvp.Login.main(Login.java:36)
We are trying to export a "report" that will show the CAD models related to a given Windchill Part. Or the other way around; a report that shows what Windchill Part is related to a given CAD model. We would like this to be able to search thru more than one given, but could even live with just spitting out the whole of the WT Part folder. We also are trying to do so from a Windchill user standpoint, but might be able to get the Windchill admin to help if it isn't too involved.Any thoughts or suggestions? Thanks in advance!
I have a Saved Report, and created a Data Monitor using it. Email is not being sent and its showing this error.2023-08-23 12:26:14,091 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - 554 5.2.252 SendAsDenied; windchill@xyz.com not allowed to send as abc@xyz.com; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [Hostname=***********.namprd19.prod.outlook.com] Running into this error even after updating the following files. updated SendMail.xmlparam name="FROM" data="abc@xyz.com" default="<%=DEFAULT_FROM%>"/> updated wt.propertieswt.mail.from=abc@xyz.com updated mail.propertieswt.mail.smtp.username=abc@xyz.comwt.mail.smtp.password=123 updated site.xconf<Property name="wt.mail.from" overridable="true" targetFile="codebase/wt.properties"value="abc@xyz.com"/><Property name="wt.mail.smtp.username" overridable="true" targetFile="mail.propertie
Need replacement for the api mentioned in CS348452 for csm in Windchill 12
For EPMDocument CAD Part references section (Related Objects Tab), other cad assembly objects are listed as reference type= "Relation Reference" whereas when we query for this record in database table, the same value is stored as just "REFERENCE". would like to know how and where this mapping is done.Thanks in advance
Hi All,Trying to create a new file based series to be used for objects.Steps followed:created xml with series name and values.loaded using windchill wt.series.LoadFileBasedSeries Ax_FileBase.xml -load in shell.added series name in <Windchill>\codebase\wt\series\SeriesRangeSelectorRB.RB.ser using enumcustomizerun ant -f codebase/MakeJar.xmladded series name in wt.properties file wt.series.HarvardSeries.seriesNames=MilSpec,Arx_FileBaseadded series name in OIR <Arg>wt.series.HarvardSeries.Arx_FileBase</Arg>Still it not fetching the new file based series. Anything in correct I'm doing.
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.