Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello Everyone, I need to be create barcode according from a attribute of a part. I have find out some javascript tools to do it, but i am not sure that i can add on windchill page. Thanks in advance!
Hello everyone. Please tell me how to get the structure of the part and all the nested objects (drawings, documents)? I tried the following solutions: https://community.ptc.com/t5/Windchill/infoengine-query-related-CAD-documents/m-p/47381 https://community.ptc.com/t5/Windchill/webject-question/td-p/403122 But I was able to get only a structure of parts without nested objects
Hi All,Trying to achieve one requirement.Have a WTPart with number "2005", this is standard raw material, say " 50x50x2 MS Angle"I'd creating multiple CAD , say"3" for same raw material with different length as per requirement.Now I'm attaching all the 3 CAD files with same WTPart because it would be pushed in SAP post which Purchase, stores, other departments would use this for planning and purchase.The same WTPart is been used in multiple sub-assembly.For each sub-assembly the CAD consumption is different.The challenge facing is user should be able to select specific weight against each consumption in structure.Currently I'm getting values of all connected CAD.Any solution for the same appreciated.Attached is the snapRegards,Durga
I want to get all Global Enumerated attribute list. I am able to get list of Particular object but I want to get full list without specifying any object.
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS20After rehosting a productive system I want to delete all Workspaces of all users to be prepared for using the WindchillBulkMigrator (Merge systems to Windchill 12)Is there any possibility to not do this user by user over UI as described by CS49327? Any SQL command or Batch available?
Hello,In Azure DevOps we develope our Firmware software. Our intention is to manage the released builds in Windchill (WTPart). For that we are looking for a standard interface. Does PTC offers such a standard interface between Azure DevOps and Windchill? If not, alternatives?Thanks!Kurt
I've added a custom subtype to Document called MyDocument. It has three additional string fields. I'd like to create a batch of MyDocument in the same or similar way I can create a batch of documents by POSTing to /Windchill/servlet/odata/v5/DocMgmt/CreateDocumentsI've tried to post an array of MyDocuments to the above endpoint that look like this:'Title': "Default Title",'Number': var.document_number,'Description': "Default Description",'Name': var.document_number,'@data.type': "#PTC.DocMgmt.MyDocument",'CustomAttrOne': var.customOne,'CustomAttrTwo': var.customTwo,'CustomAttrThree': var.customThree,'Context@odata.bind': `Containers('${var.containerId}')`,'Folder@odata.bind': `Folders('${var.folderId}')`,'Thumbnails@odata.bind': [],'SmallThumbnails@odata.bind': [],'Attachments@odata.bind': [] But I'm getting a 400 rejection. In fact, I get a 400 error any time I try to set the @data.type field. I've tried dropping the leading pound symbol, using the PTC variant, and my c
Hi everyone, We have configured the SSO (PingFederate) solution with Windchill PDMLink 11.1 using OpenID Connect protocol (OIDC). We have enabled it at Apache (version 2.4) level by protecting all the resources with the mod_auth_oidc module on RHEL7 server. All works fine, we have succeeded to login to Windchill application, DTI, and CAD tools with SSO but we are not able to call Web Services REST (OData and customized endpoints) and SOAP (Info*Engine) as before with basic authentication. We tried also to call the Web Services APIs with an access_token following the OpenID Connect flows (like client_credentials and password) but it did not work, the response is always the SSO authentication web page that means the user interaction is required for this process. Another point, how to allow administrators users (like wcadmin) to access Windchill without SSO?Does anyone accomplished this before or have any suggestions to solve those problems? Thanks in advance.
After restore database in MSSQL we need to change user, schema and database name as per lower environment.we didn't found any solution on this on PTC Support.in oracle database we have solution for this while doing import database but mssql I didn't find any solution.
As part of Automation need to deploy below build.xml through Azure Devops release pipelinebut getting following error same has been tried in system as well but the result is same Note : with windchill shell its working fine. Buildfile: D:\test0719\build_S2_W6.xml********************************************************************************!+! STARTED @ Tue Jul 19 10:45:59 UTC 2022********************************************************************************[import] Didn't locate Windchill at or above build file's directory. Searching environment and System.properties...[import] Using environment's wt_home variable--------------------------------------------------------------------------------!+! ENTERING Simple Change Installer[D:\test0719\build_S2_W6.xml]--------------------------------------------------------------------------------********************************************************************************!+! FINISHED @ Tue Jul 19 10:45:59 UTC 2022!+! Log: D:
Hi all,I want to define a custom log file in Windchill 12, where I want to log messages into instead of into MethodServerLog-file.The message-level should be given as INFO.I tried the following changes in log4jMethodServer.properties:...appender.zfLogFile.type = RollingFileappender.zfLogFile.name = zfLogFileappender.zfLogFile.createOnDemand = trueappender.zfLogFile.fileName = ${sys:wt.logs.dir}/zf/zf-${sys:wt.jvm.startTime.formatted.short}-${sys:wt.jvm.id}-log4j.logappender.zfLogFile.filePattern = ${sys:wt.logs.dir}/zf/zf-${sys:wt.jvm.startTime.formatted.short}-${sys:wt.jvm.id}-log4j.log.%d{yyyy-MM-dd}_%iappender.zfLogFile.layout.type = PatternLayoutappender.zfLogFile.layout.alwaysWriteExceptions = falseappender.zfLogFile.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS}{${timeZone}} %-5p [%t] %c %X{user} - %m%ex%nlogger.extLogger.name=zfLogFilelogger.extLogger.level=INFOlogger.extLogger.additivity=false...But this doesn't work, the file under ...\logs\zf\<filename> is not created.Onl
is there an ootb API to compare and get result of differences as we do under 'History' tab?here is an API but how to parse the last value?WTPartHelper.service.getMultilevelBomCompare(it1, cSpec, it2, cSpec, 0, null);
Dear all, I wonder if anybody has an experience with the Odata Event Management Domain. Is there a possibility to subscribe to a specific subtype of an object? Something like subscribe changes on all Manufacturing Parts or subscribe changes on all objects which has specific attribute value? Thanks in advance,Xolomon
Hi, We have a use-case where we have added some custom attributes in Windchill. We retrieve the values against these attributes using Query-Objects webject , like so <ie:webject name="Query-Objects" type="OBJ"><ie:param name="instance" data="${@FORM[]supporting-adapter[*]}"valueSeparator=";" delim=";"/><ie:param name="attribute" data="name,Class" delim=","/><ie:param name="group_out" data="objects"/></ie:webject> This works fine with almost all attributes, however, if the attribute Name is "Class", it returns the class-type of the object and not the actual value. e.g.TestPart Class: "ABC" Returned Value: WCTYPE|wt.part.WTPart|local.eQVM.TestPartExpected Value: ABC Is there a way we can mask/escape class attribute Name to get expected Data?
Experts,Need to add a couple of custom column (for custom attributes) in the where used tab.Pl help,Thanks,Ravin Kayasth
I want to get Enumeration name based on attribute name and update the enumeration value list.
Hi all, when calling the following odata service from Thingworx, we only get a limited resultset of 25 records: https://servername/Windchill/servlet/odata/v4/ProdMgmt/Parts Within the resulting JSON, a link is provided to fetch the next 25 records: "@odata.nextLink": "https://servername/Windchill/servlet/odata/v4/ProdMgmt/Parts?$count=true&$skiptoken=25" How could we get all parts available in the Windchill system? Thanks, Jürgen
Hi All,I'm trying to achieve attribute-based numbering for a EPM document via OIR.Followed CS284109 was able to achieve for WTPart however trying for EPM is not working.Is any more configurations need to be done so that it works in EPM as well.If anyone has tried out or knows the solution please do let me know.Thanks in advance. Regards,Durga
Windchill's insistence on showing the latest version of an item, even if that latest version is unreleased, is causing issues with my end users. I want to make it easier for them to tell if the version they're looking at is released or not by changing the way the In Work status displays on the item master. Ideally, I'd want the Go To Latest indicator to be linked to released revisions only, and to NOT point to an in-work version of an item. But if that's not feasible, the next best thing would be to change the way the In Work displays -- change the font color, for instance, and make it red; change the font size to make it more visible; change the "In Work" display to instead read "Unreleased".
I have added this but not working ColumnConfig c6= ccf.newColumnConfig("infoPageAction", true); //for i buttonc6.setInfoPageLink(true);c6.setDefaultSort(true);tc.addComponent(c6);
Hello. I am trying to find the specific revision of an object(WTPart/WTDoc). For instance, if I pass in 0.3 or A.1 can I have an api that returns that specific part revision? I am not looking for the previous version just the specific one in the history
I am trying to retrieve the predecessor version (A.1 -> B.1) of a part. Current solution using VersionControlHelper.service.predecessorOf(part) only returns the previous iteration not version. Is there an api or a specific way to retrieve the previous part object?
Hi All,I want to enable debug loggers in our code, But when we started updating whole package we end up, having huge amount of class files , Is there any way to implement the logger so that it automatically prints the input and outputs automatically. Like @Loggable from spring-aop@HelesicPetr @manoj_dokku2
For suppose if i have many workitems and they are assigned to multiple users. can i get the users and workitems data like below? Map<WTUser,Set<WorkItem>> Key will be WTUser and Set of WorkItems as value. @BjoernRueegg @HelesicPetr
Im trying to get all the change activities assigned to workitems.@BjoernRueegg , @HelesicPetr
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.