Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
How can we get the enditem of wtpart subtype?
Hello, I am currently migrating the codebase from Windchill 11.1 to 12.0 and facing issues in the new log4j 2.0 package, namely in the following APIs-Layout layout = new PatternLayout("%d [%t] %-5p %c - %m%n");FileAppender appender = new FileAppender(layout, WTProperties.getServerProperties().getProperty("wt.logs.dir")+ File.separator + "SetStateOfAffectedObjects.log");logger.addAppender(appender); Anybody has any suggestions for the same? Thank you,Ramsha
I am working on customizing the workflow task notication templates and have a few questions. 1.) Why does the activityNoficationURL method not get put in comments but all of the other methods do? (It will fail if placed in comments.) [Red Box] 2.) Where is the extra condition "notification" for activityAttributes documented. [Blue Box] 3.) How do I get just the task URL without all of the extra garbage? [Orange Boxes] 4.) Why does the task list the process name instead of the task name? Is this controlled by a preference? If not, can the process name itself be changed? (I'm already dynamically changing the task name.) Thanks!
Hello All,I want to make Particular group of user should be the always reviewer and approver for the object during promotion request.Is it possible through configuration.Thanks. @HelesicPetr
Dear allIt's wonderful to see all your inputs in these forums ! We have a Windchill change process where we need to generate custom partslist (BOM) in a pdf format with a predefined template (header , footer , logo etc). Inspite of all the efforts(customization) from the team it still is not possible. (I know this is not an OOTB function from Windchill) I reach out to all of you to seek your comments /suggestions We are using Windchill 12.0.2 . Thank you in advance.
How to write a custom UI validator that runs on a Change Request, when 'New->Create New Change Notice' is clicked, can we use preUIValidation that checks the state of the Change request, and throw an error message/warning in the UI if state is 'Under Review', and it should let users create Change Notice when state is 'Implemented'. What are the files that need to be customized to achieve this?
Hi All,I have created two custom global attributes of type String on Disposition Record and assigned default value Disposition assignee and Disposition reviewerBut I'm not able to see in UI on Disposition Record Attribute Layout
Hi, I am facing this error while loading a file into the server. Can anyone help me with this.
Hello All,We have used RepHelper.loadRepresentation API in WC 11 and working fine but now in WC 12+ it is no more supported or not working as per expectations, can you guys please suggest an alternative way for this method. WC - 12.0,12.1
Hello ,I want to display some data regarding Version History of document (WINDCHILL 11) version , file name , state , comments ,modified by and last modified
Dears. Now I have a custom attribute, he contains about 2000 values, I use the Global Enumeration defined constraints, so that the user can only be in the foreground page to select one of these 2000 values, but if user go through the drop-down box to select the desired value is a waste of time, does drop-down box can be added to the filter, or there are other good ways to achieve it, thank you very much!
team:I want to add DescribedBy documents (not CAD documents) to a part. It needs to automated, preferably by a python script accessing the OData API. It is possible to add DescribedBy links using POST Windchill/servlet/odata/v5/ProdMgmt/Parts(id)/DescribedBy but it requires some WRS configuration as described in this article:"Follow the steps to implement WTPartDescribeLink creation hooks." https://www.ptc.com/en/support/article/CS285572 Testing this, I got an error:"Unable to create entity - Illegal link. \"OEM Part - 4199999-00, Toy Brick, CAG66, B.4 (Design)\" cannot be linked to \"Brick Install Instructions, CAG99, 1.1\" because both objects are not in a PDM context." After correcting the context, the link could be created fine by WRS/OData. But that's not what we want. We want to keep our contexts as they are, and link across different contexts. This brings up a question, I am curious. The link can be created manually across different contexts but not when usi
Hello, I am trying to upgrade my project from Windchill 11 to Windchill 12. I face the below issue when trying to compile the source code in eclipse. The error points to LoadPart.java file "The type wt.vc._MasterIteration cannot be resolved. It is indirectly referenced from required .class files" I have included all the necessary jar files in the build path of the project but the issue is still there. Cleaning and re-building of the project also didnt help. Kindly let me know if anyone has any idea as to how to resolve this. Thanks,
Hello Windchill Experts We have a Windchill 12.0.2.0 environment and we handle 3 CAD systems in it.All drawings are published as HPGL and PDF (PDFs available under "default" representation under files - see screenshot). We set up SOLR indexing and it is working so far good with all the DB fields.PDF indexing is also working for WTdocuments OOTB.Indexing Creo data could be activated through native data but with the other systems this doesn't help. We are strugling with the published PDF content - I do not find anything in the documentation.In a indexed search webinar FELCO mentioned that indexing is also possible for additional CAD systems through published PDFs. Does anyone can give us a guidance how we can solve that? Thank you Marc
can we pass distinct in windchill rest services expand queryMy input query is let expand="Components($expand=Part($select=ID,Number),PartUse($select=ComPolarisindPolarisIndustriesEngineeringSequences);$levels=max)"; how to get distinct of Number?
Hi, Is anyone aware of how to programmatically attach the files (xml, txt) etc to the CAD Attachments section?? Thanks
I am using Windchill PDM Link Release 11.1 M020-CPS16. When I create a Part with the "New Part" button, at the bottom there a option to create a CAD Document. Number and Name are automatically set on the CAD Document Tab. Although, I have Attribute1, which on Type and Managemente Attribute has the same internal name for WTPart and EPM Document, that is not being set. My question is, is there a preference or way to set this attribute on my wizard? Or this functionality will need a customization?
Is there a load file to rename a group?I didn't find any handler from csvmapfile.txt
I have some script that has been working for months... String varName = <some text>;String varDesc = <some text>;<some code>wt.change2.WTChangeRequest2 cr = wt.change2.WTChangeRequest2.newWTChangeRequest2();cr.setName(varName);cr.setDescription(varDesc);<more code>cr = (wt.change2.WTChangeRequest2) wt.fc.PersistenceHelper.manager.save(cr); The result was a new Change Request with my preset field values for my business case. As of today, this code fails on the cr.setDescription() call with the following message: Message: Resource bundle/Message key = wt.introspection.introspectionResource/21 I haven't found any reason or solution yet... but I am assuming someone has. Anyone have some ideas?
Is it possible to display name/number of drawing on a Change Notice? If so, is it possible to provide a link to drawing in the email, in the instructions?
let expand="Components($expand=Part($select=ID,Number),PartUse($select=ComPolarisindPolarisIndustriesEngineeringSequences);$levels=max)";let Json = Things["Polaris.Windchill-Odata-Connector"].GetPartStructure({$expand: expand /* STRING */,ID: PrevOID /* STRING */,$select: undefined /* STRING */,NavigationCriteria: undefined /* STRING */});Iam using the above code in thingworx to fetch windchill data for the oid. I have to compare data of two different oid. Is it possible to fetch the partnumbers which is present OID-1 but the same partnumbers which is not present in OID-2 in single API call???
Hello, I am trying to set OIR for a WTpart.I want to get the name from an Enumerated List assigned to an attribute GROUP.When I create the part I get is the Internal name of the attribute (see part of the code bellow).My question is how I get the display name of that attribute. ......<AttrValue id="name" algorithm="wt.rule.algorithm.BooleanBranch"> <Value algorithm="wt.rule.algorithm.EqualsTest"> <Attr id="genericType"/> <Arg>variant</Arg> </Value> <Value algorithm="wt.generic.rule.VariantNameGenerator"> <Arg>{GEN:wt.enterprise.SequenceGenerator:variantnameseq:20:0}</Arg> </Value> <Value algorithm="wt.rule.algorithm.StringConstant" <Attr id="IBA|GROUP"/>&nb
Hi All I'm getting the below errors logged while publishing though my publishing is successful. Please help me understand how to resolve this or the only way is to provide the access to the user? DEBUG [PublisherQueueXXX.PollingThread] wt.access.evaluation.report:2814 Administrator - "xxx" does not have Delete permission for "EPMDoc Config Spec - wt.epm.EPMDocConfigSpec:10593701025" in Administrative Domain "Site /User". DEBUG [PublisherQueueXXX.PollingThread] wt.wvs.viewmarkup.StandardViewMarkUpService:352 Administrator - ViewMarkUpService: Error postStoreDerviedImage (wt.access.accessResource/19) wt.access.NotAuthorizedException: ATTENTION: Secured Action. You do not have the necessary authorization for this operation. Contact your administrator if you believe you have received this message in error.at wt.access.StandardAccessControlManager.hasAccess(StandardAccessControlManager.java:11084)at wt.access.StandardAccessControlManager.checkAccess(
I've read that baseWhereClause can be used to filter objects in pickers. https://www.ptc.com/en/support/article/CS25075?source=search I added the clause to 'AddAffectedData' jsp in the server, but the UI is still returning objects in all states, the state.state = PRODUCTION filter is not being applied.
Hi All, Hi @HelesicPetr I have a Data Utility were I process the attribute values using the gatDataValue(). But the data utility does not get called for Common Attributes(allNonSchemaNonClassificationMinusClassificationRefIbas) in a WTPart. If the attributes are listed maybe I can assign the selector in the Layout attribute properties but for Common Attributes the attributes are not listed but I see just one cell with value "allNonSchemaNonClassificationMinusClassificationRefIbas". Can anybody help me know why?
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.