Windchill
Recently active
I am using Windchill PDMLink Release 10.1 and Datecode with CPS M010 Due to business needs, we customized a button to rename documents. In the code logic called by this button, we temporarily set the session user as an administrator through SessionHelper.manager.setAdministrator, and then execute the renaming API - WTDocumentHelper.service.changeWTDocumentMasterIdentity, but the code execution reports a permission error.According to our understanding, the administrator should have the authority to rename the document. So we are very confused, can you help us solve this problem? Thank youHere are the errors that I faced 2024-06-24 10:23:13,314 INFO [ajp-bio-8010-exec-1] wt.system.out user2 - CommonUtil.java.3163: 重命名失败!Message: Resource bundle/Message key = wt.vc.vcResource/55 2024-06-24 10:23:13,325 INFO [ajp-bio-8010-exec-1] wt.system.err user2 - (wt.vc.vcResource/55) wt.vc.VersionControlException: H-ZJ-188, JSZJ_00087886 可能不允许更改其标识。只有当此项未被检出并且您具有所有版本的 修改 权限时,才可以
How can I add a new master attribute to Edit Common attribute layout or wizard? For WC 12.0
Hi Guys,Why cascading attributes is not updated in the More Attributes Info Page Layout, but whatever I create that cascading is updated in the Create page?Note: Can we hide in the More Attributes Info Page Layout? Regards,AJ
'ABC' part attribute is a boolean type. It is not present in every json if it not having true/false value. So I couldnt use this attribute in $select query to minimise the execution time. Instead of using 'ABC' Attribute in select query, I need a filter query to get json only if have WcControlledBOM attribute in every Part Json
Hello Everyone, I'm working with Windchill 13.0 and need to add a simple action button to the Windchill interface that can call my custom API functions. Here’s what I want to achieve:1) Add a button to the Windchill UI.2) When the button is clicked, it should trigger a JavaScript function that calls a Windchill OData API.Here’s an example of the API function I want to call(will be using a java version of this function): async function getParts() {const apiUrl = "http://windchill.gosaas.io:80/Windchill/servlet/odata/v6/ProdMgmt/Parts?$count=false";const username = "ahsan";const password = "Tartan123";const basicAuth = 'Basic ' + btoa(username + ':' + password);try {const response = await fetch(apiUrl, {method: 'GET',headers: {'Authorization': basicAuth,'Content-Type': 'application/json','Accept': 'application/json'}});if (!response.ok) {throw new Error(`HTTP error! status: ${response.status}`);}const data = await response.json();return data;} catch (error) {console.error(
Version: Windchill 12.0 Use Case: we just rehosted windchill to a new server. But when trying to login it gives a license error. But when logged in as admin I can see users have licenses assigned to them.Description: After rehost windchill won't let users login saying they don't have a license assigned even though they do.
When create a custom view on structure tab by 'Manage structure views', I am not finding Manufacturer name or vendor name to show suppliers of AML/AVL in select column display tab. I am using Windchill 12 OOTB. Is it something restricted in WC12? As I used the same in 11 OOTB and the columns were there for selection in views.
is it beacuse I am not able to run windchill directory server although I am providing correct details onlyRegards,lavkush.
Version: Windchill 12.1 Use Case: I want to search the process plan by number using Windchill's global searchDescription: I already checked the optional attributes types for the search and the Process Plan is not there. Is there any way to add it, maybe through an xml file or something like that.
Version: Windchill 13.0 Use Case: A checked-in CAD document in Windchill not retrieved using the ODATA REST API.Description: Hi,I'm new to the REST API and I'm trying to get a checked-in CAD file using the ODATA REST API.I'm using the swagger interface: The Get Documents method in the CAD Documents section, but all I get in the JSON response are the template files and not the file that I checked in.Why can this happen and how can I fix it?Thanks!
is it possible to create a preview for a document e.g. (PDF). This would be similar to a preview for CAD documents.
Hi, to execute jasper report from input jsp page I am using the following API- ReportHelper.manager.getThirdPartyReportExecuteUrl(reportRef,parameters); Here, the reportRef should be of type ObjectReference and should refer to a Windchill report object. However the object that I get from the jsp page using the request.getParameter("oid") is of type WTDocument. Now, when I try to send this object in the above API , it gives the error-java.lang.ClassCastException: class wt.doc.WTDocument cannot be cast to class com.ptc.windchill.enterprise.report.Report (wt.doc.WTDocument and com.ptc.windchill.enterprise.report.Report are in unnamed module of loader 'app') Kindly suggest on how to resolve this.Thanks,Ramsha
Hello, for one of my customers I've created a wizard step with some change validation info.the data is arranged in a flat tree structure which is displayed in the treetable component.See attached example screenshot.One requirement is that non "green" checks are auto expanded for the user. I tried to implement it as described in the customizers guide, but so far no luck. The TreeTable component uses a custom AbstractConfigurableTableBuilder with an custom ExpansionStateManagerthe table config looks like this JcaTreeConfig treeCfg = (JcaTreeConfig) factory.newTreeConfig(); treeCfg.setDataSourceMode(DataSourceMode.DISABLED); treeCfg.setType(Object.class.getName()); treeCfg.setTargetObject("origObject"); treeCfg.setComponentMode(ComponentMode.VIEW); treeCfg.setActionModel("tcw tcwValidation table"); //treeCfg.setMenubarName("tcw tcwValidation table"); treeCfg.setId(TCW_TCWVALIDATION_TABLE_ID); treeCfg.setLabel(WTMessage.getLocalizedMessage(TCW_RESO
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M010 Product team page, no content displayed Here are the errors that I facedThe nested exceptions are: wt.util.WTRuntimeException: wt.org.OrganizationServicesIEException: javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesis; The nested exceptions are:wt.org.OrganizationServicesIEException: javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesisat wt.org.LdapServices.queryUserByRdnAndCheckIfUserNamesMatch(LdapServices.java:742)at sun.reflect.GeneratedMethodAccessor681.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)at com.sun.proxy.$Proxy47.queryUserByRdnAndCheckIfUserNamesMatch(Unknown Source)at wt.org.StandardOrganizationServicesManager.autoReconnectUser(StandardOrganizationServicesMa
I believe that I need to use sub-select on my report.I am creating a report that counts the number of released parts per ECN.The report needs to list attributes related to subtypes of Parts in my organization.It causes multiple lines since for each subtype there will be a new column for the attribute...I understand that If I use sub-select, I can run the query and concatenate the result in a way to have the attribute in a single column.
Version: Windchill 12.1 Use Case: I have a Family Table that an Instance that is at a later date than the Generic.Description: I have a Family Table that an Instance that is at a later date than the Generic. I am not able to update the FT to bring both the instance and Generic to the latest iteration together. How can I fix this FT? The -.52 Generic references the -.2 instance.The -.51 Generic references the -.3 instance.
When doing "save as" in Creo, a new windchill partnumber is reserved. When one now selects the "step-file" format. The old partnumber is reused. The reserved partnumber, is now gone forever. This partnumber is not reused. it is just gone.The same problem happens when copying partsSuppose I have an assembly with 500 parts. Now I want to make a copy of this assembly. In this copy I want to change one part. This theoratically should require only 2 new part numbers. One number for the copied assembly and one new number for the changed part. However, Creo / Windchill will first reserve 501 new part number. Of this I will use 2 new part numbers and 499 of the old ones. Now the problem is that those 499 partnumbers are un-used and lost forever.We are now running windchill for 4 years and have 2 active users. With the two of us we have created about 60.000 partsnumbers. Most of those are not used. This is getting silly.Is there a way / setting where the partnumbers get only reserved if they ac
Version: Windchill 12.1 Use Case: Good day. I am new to Windchill and I need help with a report that can give me the time and date of when the state changes for a document. For example when I create a new document it is a revision A.1 in a state of "in work". After a few days it is changed to a revision B.1 and changed to a state of "under review". I need a report that can give me the time and dates of all these event changes.Description: Good day. I am new to Windchill and I need help with a report that can give me the time and date of when the state changes for a document. For example when I create a new document it is a revision A.1 in a state of "in work".After a few days it is changed to a revision B.1 and changed to a state of "under review".I need a report that can give me the time and dates of all these event changes.
Version: Windchill 12.0 Use Case: During our promotion request, the process flow is stuck at "set to superseded". Our fix is to contact the user who has the previous release uploaded to their workspace to delete the objects from their workspace on the server side. I then have to contact our IT to search for the workflow from the queue manager for them to do a reset. This is very tedious and time-consuming.Description: On our promotion request, the previous release is set to superseded once the latest object is approved for release. However, if the previous release is "uploaded" to the server side, it is considered as a "private checkout" The system can not change the state when it is "checked-out". Site admin access is required to reset the workflow after the objects have been removed from the server side. I am searching for a workaround, or a solution to bypass this behavior. In my opinion, the system can differentiate the "checked-out vs
I had an issue I opened with tech support. The overall sourcing status was showing No AML but I did in fact have AML/AVL data for a particular part. It turns out the OEMPARTAXLCONTEXTLINK table had no entry. Still investigating as to how this occurred but this query showed the extent of the issue. I will close this thread with a summary of how we think it was caused. SELECT m.wtpartnumber, A.IDA2A2, a.amlpreferencedata, a.avlpreferencedata, o.oempreferencedata FROM WTPART P, WTPARTMASTER M, oempartaxlcontextlink O, AXLEntry A WHERE p.ida3masterreference = M.IDA2A2 AND o.ida3a5 (+) = p.ida2a2 AND a.IDA3C4 = p.ida2a2 AND p.latestiterationinfo = 1 Where you have null entries for the OEMPREFERENCEDATA is where you have problems.
I want to define an overloaded CADBOM (150% BOM) for EPMDocument Product structure.What are the methods available in Windchill to achieve this using Options & Variants features? I know how to do this for EBOM(WTPart BOM).
Version: Windchill 11.1 Use Case: Replace the primary content of an existing creo drawing object with another .drw fileDescription: Is it possible to replace the primary content of a creo drawing object with another .drw file? We have drawing objects which just contain a pdf in WC11 but need the primary content replaced with actual CAD data from WC10. The only other options I have at the moment is overwriting the current object in WC11 or renaming the object from WC10 so there is no naming conflict. Neither have a desirable outcome as I don't want to lose the current history of the WC11 object and I also don't want to create similar duplicates
Hello community,Here in 12.1.1.0 Windchill workgroup manager. there is some model, that is saved in local computer. I opened that model in SolidWorks. It is completely savable file. SolidWorks have PTC Windchill tab, I used "Save to workspace" option to save in workspace. the file was saved and i did checked in to Library container.After checking in, I again checkout and open in SolidWorks, i see filename (read only) on SolidWorks window. when I am saving. it is not saving into workspace, and it is giving " this file is read only".I checked my access; I am having full control access on all the objects in library.I need to what is the root cause, why the files are changed to read only?Is there any preference for this cause?
I'm wondering if anyone has heard what specific date Windchill 13.0.2 will be released? The PTC Product Calendar month/year currently shows July 2024. It's been this way for a few months now. July is right around the corner and it would be nice if PTC would provide some transparency on when so users of their software can adequately plan for the upgrade.
Version: Windchill 13.0 Use Case: I'm trying to use pdmlink's family mpmlink. It is said that department data is used to store information about attributes related to the various functions of the plant, but in creating downstream, only the plant is created and no department is created.Description: screen shot---------------------------------------------------
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.