Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, I would like to know how to add a custom button in the user interface next to the "Quick link" button.The button must then be able to execute Java code developed by me.How can I do it?
Hi There,I want to call a custom form processor for an OOTB psb action(new promotion request) from part structure page. If anyone has idea on how to achieve this , kindly help.
Version: Windchill 12.0 Use Case: We need to get a process plan based on the process plan number and filtered by a navigation criteria. The Swagger API allows to do that by using the searchObjects Web service. However, there is, to my knowledge, no web service allowing to do that in OData. Is there a way to do this using OData web services?Description: We have some process plans (com.ptc.windchill.mpml.processplan.MPMProcessPlan) that are linked to a WTPart (via a com.ptc.windchill.mpml.processplan.MPMPartToProcessPlanLinks). The main goal is to get all process plans linked to a specific part, filtered by a navigation Criteria. The way we do it right now is that we use the searchObjects Swagger web service to get all the MPMPartToProcessPlanLinks linked to the part, and then for each number returned by this service, we use the searchObjects Swagger web service again with a navigation criteria as input and finally we check if the oid of the ProcessPlan returned by th
I'm looking to download a zip from my windchill server(temp location) to the client machine.The zip was actually created as a result of an custom action.So basically, when I click on the action a zip should get downloaded, that's my requirement.Please suggest me your ideas or share me any existing solution.Many thanks in advance.
Version: Windchill 12.1 Use Case: In Windchill we have jsp page with code for License validation boolean is3DLicenseUser = FormatHelper.parseBoolean((String)request.getParameter("is3DLicenseUser")); which could be easy customized to boolean is3DLicenseUser = true; Is it Illegal to do customization like this?Description: Do we have any document what type of customization legal for Windchill? Another example, I have jsp in Windchill with some specific license check.Could I update this page, for 51% and use customized whithout license check?
Version: Windchill 13.0 Use Case: Regarding customizing encryption filter while content download, followed steps provided in PTC help. Configured filter and copied example code provided for testing. link: https://support.ptc.com/help/windchill/r13.0.2.0/en/?_gl=1*1prq0ko*_gcl_au*MTkyOTM3MjM4MS4xNzI5NzgwODAz*_ga*MTYyODg0MDQ0OC4xNzA2MTIxNTAy*_ga_7NMP2MSYPM*MTczMTk4OTIwMS4yNTAuMS4xNzMxOTg5MjAxLjYwLjAuMA..*_ga_CBN5QVB9VJ*MTczMTk4OTIwMS4zNDUuMC4xNzMxOTg5MjAxLjAuMC4w#page/Windchill_Help_Center/customization/WCCG_Serv_ServletFilter_ForContentDownload.html#Description: I am able to download file and file size is more or less same as original.However, getting error while opening downloaded file.Refer attached images, First getting below error (see error-msg1.png)"Word found unreadable content in 'Test 0002.docx'. Do you want to recover the contents of this document? If you trust the source of this document, click Yes."and then word is unable to recover file and getting below erro
I developed an application in C# that retrieves information through a REST API from attachments, references, WTUser, and representations based on the EPMDocument idA2A2, except for WTUser. Later, I started encountering timeout issues with these APIs. The interesting thing is that when I switch the method server console to full screen, the timeout problem disappears, and this only happens with the APIs I mentioned. There are no issues with connections like WTPart. Is the reason for this that I am trying to process these APIs consecutively, or is there an issue with a setting related to EPMDocument in Windchill? Because, as I said, when I make the method server full screen, the timeout problem goes away. Should I try restarting the server?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.0I have added an IBA attribute (string type) on both WTPartDescribeLink and WTPartReferenceLink. I can view it but a can't change his value.I can't change the interface so that it shows me the attribute when creating the link WTPart-WTDocument
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
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.