Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Error message "RemoteMethodServer.invoke() called on default method server from within method server! Bad loopback code!" is displayed in MethodServer.log during part creation.Need a suggestion, to fix this Error message.I've attached the code snippet below for the reference, so pelase check it. Code Snippet:java.util.Iterator<CustomClassificationBean> iterator = getBean.iterator();while(iterator.hasNext()){CustomClassificationBean partBean = (CustomClassificationBean)iterator.next();userName = partBean.getUserName();}catch(Exception e){e.printStackTrace();}RemoteMethodServer remoteMethodServer = null;GatewayAuthenticator auth = null;Class[] argTypes = new Class[]{java.util.Vector.class};Object[] argList = new Object[]{getBean};auth= new GatewayAuthenticator();remoteMethodServer = RemoteMethodServer.getDefault();auth.setRemoteUser(userName);remoteMethodServer.setAuthenticator(auth);remoteMethodServer.setUserName(userName);responseData =(String) remoteMethodServer.invoke("cre
How can we automate purge files? Is there anyway to do it with OOTB
I have two lists of dynamic sizes containing child part numbers (first level BOM) of a part and its predecessor. I would like to print on pdf in the format of a table as shown below; list 1list 210031000100210021004 1005 The function I am using retrieves one list and populates the already created table using that list (itextPDF.PDFcell) See code snippets below;PdfPTable table = new PdfPTable(2);table.setSpacingBefore(8);table.setWidthPercentage(80f);insertCell(table, list1, Element.ALIGN_CENTER, 1, fa); // insert 1st columninsertCell(table, list2, Element.ALIGN_CENTER, 1, fa); // insert 2nd columntable.setHeaderRows(1);for (String value : list) {insertCellAll(table, value, fa); //insert rows} public static void insertCellAll(PdfPTable table, String text, Font fa) {// create a new cell with the specified Text and FontPdfPCell cell = new PdfPCell(new Phrase(text.trim(), fa));if (text.trim().equalsIgnoreCase("")) {cell.setMinimumHeight(10f);}// add th
As per this thread - same issue Hi rkumar, I too have the similar kind of need, where I need to fetch all the bom structure and get the custom attributes values that or on Usage link. Is there any way if i can get both the Link and wtpart or wtpart master? Let me know Thanks
I am using Windchill PDMLink Release 11.0 M010Action - Model - Second level navigation tabs in Windchill PDMLink
We have a custom utility to download the PDF representations. The usage of the tool must he captured and stored in Windchill audit record. For the usage of the tool, a custom event must be emitted and the details must be recorded in the audit log table in windchill Any suggestions ? Thanks, Srikanth
Hello...Been pouring over the community topic and looking at the customization guide... but need a little direction. I'd like to add a custom action to the promotion request objects table to download all secondary data for each promoted item to the users computer.I have found some code that I can use to help to that actual job... can anyone offer some guidance on what I'll be editing and how to successfully integrate it. I have set up the wtsafearea structure. Some pointers would be very very appreciated!
When clicking pdf file icon that is stored in PDMLink, error message like Unexpected server response appears and the pdf file is not shown on browser. Would you please let me know what is that cause and how to resolve it? I posted a question about that to PTC support but I received the answer that it is nothing to do with PDMLink function, and it is most likely to do that it is affected by user's PC setting and eventually I was not able to resolve it.I would appreciate your help(view in My Videos)
I need to export Classification attributes for Part in ESIResponse file. I want to do it a specific XML structure like: <ClassificationAttributes><ClassificationAttributeMapping attribute="width" value="20" units="mm"></ClassificationAttributeMapping><ClassificationAttributeMapping attribute="height" value="40" units="mm"></ClassificationAttributeMapping></ClassificationAttributes> How can I achieve this? Should I be adding more schema in ESIResponseMetaInformation.xsd and also in ESIResponseMetaInfo.xml? I tried to do following wherein: - Added more schema to - ESIResponseMetaInformation.xsd - Defined elements in - ESIResponseMetaInfo.xml - In adjustPartElement hook when I get hold of Element for Part, I get the IeNode from it and query for childNodes but don't get anything. I expected to get <ClassificationAttributes>. If I could get that then I can wrap it an Element and add Att to
We use a data utility to render Boolean attributes as check boxes in a document create page. The default value for all these Boolean attributes is no (unchecked) . In the same create page we have an attribute with a conditional constraint (select a certain value in the drop down list and another attribute in the page is set to Required). If a user makes selections for the Boolean attributes (checks one or more of the boxes) and then make a change to the conditional constraint attribute, the page is refreshed, and the Boolean attributes are unchecked (reset to default value). Is there a best practice for configuring this data utility so the Booleans remain as-is when the conditional constraint attribute is updated?
Hi All, We have an ECN which has few CAD Objects and we need to know the list of all those CAD Object numbers that are present in a workspace and the workspace name and CAD Object modified by details.Can we get the API or code for this. If yes please do share the same
Hi All,We release our customization as part of Sprint and deploy as part of DevopsWe tag our release with a release numberHow I can add this information to Windchill so that when I run the command windchill version, I can see our customization release number
How do I get a soft copy of Common Business Object(CBO) schema(XSD) that Windchill PDMlink ESI uses to publish data to downstream systems ?
Hi all Is Navigate easy to configure/set up (Windchill 12)? I would like to be able to allow "simple" users (aka management) access to the windchill documents, such as reports, 3d parts and drawings. David
I am unable to use the Cascading Attributes functionality in 11.1 M020 because both of my attributes (ex: attribute1 & attribute2) are to be read from a list in a property file on the file system. I have an attribute1 that generates a pull down list of selections using a ComboxBox. Based on the selection for attribute1, I would like to dynamically update the pulldown list of values available for attribute2. I have looked at: CS138327 (returns an enumeration list but I don't see a way to relate attribute2 to attribute1's value) CS226468 (only returns a string, so unable to create a pull down list) I have tried using a ComboBox and the addJsAction method but it looks like this will not work in 11.1. Any ideas on how one would go about implementing this in 11.1? Thanks for your time.Troy
Hello, I have a requirement where I need to update a form variable with the value which the user has selected in the Design Attribute page. This needs to happen as soon as the user clicks on Next button in the page and moves onto Define Implementation Plan page. Please provide your inputs on how it can be done. Thanks,Hari
Steps Performed:1. Written Form Processor by extending "EditWorkableFormProcessor".2.a) Expanded Product Family Structureb)right clicked on Variant Specification Objectc)checkout d)edit3. Observationsa) In the URL, instead of custom form processor(FP), OOTB Form processor is called which is "EditWorkableFormProcessor".b) Action called is "editFamilyMemberGWT".c) Working when we go outside the structure, i.e., information page of the Variant Definition and perform checkout and edit.
Hi All, In Windchill 12 below are the Deprecated API's and any alternative API's available ? 1) The field FormResultAction.FORWARD is deprecated2) The field FormResultAction.JAVASCRIPT is deprecated3) The field FormResultAction.NONE is deprecated4) The field FormResultAction.REFRESH_CURRENT_PAGE is deprecated -5) The method setNextAction(FormResultAction) from the type FormResult is deprecated6) The method getJavascript() from the type FormResult is deprecated7) The method getNextAction() from the type FormResult is deprecated😎 The method setURL(String) from the type FormResult is deprecated
Below APIs are deprecated in Windchill12. Are there any alternatives for these? Please suggest. 1) The field FormResultAction.FORWARD is deprecated2) The field FormResultAction.JAVASCRIPT is deprecated3) The field FormResultAction.NONE is deprecated4) The field FormResultAction.REFRESH_CURRENT_PAGE is deprecated 5) The method setNextAction(FormResultAction) from the type FormResult is deprecated6) The method getJavascript() from the type FormResult is deprecated7) The method getNextAction() from the type FormResult is deprecated 😎 The method setURL(String) from the type FormResult is deprecated
We have custom BOM report page which by default shows only the first level of components. However, on the page the user is given the option to expand the BOM to any available depth. To display the available number of levels, the program needs to find the total number of levels. This is quite heavy on a big assembly, and many times unnecessary when a user wants to see the first level only. I wonder if there are better ways to get the total depth of a given assembly without walking the whole product structure tree.
How to load Classification structure using csvmap file in windchill 12
Hello everybody,I need to retrieve the primay item of a baseline. According to the support, there are no APIs to set or retrieve the primary item.Is there the possibility to write an ad hoc query?Do we know where to find this information?Is the information that identifies the primary item on a link between the baseline and the item?Thank you
Hi All,We have one folder "Released Drawings" which is been accessible by processing, manufacturing, supplier. It has Read & download access. We want the pdf drawing published by the worker to automatically dumped in Released Drawing folder.What steps we may need to take.Thank you in advance. Regards,Durga.
How to grey out "delete row" option in family table. Any configuration/customization available to do?
Does anyone know why our windchill installation would redirect to hostname.com/Windchill/app/ when going to hostname.com/Windchill/? We are trying to implement a webject and I believe this is causing a signin issue.
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.