Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 12.0 Use Case: We are implementing Windchill QMS modules and utilizing PTC QMS Domain API Version 6Description: Recently installed Windchill QMS packages via PSI on Windchill 12.0.2.13 We are unable to load the default QMS via the loadFile utility:"Invocation of wt.inf.template.LoadContainerTemplate.createContainerTemplate failed with the following argumentskey = TARGET_CONTAINER_KEY value = wt.inf.container.ExchangeContainer:3No objects were imported due to the error.Problem in export/import process.Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetExceptionNested exception is: java.lang.reflect.InvocationTargetException Error loading data from file.data file = <D:\PTC\Windchill\loadFiles\qms\QMSContainerTemplates_AUDIT.xml,D:\PTC\Windchill\loadFiles\qms\QMSContainerTemplates_AUDIT.xml>map file = <null,null>token separator = <null,null>method = <null,create>user = <null>Command line = <{User=, Password=
I Added all the part structure and its associated CAD into the workspace, i able to do checkout, but not the check-in.is there any api to do check-in the CAD Object in workspace.
Hello community gurus, Have you ever found an API to get structure filter definition? I haven't been successful. I need to read the structure filter definition in my own table but I can not find any possibility to do it till now. Any help or hint is appreciated PetrH
Hi all, I'm working on a Part request creation form and I need to find a way to create a composite attribute including * 1 text field (ie: manufacturer part name) * 2 objects references (ie: manufacturer and datasheet)Those 3 informations can be added one or multiple times Currently, I have defined 3 sets of 3 attributes inside a Document soft type, create a heavily customized version of WTDocument creation wizard, but I can't neither handle file attachment properly nor handle a fourth (or more) set of data. My idea is to have an extra custom object that store 3 different inforamtion and add a multi-valued attribute inside Document soft type to store it.Below a screen shot of current wizard (datasheet upload does not work) Thanks all for your suggestions.
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.6We want to enable confirmation pop-up (OK or CANCEL) by selecting reject routing option in workflow.Here are the errors that I facedHow to enable confirmation pop-up instead of warning message?
I have a Requirement like thisI need to update an existing WTDocument that is attached to a deliverable within a plan activity. The update involves the following steps:Replace the currently attached WTDocument with a new one.Set the newly attached WTDocument as the primary attachment to the previous WTDocument.Link the newly attached WTDocument as a child document to the previously attached WTDocument.Please help me solve this requirement.
Version: Windchill 12.0 Use Case: I have a requirement to create a Mutlivalued picker for a IBA in part creation page. When user clicks on the picker it should open the custom JSP page in which user enters some data , this data should get populated in the picker textbox and and need to get persists when user clicks finish .Description: I have created Picker using PickerInputComponent and MultiValuedInputComponent using datautility and returning the MultiValuedInputComponent from getDataValue method. I have encountered two problems with this approach . 1. Data is not getting persisted in the DB .2. when I clicked on Plus button it is rendering one more Plus button instead of minus button as show below.Please help me how to get the value persist in DB and and to get the Minus button. Below is the code I used : HashMap<Object, Object> pickerConfigMap = new HashMap<>(); ArrayList<AttributeInputComponent> listOfInputCo
Version: Windchill 12.0 Use Case: Iam trying to set up windchill Dev environment in eclipse. Description: As per Windchill customizers guide, when I follow the instructions after the File Sync set up., The Windchill Shell input is like this., D:/windhcill/windchill/bin/ant -f tools.xml eclipse_project I had seen the help before and executing the step "Run the eclipse_project task", which is above. The problem I face is : Instead of creating the "eclipse" folder in D:/windchill/ the script has created in D:/ It has created the folder D;/eclipse/cust_windchill_src My question: Before proceeding , I wanted to check if this is an issue. Awaiting your valuable guidance. Best Regards Hari
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
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.