Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I added the part and its associated Cad object into the workspace, I did checkout and check-in, I need to remove the object from the workspace programmatically which I added. Issue: - I am unable to remove the objects from the workspace. Please suggest some ides to achieve this.
WTPartHelper.service.getDescribedByDocuments(wtpart); This API return a older iteration of EPM associated with it. Example : part123 B.7 has associated EPMDocument epm123 B.7 but it returns epm123 B.5 Why so?
Hi All, can we know if there is any code or API to know certain version of object is published or not ? Or can we know if there is an API to know if the object is published or not so that we can then publish it ?
Hi All,Can we add a timestamp on the primary attachment been downloaded. How can we achieve it?Any references would be appreciated
Version: Windchill 12.1 Use Case: API to update the display name of the attributes in a softype. Description: API to update the display name of the attributes in a softype. Anyone can help.
Hi Team, I'm trying to achieve a routing based on attribute value.Scenario.Depending on the context name in which ECN is created it should take the defined routing path.Tried referring CS129817, unable to get thourgh.Any references /help would be appreciated
Hi there, This post is less a question but more a "info" message. The problem Some years ago, I was looking for a solution to display on a promoted drawing, who approved the PR.There are several methods to get this done.You can run plugins from third party companies, which either set a value in a database or insert that information to drawings via a PDF watermark.You can use "alias attribute mapping" ( https://www.ptc.com/en/support/article/CS131355 ), which unfortunately could not be implemented to drawing according to https://www.ptc.com/en/support/article/cs260828 .There have been product ideas to get this functionality to Windchill.At last, PTC implemented this (so I heard) From Windchill 12.1.2.0 ( https://www.ptc.com/en/support/article/cs140710 ).Unfortunately, upgrading Windchill is not an easy task (especially for smaller companies, it can get really pricey ). Those plugins also come with a certain price tag. Luckily, I found a way to implement this function
Version: Windchill 13.0 Use Case: Trying to implement validation on submission of rename wizard if name is already presentDescription: Trying to implement validation on submission of rename wizard if name is already present but not working
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
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.