Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I have created a custom attribute on Part Describe Link (Line Number).Unable to find it in Part's Related Object.
I have written a separate xconf for data utility and I have register this custom xconf file in site.xconf as shown in below image and this my custom xconf file after I ran the xconfmanager -p the properties are not being updated in file.
I have requirement to get the TEXTBOX and Picker for IBA with plus button (IBA is multi valued) as shown below. When user clicks the picker icon it should open a custom JSP page where user enters some values. For a Singlevalued attribute I achieved the similar requirement through a TEXTBOX and a PickerIconButton API in a Data utility and rendered it by returning a GUIArray , but for multi valued attribute I'm not able to do this. Could any one please help me to achieve the above mentioned requirement.
Version: Windchill 12.0 Use Case: Windchill offers the following groups "Type Administrators" and "Attribute Administrators". What I would like to do is setup an employee who can edit types and attributes, without granting them complete Site Administrator permissions. Someone that can add a selection to the Legal Value Constraint of an attribute on the object.Description: For testing I setup a user with the type two groups, an advance license and the PTC Windchill Administrator profile and I have the following problems.1) They never see the Site icon selection2) I set the user as a Product Manager and get to Utilities, but it is a sub list of the utilities that does not include Type and Attribute Administration selection.3) If I try to access the URL to the Site Utilities page I get a 403 error ",..do not have permission to access thi s page."4) I removed the Advance License since I have the profile, but no change.5) I can access the Type and Attribute Administration page directly
Version: Windchill 12.1 Use Case: Consume the Windchill Rest APIs externallyDescription: I am looking for a client generator based on the EDM of the Windchill Rest Services. The Apache Olingo client has a pojogen feature, it is not working for the WRS EDM as there are some inconsistency in it.We have one from Microsoft but not based on JAVA. Also SAP is providing one which i have not used it.Has anyone tried create (or) use the client generator for the WRS ?
Version: Windchill 12.0 Use Case: I need to fetch the folder level access present inside a library. If I provide Username and library, then it should fetch what all access does the user have in that particular library container's folders. Please let me know if there's any API which supports this? I am using FolderAccess API but it is throwin below error. Error: Class not registered in modelRegistry.properties: com.ptc.core.security.folder.FolderAccess. ex: user might have read, download, modify access. I need to fetch these using api.Description: I need to fetch the folder level access present inside a library. If I provide Username and library, then it should fetch what all access does the user have in that particular library container's folders. Please let me know if there's any API which supports this?I am using FolderAccess API but it is throwin below error.Error: Class not registered in modelRegistry.properties: com.ptc.core.security.folder.FolderAccess.ex: user might have re
Version: Windchill 12.1 Use Case: Customize Action menuDescription: I would like to launch Multi-Level BOM report in Action menu of WTPart. In such case I added: <model menufor="wt.part.WTPart" name="more parts actions" resourceBundle="com.ptc.windchill.enterprise.part.partResource"> . . . <action name="psbReportMultiLevelBOMGWT" type="psb" /> </model> into custom-actionModels.xml file.After "Reload Action" such command is avaiable but report (new window) is not shown. What else should be done to launch report??
Reference topic - https://community.ptc.com/t5/Windchill/Report-to-list-WTParts-of-particular-view/m-p/96770#M11366 Hi @Marco_Tosin I have WTPart on 3.4 with design View And I have created a new view for the same object and that is on 0.1 Custom View . So is there any Direct API to get latest version/ Iteration of object based on View .
// Aktif oturum kullanıcısını sakla wt.org.WTPrincipal originalUser = wt.session.SessionHelper.manager.getPrincipal(); wt.pom.Transaction trx = new wt.pom.Transaction(); // Promotion Notice nesnesini alın wt.maturity.PromotionNotice promotionNotice = (wt.maturity.PromotionNotice) primaryBusinessObject; // Promotion Notice'in ait olduğu konteyneri alın wt.inf.container.WTContainer container = promotionNotice.getContainer(); wt.inf.container.WTContainerRef containerRef = wt.inf.container.WTContainerRef.newWTContainerRef(container); // Promotion Notice'e bağlı nesneleri bul wt.fc.collections.WTSet associatedObjects = new wt.fc.collections.WTHashSet(); wt.fc.QueryResult queryResult = wt.maturity.MaturityHelper.service.getPromotionTargets(promotionNotice); while (queryResult.hasMoreElements()) { Object target = queryResult.nextElement(); if (target instanceof wt.doc.WTDocument || target instanceof wt.epm.EPMDocument || target instanceof wt.part.WTPart) { assoc
PTC recomnds using WTSafeArea for customization Manaement and Deployment . However , It has it's won challenges of maintaining the integrity and sgility . It make the system more human Dependent. I am looking for am=ny other alternating approach to manage and maintain customization with CICD implementation to automate the whole deployment process .Please suggest
In change Notice workflow in Windchill: If Team Leader poses the question, engineer is getting task saying that he has a question and engineer able to answer. But challenging part is - he should go back to task to find the question. Instead, is there a way where this question can be taken forward with task such that user can find the question in the same task and answer it?
We have created FVA field "Test Suite document short Title" and added in Testcases type and we configured the same field in query. For some test cases its showing the Test suite document short title and for some its not showing. Please find the below screenshot for reference . Thanks and Regards, Chandan Prasad
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.11For Manage Choices Wizard, there is a table builder invoked in that wizard. That table builder contains Tabs in it namely, Alternative parameter value, option code, Status parameter value, structure section value. I want to reorder that tab sequence to-be generate after opening the wizard or want to customize such that always the option code tab will be opened at the first. Relative file: ato-component.js
Version: Windchill 12.0 Use Case: I have an Item Picker in my JSP Page where it will retrieve all the Change Notices's from specific context. Wanted to filter CN's based on State -> '(state=''IN PROGRESS') || (state='COMPLETE') Tried above condition but its not fetching the results based on State conditionDescription: <tr id="cnPickerRow"><wctags:itemPicker id="CNPicker" baseWhereClause="(state='IN PROGRESS')" showTypePicker="true" objectType="WCTYPE|wt.change2.WTChangeOrder2" componentId="cnPickerID" label="* CN Number" pickerTextBoxLength = "29" pickerTitle="CN Number Search" containerRef="<%=coid%>" pickerCallback="cnPickerCallback" multiSelect="false" displayAttribute="number"/></tr>
Version: Windchill 12.1 Use Case: I am working in a Java workflow Expression robot, on an EPMDocument. My end result is I need to create new translation packages based on what that document had been translated into in past versions and iterations. I have the Starting Document, and all version, and I have the target translation package. How can I get the actual TranslationLink object, and get the language attribute, or how can I get the language of the translated package?Description: I tried querying for the Translation link like this, but windchill indicates that source is not an attribute of TranslationLink. wt.query.QuerySpec qs = new wt.query.QuerySpec(com.ptc.arbortext.windchill.translation.TranslationLink.class); qs.appendWhere(new wt.query.SearchCondition(com.ptc.arbortext.windchill.translation.TranslationLink.class, com.ptc.arbortext.windchill.translation.TranslationLink.SOURCE_ROLE,wt.query.SearchCondition.EQUAL, epmDoc.getIdentity())); wt.fc.Quer
Version: Windchill 12.1 Use Case: I am looking for a way to initiate the creation of a translation package from a workflow. Is that possible? Are there any Java API's I can use to potentially do this in an expression robot?Description: I am looking for a way to initiate the creation of a translation package from a workflow. Is that possible? Are there any Java API's I can use to potentially do this in an expression robot?
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0I have a requirement to get the list of latest parent parts in which a child Part is used . I am using below API call to get the listQueryResult queryResult = StructHelper.service.navigateUsedByToIteration(part, true, new WhereUsedConfigSpec());In addition to this , I also need to get list of parent Parts in which a child part is used as a Substitute PartThe navigation would be like this to[Part Usage Substitute].from[Part Usage].fromI wanted to know if there is any OOTB API which would help to get this data ?Here are the errors that I facedNA
Hi there, I'm trying to obtain the options from a saved filter. "Choices" try { java.lang.String username = "testuser"; wt.session.SessionHelper.manager.setPrincipal(username); wt.filter.NavigationCriteria navigationCriteria = wt.filter.NavigationCriteriaHelper.service.getNavigationCriteria("MyFilter"); if (navigationCriteria == null) { java.lang.System.out.println("Filter 'MyFilter' not found or user does not have access."); } else { java.lang.System.out.println("Navigation Criteria Name: " + navigationCriteria.toString()); java.util.List<wt.filter.NavigationFilter2> filters = (java.util.List<wt.filter.NavigationFilter2>)navigationCriteria.getFilters(); if (filters == null || filters.isEmpty()) { java.lang.System.out.println("No filters found for the Navigation Criteria."); } else { for (wt.filter.NavigationFilter2 filter : filters) { java.lang.System.out.println("Filter Name: " + filter.toString()); java.lang.System.out.println("Filte
@satre-2 Hi Shreyas,Reference Topic - https://community.ptc.com/t5/Windchill/Check-for-Checked-Out-objects-in-the-Affected-Data-section-on-a/m-p/118248#M13997Do you have a similar example for release target rule? I am looking to setup Release Target rule in a Change Notice workflow similar to Checkout Rule you shared in the above post.
I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020 CPS30Dear Support Assistant Team!I tried to make this sample code work: https://support.ptc.com/help/windchill/r13.0.0.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_PLMServices_STEPPLMExportImport.html, but at the end I am not able to use it. I tried to export into STEP FORMAT AP242 with implementation method both 21 and 28 for OptionSets, Parts, CAD object, but all of them failed with "Problem in export/import process. Nested exception is: java.lang.NullPointerException". Can you help us to make this code work?Thank you in advance!Kind regards,Martin HerbertHere are the errors that I facedProblem in export/import process. Nested exception is: java.lang.NullPointerException
Version: Windchill 12.1 Use Case: How to get a custom User Picker datautility as object reference in advanced search?Description: PR Owner is a custom data utility, which gets string url of a WTUser and displays as a link in the UI.Is there a possibility to get this IBA as a user picker like the 'created by' , instead of a plain text field?
Version: Windchill 13.0 Use Case: my use case is ann app that connect to specific ws and export the Solidworks asm from ws to specific folder ( pure file system )Description: i have build a tk app that connect to specific server & ws and add to ws specific asm - in order to export it to file system folder.everything works smoothly beside the fact that the authentication window is opened, with the correct user name & password, and wait for approval...once i press the o.k button the app continue to work as expected and complete the entire process.how can i overcome this issue so the authentication will be completed automatically without human interaction ?
Version: Windchill 12.1 Use Case: collect document if parent is WTPart and child is WTDocumentDescription: Configurable Link Collection Sample UI I got the sample UI under WTPart Actions->Collect Configurable Links. I'm able to see the icons, but upon adding a WTPart and trying to collect WTDocument which is a child of this part, the collect icons do not work. Is there any thing I need to define for this type of link for the sample UI to work?
Version: Windchill 12.0 Use Case: My goal is to integrate Altium and Windchill. At the moment I am at initial stage. I have access to windchill test system. I have created sample parts and documents. Now I want to create ECAD document using REST API.Description: Hi everyone,I'm working on integrating Altium with Windchill and am trying to create ECAD documents (EPM Documents) using the Windchill REST API. While I've successfully created parts and documents, I'm struggling to find a suitable endpoint for creating ECAD documents specifically.I've explored the available endpoints and documentation but haven't found a direct way to achieve this. I'm wondering if anyone has experience with this or can point me in the right direction.Any guidance, tips, or code examples, document would be greatly appreciated.Thanks in advance!
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0I added a new resource bundle file (.java file extended from WTListResourceBundle ) , during customization.While trying to use resource bundle entries from the file into custom code , it fails with error .java.util.MissingResourceException: Can't find bundle for base name ext.ibm.resource.TFRRBusinessRuleResource, locale enHere are the errors that I faced- java.util.MissingResourceException: Can't find bundle for base name ext.ibm.resource.TFRRBusinessRuleResource, locale en
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.