Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi all,I'm trying to achieve to display the addition of weights of the child part onto the parent Part in the structure.Attached is the image of the same.Referred to CS228951 however that's not working may be I'm making some error.Any suggestions or references?Thanks in advanceRegards.
Need to query the WTDocument from the particular Organization, from WTDocument.class not from WTDocumentMaster.class. If I use WTDoumentMaster.class this is working but I need for WTDocument.class I've tried the code But having some issues, kindly let us know if any suggestions. exampe:Class Doc = WTDocument.class;Class ORG= WTOrganization.class;QuerySpec qs = new QuerySpec();int DOC_idx = qs.addClassList(Doc , true);int ORG_idx1 = qs.addClassList(ORG, true);SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");java.util.Date d1 = format.parse(screatedDateFrom);java.util.Date d2 = format.parse(screatedDateTo);Date dF = new Date(d1.getTime());Date dT = new Date(d2.getTime());Timestamp tsFrom = new Timestamp(d1.getTime());tsFrom.setHours(23);Timestamp tsTo = new Timestamp(d2.getTime());tsTo.setHours(23); SearchCondition sc0 = new SearchCondition(ORG, "name", SearchCondition.EQUAL, "ORGNAME1");SearchCondition sc00 = new SearchCondition(Doc, "organizationRe
Hi All,I have requirement like we can set the state of WTPart using either set state or Promotion request.But when the WTPart is connected with Particular document for ex. test.When WTPart will be connect with Test document then only the state of the part we can set as released.I can see have to change at two places one at set state action and one in promotion request.please provide your view on this how we can implement in easy way.Thanks .@HelesicPetr @VladimirN
Hi All,Which form Processor is getting call on set state action of WTPart?Can anyone please help with this
We want to maintain the same session across multiple requests to InfoEngine via Data Acess Object API. What we are trying to do is, call start-Session present in a task file, get the generated Session ID and instance and pass the same in another request to another task file. We are using InfoEngine's Java DataAccessObject API. We are however, getting "Session doesn't exist" error.
We are trying to build a query that: A) Use an XML DITA map (EPMdocument) as our primary fileB) From the XML DITA map file, extract all the links to other EPMdocumentsC) The EPMdocument links are found in the "topicref" elements (href attribute)D) Get the ID, name and author for each link. Sample XML DITA map:<bookmap>.....<chapter> <topicmeta><navtitle>Introduction &amp; General Description</navtitle></topicmeta> <topicref href="windcillEPMdocLink1.dita"/> <topicref href="windcillEPMdocLink2.dita"/></chapter>...</bookmap> Result XML:<REQS> <REQ id=".." link="windcillEPMdocLink1.dita"><name>...</name><author>...</author> </REQ> <REQ id=".." link="windcillEPMdocLink2.dita"><name>...</name><author>...</author></REQ></REQS>
I've been pretty good a custom display actions, tables and renderers. I need to create my first wizard which is simply in concept but there are some things I am unclear about. Story: Add a custom action to the Change Notice that displays a related object to the change notice and allows the user to edit information about that object. There can be more than one related object but a drop down list will allow the user to toggle between the different objects to edit a specific one. I think I have the form processor down which processes the form once a user hits complete. The wizard template (one step) looks fairly straight forward with describeAttributesTable block for input. Things I am fuzzy on: where do I place the code to navigate from the change notice to this related object and return one to the describeAttributesTable? Do I need a getModel block related with that table? Seeing as there could be more than one object but I am allowing edit to only one at a time, how do
I have a very slow vm and requires a lot of time to restart the method server os there any alternative to restarting the method server?
Im working on a scenario, where for a given attribute(eg,status), im using the iba name 'status' with the value anything less than the value 3, i wanted to fetch all the wtdocs with the attribute value<3. Can anyone guide me thorugh please? @xyzabc kindly route me through to the correct plaxe
Related to this post. I'm also looking for this. Did you find anything? Thanks in advance.
I'm trying to achieve cascading on an EPM document.According to Article - CS311528 its not a PDMLink Functionality.Any has an idea about work around.
Hi All,I'm trying to achieve for auto-populate in cascading when attribute has only one value.Any references.Thanks in advance.
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
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.