Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello gurus, I can not find a solution for specific GWT table refresh after the Wizard is completed. The FormResult is defined in my own Processor that works perfectly. I attached video where the refresh is not done and I'm looking for a solution how to do so same as check-in operation does. (view in My Videos) I need to refresh the gwt table but I can not find solution. I use following article but it does not work as I expect. FormResult.setNextAction() - CS122493 //(FormResult) result.createAndAddDynamicRefreshInfo(latestWTP, oldWTP, NmCommandBean.DYNAMIC_UPD); FormResult.setNextAction() also does not work as I would like or I didn't find correct javascript function to do so. Any suggestion? PetrH
I have created a new submodel under "New" menu and want to give it a display label.Written a resource bundle class like this:-package actionFramework; import wt.util.resource.*; @RBUUID("actionFramework.CustomAction")public class CustomAction extends WTListResourceBundle { @RBEntry("Custom Third Level")public static final String PRIVATE_CONSTANT_1 = "object.custom_third_level.description"; } objecty.custom_third_level.description:- Can you tell from where does it fetch the value of description..so that that value appears as label in an action model..?Do I need to define that somewhere? My label looks empty-
Hi, I am unable to see label when I create one action in Parts details page.Action is there, it is clickable and the link opens. But can not see the label name. I created CustomAction.java file in actionFramework packagepackage actionFramework; import wt.util.resource.*; @RBUUID("actionFramework.CustomAction")public class CustomAction extends WTListResourceBundle { @RBEntry("Open In Google")public static final String Google_Des = "custom.openInGoogle.description"; }
Hi All I want to configure a Custom Data Utility to populate the value for an attribute that will be displayed as a column in a Table View.I tried the getDataValue() and getPlainDataValue() methods of DefaultDataUtility and AttributesTableDataUtility but they are not getting triggered when the Table View with the Attribute column is rendered. It works only when the attribute is placed in a Layout.Any suggestion on how to achieve the requirement?@HelesicPetr
Here's an odd one. We just upgraded from Windchill 11.0 to 12.1 and one of the custom reports is not working. After some investigating, it appears that the report only works using the default XSL file "templates\reports\xslfo.xsl" for the custom URL. Changing the name to anything else results in a report not loading correctly. Anyone know what is causing this? I currently have a support ticket open, but progress seems to be very slow.
Hello, please tell me how to open the entire Windchill project in Intellij Idea to edit and compile files?
Hi, Myself Akash,here in Promotion Request, having set object state event that contains below expression (screenshot)this expression only setting to iteration which is added as a promotion Object, below iterations are still having same previous state. need API for set state all iterations in same revision of Promotion Object.
I've found how to retrieve them (CS130100) but I cannot figure out how to save the soft attribute value on the Part Uses Occurrence. Anyone have an example? Thanks.
Hi All,I'd like to extend the length of name field for WTDocument as business wants.OOTB its 160 characters need make it 300 characters.Any reference would be appreciated.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.1I have a custom windchill java class(contain code to fetch epmdocuments and its attributes). i m invoking this class from another class that has RemoteMethodServer RMI invoke code. All these files are deployed inside codebase location on windchill server.Now my question is,1. I want to call this java class(which has RMI invoke code) from another remote machine using a .bat script. So that I can execute custom Windchill class remotely. How can I achieve this?
Hi Community! We allow users to open tickets from the menu in Folders. How can I bring this ticket button to the Windchill homepage?When users want to open a ticket, I want them to be able to do this from the button on the home page.
Hi All,I'm trying to import a missing preference at Site level.followed article CS152142 it throws an below error:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 23; Document root element "csvPreferenceInstance", must match DOCTYPE root "null"==Referred to one of the article on community and used the below xml<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE PreferenceImpExp SYSTEM "standardX20.dtd"><PreferenceImpExp><PreferenceInstance><name>Part to Document Association Logic</name><clientName>WINDCHILL</clientName><value>Yes</value><locked>false</locked></PreferenceInstance></PreferenceImpExp>=this also throws below errorCannot import "Preference Instance" "Part to Document Association Logic" as there in no matching preference definition with name "Part to Document Association Logic". any help would be appriciated.
How can I invoke/run the custom Windchill class(deployed in Windchill home directory) from a batch file(.bat) in another (remote) machine?
Hi, Am I able to add an custom IBA to the Promotion Target? Like the field promotion comment: (in the red column should be a custom IBA) Maybe I can customize it via code?
How to get object identifier of workflow object on windchill object in 11.0 Ver ?if we just enter a part / document number , we should be able to see workflow process assignment , creator details , etc .? what exactly is missing is the how to get object identifier of any process associated with the object ? since if that is done we can fetch other details probably .
I need to create action on this table.I have tried to check which OOTB table builder its using and want to override that.After enabling debug mode I couldn't see any OOTB table builder for this parts action.Kindly help me with creating action on this table.
Hello, I am facing an error when trying to cast version reference to Object Reference. The error is -java.lang.ClassCastException: class wt.vc.VersionReference cannot be cast to class wt.fc.ObjectReference (wt.vc.VersionReference and wt.fc.ObjectReference are in unnamed module of loader 'app') The code is-String oid = (String) request.getParameter("oid");final ReferenceFactory refFactory = new ReferenceFactory();final ObjectReference reportRef = (ObjectReference) refFactory.getReference(oid); Kindly suggest on how to resolve this,Thanks
Hello We want to move our old project data from windchill 11 to 11.2.1 .how we will move. Please suggest. Regards, DHANANJAY
Hello, I need to create a link between operation and part with MPMOperationToPartLink. I used the method com.ptc.windchill.mpml.processplan.operation.MPMOperationToPartLink.newMPMOperationToPartLink(MPMOperation operation, WTPartMaster partMaster) howeveran error message apears that ComponentIdPath is null. How to set ComponentIdPath? which parameters in the operation or the part are needed to create such link? Thank you.
I have a custom tab to show part instances. I want to assign serial numbers to customers and added an attribute to do so, but I can't show those values in a column under part instances. Is there anyway to add the column to the menu?
Hi Community; When I search to add participants in the Set Up Participants table, it gives a "No Result Found" warning. How can I show Windcihll users in the search when adding participants. How can I fix this situation?
We have wrote a html code to upload file as follows: <h3>File Upload</h3><form action="UploadServlet" method="post" enctype="multipart/form-data"> <input type="file" name="file"> <button type="submit">Upload File</button></form> Need code in UploadServlet.jsp to fetch the document and attach it to the secondary attachment of the current wtDocument. Thanks!
What is the use of Related Parts step in Create New Part Request Wizard?
Hello Community,I wanted few diagrams or pictures that represents the below links in Windchill. If any of you has anything on the same, requesting you to share it. Link Objects: WTPartReferenceLink, WTPartDescribeLink, EquivalenceLink, Owner, Calculated, Image, WTPartAlternateLink, PartSubstituteLink Thanks.
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.