Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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.
Hi, I want to set revision schema like 1D.0 , 1D.1 , 1D.2 , 2D.0 , 2D.1 , 2D.2 ... in default "wt.series.HarvardSeries" Can anyone tell what necessary changes I need to do in wt.properties (or somewhere else) so i can achieve versioning in above format. Please Help. - KU
i want to create custom action to copy current url to clipboard in windchill. Please guide me.
Hi,Can we editable autogenerated number.I don't want to use the Edit option.Upon creations of part it should be editable.Ref link below not getting it.PTC Windchill Help CenterAny help appreciated.Regards.
As per this thread, related issue. Hi, Do you kwon how to register automatically the server name? Thx
Is there any way to update the Select Participants role on the fly using windchill api. Currently we need a subset of roles based on whatever types of documents or parts are available but I cant seem to figure out how to do that using the api. Only thing I came up with so far is to remove the roles from table using javascript thought havent figured out yet how I will pass those roles to the front-end for removal.
Hi, Is anyone aware of below cases,API to by pass the revise transition of the object to set new versionORAPI to set version to specific version without revising to new revision of the object.Please let me know if anyone aware of this cases or any alternative if you feel. Thanks in Advance
HelloWould you have to change this name of the Windchill server? or do I need to change the server again? for the little that he took the name of the server I put.
I was trying to get data from ServiceEffectivity to a String and I tried to convert it to NmCommandBean as shown in the figure. When I tried to compile it I am now getting a error as String cannot be converted into NmCommandBean. How should I solve this problem?
I am now working on a customization where I have to create an export of Parts List data in that particular Information Structure based on the Service Effectivities present in the Service Effectivity Filter. When I am trying to get the Service Effectivity of a Parts List object it is giving me zero value though the service effectivities has been defined in it. I was trying to use these methods to get the service effectivity of a Parts List object. Method 1:ServiceEffectivityDataServiceFactory serviceFactory1 = new ServiceEffectivityDataServiceFactory();ServiceEffectivityDataService service1 = serviceFactory1.getServiceEffectivityDataServiceDelegate(partsList);List<Persistable> effectvityonPartandPLItem = service1.getEffectivitiesForPersistable(persistable); Method 2:QueryResult qr = ServiceEffectivityHelper.service.getEffectivitiesFor(partsList); Could you suggest me what mistake I made or is there any other alternative way to get the service effectivities of a part
Hello Community, My client is looking for a way to continuously synchronise data from PROD to DEV server. For example, if an assembly is modified in PROD, the same updates need to be propagated to DEV system so that any update that they may do in DEV will utilize the latest BOM. Could you tell me if you have faced with such requirement and what is the best possible way to go about the same? Thanks,Sha
Hi All,I want to clear attribute for specific use case is it possible to set Empty value for floating point or Long data type in windchill.Is it possible to set the attribute value as Empty for FloatingPoint data type.Thanks,Basheer
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.