Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi All, Need to fetch all the WTPartRequest attached to a WTPart. If you have ready code available then please suggest. Thanks Sitanshu
Hi,I am currently trying to add a non-persistent column to a tree in Windchill. The column does not represent an attribute, but a value calculated in the buildComponentData method. As I haven't figured out how to only add one non-persistent column, I currently build a component filled with non-persistent data instead. This works great when the component is a table, but when trying to do so with a tree, I get a "Unable to find NmObject for element: ..." error. This seems to me as if the tree component cannot display non-persistent data.Does someone know if a tree component can display non-persistent data and if so, what are the differences between a table with non-persistent data and a tree with non-persistent data?Thank you,Vincent
Hi all, How can I add new column in avalible columns table? I can see that some of them was made previous.
Hi Developers, Unable to remove EpmDocuments from windchill, please check below exceptions and provide code snippets to delete epm documents : - INFO : wt.system.err wcadmin - (wt.fc.fcResource/46) wt.fc.ReferentialIntegrityException: Referential integrity violations occurred for this operation:- INFO : wt.system.err wcadmin - The following items cannot be deleted because they are members of "EPMCheckpoint - wt.epm.workspaces.EPMCheckpoint:1266915". "Assembly - 0000000501.asm, A.1 (1); "- INFO : wt.system.err wcadmin - The following items cannot be deleted because they are members of "EPMAs Stored Config - ". "Assembly - 0000000501.asm, A.1 (1); " Thanks.
I have pushed attributes from a Change Activity to a Change Notice upon completion of the activity. Now what I would like to do is push an attribute from a document approval workflow to a soft type of document. I have defined a workflow variable called string1 as type java.lang.String and also a variable parentDocument of type wt.doc.WTDocument. I tried to use the logic that I had but I am getting an error. It would be great if this possible. Here is my transition code: com.ptc.core.lwc.server.LWCNormalizedObject obj=new com.ptc.core.lwc.server.LWCNormalizedObject(parentDocument,null,null, new com.ptc.core.meta.common.UpdateOperationIdentifier()); obj.load("string1"); obj.set("string1",internal_name_string_on_softtype); obj.apply(); wt.fc.PersistenceHelper.manager.modify(parentDocument); The error I get when I check the syntax is: warning: Supported source version 'RELEASE_7' from annotation processor 'com.microsoft.azure.management.
Hi All, Getting exception while deleting epm documents, please check below exception and provide code snippets if anybody knows : - INFO : wt.system.err wcadmin - (wt.fc.fcResource/46) wt.fc.ReferentialIntegrityException: Referential integrity violations occurred for this operation:- INFO : wt.system.err wcadmin - The following items cannot be deleted because they are members of "EPMCheckpoint - wt.epm.workspaces.EPMCheckpoint:1266915". "Assembly - 0000000501.asm, A.1 (1); "- INFO : wt.system.err wcadmin - The following items cannot be deleted because they are members of "EPMAs Stored Config - ". "Assembly - 0000000501.asm, A.1 (1); " Thanks.
Hi,I am trying to customize the columns in the Uses tab under the Structure part info tab.The Uses tab renders a Table component with a column Reference Designator with cells that are editable. I want to change the cells in such a way they are not a text box that is editable, but a Link that opens a WTDocument in Windchill.Please help me how to do this.Thank you in advance.
Hi, Windchill 11.2 may not be recognizing internal value of lifecycle state when internal key is using special character like '&'. Here is the entry from custom StateRB info file. PUBLISHED_R&D.value=Published R&D Set State operation throws an error. wt.util.WTInvalidParameterException: No EnumeratedType exists with "wt.lifecycle.State.PUBLISHED_R&D" as its internal value. Nested exception is: java.lang.reflect.InvocationTargetException Trying to figure out whether usage of special character is not supported anymore in rb info file?
We will host a live Expert Session: "Thingworx Navigate 3D Viewer" on October 9th at 11:00 AM EST. Please find below the description of the expert session and the registration link . Expert Session: Thingworx Navigate 3D Viewer Date and Time: Friday, October 9th, 2020 11:00 am EST Duration: 1 hour Host: Robbie Morrison, Product Management Senior Manager Description: Following the series of new capabilities released with Navigate 9.0, this session will focus in the details of Navigate 3D Viewer leverage this to your use cases Register here Existing Recorded sessions can be found on support portal using the keyword ‘Expert Sessions’. You can also suggest topics for upcoming sessions using this small form. Here are some recorded sessions that might be of your interest. You can find recordings for the full library of webinars using the keyword ‘Expert Sessions’ in PTC support portal search Navigate 9.0 – What’s New? This ses
I am working on our company's CI/CD and I want to add logic to perform certain functions when certain files/paths are changed since the last pipeline run. One of these action is the restartAllLocalMethodServers command found in JConsole. I'm familiar with running it from JConsole, but can't seem to find a class path to try calling it from command line. If there is no main function for whatever class this is built into, it'd be worth writing my own java utility class to call it. How can I perform a restartAllLocalMethodServers through Command Line?
Hello, I want to restrict some of the users from deleting classification node in Classification Administration, they should have access only to view the nodes. Please let me know the feasibility. Available article pertaining to the mentioned requirement: https://www.ptc.com/en/support/article/CS232933 Thanks in advance. Regards, Sha
This exception coming on wc11.1 only. A persistence error occurred. System message follows:Nested exception is: wt.associationRules.AssociationValidationException: Removing an association between "Change Notice - 00001" and "Change Task - 00001" violates the required role constraint of "Association Rule - PTC000007". The association is required for "Change Notice - 00001". Please check sample code as below : // Get change Task here..QueryResult changeActivityList = ChangeHelper2.service.getChangeActivities(changenotice);while (changeActivityList.hasMoreElements()) { //get ChangeTask objChangeActivity2 changeActivity = (ChangeActivity2) changeActivityList.nextElement(); //get Affected objQueryResult qr2 = PersistenceHelper.manager.navigate(changeActivity,AffectedActivityData.ALL_ROLES, AffectedActivityData.class, false);while (qr2.hasMoreElements()) {AffectedActivityData affecteddata = (AffectedActivityData) qr2.nextElement();ChangeHelper2.service.deleteAffectedActiv
Hello, I have an info engine engine task registered which will be called when an interface sends any content to Windchill. I have written my task xml to generate the wsdl, but I want to know the necessity of adding webjects in the xml, because even after adding/removing the webjects I am getting the same wsdl. Please provide your inputs on the need of webjects. Webject in my xml: <ie:webject name="Create-Group" type="GRP"><ie:param name="GROUP_OUT" data="feedback"/><ie:param name="DELIMITER" data="^"/><ie:param name="ELEMENT" data="output=<%=messageFromMyMethod%>"/></ie:webject> Thanks in advance. Regards, Sha
Good day, I would like to know whether it is possible to check for a duplicate Variant Specification in the Product Family Matrix Editor? When creating a new variant from the overloaded product structure using the Actions > Configure selection, the flow checks whether a similar/duplicate variant already exists. In the matrix editor it is however possible to allocate any component without validation? Appreciate the help. Thanks
Hi, Just checking to see if anyone else has experienced this before. I have mapped custom parameters in Creo to Windchill EPMDocuments and Part in the Type and Attribute manager. Now, when I check in an assembly from Creo the corresponding attributes get created/updated on the CAD Document as well as the WTPart in Windchill. However, when I check in a single part the corresponding attributes in Windchill only get created/updated on the CAD Document but all of the attribute values on the WTPart is blank. In all previous experiences the mapping has always worked on both assemblies as well as single parts. Anyone perhaps an idea of what I am doing wrong? Appreciate the assistance.
I'm able to create EPMDocuments through the API and through the EnterpriseHelper via a save-as but does anyone know the workflow to use when creating one from a Template stored in Windchill? The API documentation looks like we need to do the following: 1. Call EnterpriseHelper.service.saveCopy(RevisionControlled original) 2. Edit any attribute values on the object that we want to change 3. Call EnterpriseHelper.service.saveFromTemplateObject(RevisionControlled original, RevisionControlled copy) This workflow works and successfully creates an EPMDocument but it doesn't carry forward any of the data from the template. All meta data fields are cleared and the content is not copied (but this is ok because we don't care about the content as we'll be uploading new content any way) I'm assuming I'm doing something wrong or my understanding of the Java Doc is wrong but I can't find any other resources on how to do this. I've been able to use the above workflow and be
Hi All, I'm upgrading from Windchill 9 to 11.1 and I have a JCA / DataUtility customizion I want to convert using OOTB DataUtility ID inside Type and Attribute Manager, but it doesn't work. The customization consists in some soft attribute (eg: DocumentCategory_ETS) of a soft type (intra.elica.upgradesvil.ETS subtype of ReferenceDocument subtype of WTDocument) to be rendered as ComboBox. I followed all instructions and tips from Windchill help center and support cases. Following my code and configurations: 1) site.xconf <Property name="wt.services/svc/default/com.ptc.core.components.descriptor.DataUtility/ETSDataUtility/java.lang.Object/0" overridable="true" targetFile="codebase/service.properties" value="ext.elica.doc.datautility.ETSDataUtility/duplicate"/> 2) propagated value inside components.dataUtilities.properties wt.services/svc/default/com.ptc.core.components.descriptor.DataUtility
Hi, Just want to find out if someone has tried such customization before. We would like attributes to still be populated/edited from the Creo side but it should be read-only in the Windchill user interface. I have played around in Attribute manager but making settings read-only there then prohibits Creo from being able to save to Windchill. Appreciate your help. Thank you
How to set the target folder for part within a customized auto association? I read support article CS277056, there they talk about the EPMWorkspaceHelper.manager.setTargetFolder API. But when I tried to use it, it needs the new WTPart to be persistence, but on check in an error occurres with the message "The part is persistent!". When the WTPart is not persistent the setTargetFolder function gets a null instead of a object id and doesn't execute. I get the following error: Cannot set target folder for objects that are not newly created. 1 out of 1 objects are not new. Does someone have experience with it, and knows a solution? Because I want the new WTParts to be in the same context as the EPMDocument when changing folder for new EPMDocument but not in the same folder, so the preference 'Store New Parts with CAD Documents' is not a solution.
Hello We want to restict user login in another pc once he login in one pc it should be locked not able to login in another pc by that credentials. Regards,Dhananjay
Hello, Is there a way to export MPMOperations from one server and import them to another server? Thank you,
Hello, I want to add a custom button to the Windchill workflow task. I am not able to find any clear information on how to implement the button. Please provide your inputs/suggestions. Thanks in advance. Regards, Hari R
Hi all, In my case, I have a content link between CAD Drawing and WTPart. When CAD Drawing is revised , content link will be lost with the WTPart. I know that there is a preference in Org level to carry forward the content but it applies to all libraries. My client wants this logic only for few libraries and hence I may need code to achieve this functionality after revising CAD Drawing. Please suggest. Regards.
Hello,so i need to get all the items from a table, my method was to get the data with a custom Form Processor using the list of objectBean from the parameter of the post process method, but i figured out that i getting only a limited number of object depending of the scroll size of my table area. Do someone know how to fix that ? Get the list from nmcommandbean or increase the cache size in JS.Is there a mean to add JS in my tableBuilder to increase JS cache ? Thanks for your attention.
Anyone know of a way for atttribute B to use a truncated string of attribute A Attribute A = 12345-67-89 Attribute B = 12345
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.