Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, please tell me where you can find simple examples of working with XML and Java-files? I tried to run the example with cust_Windchill_src, but everything is difficult to understand, stopped at page PetTable
Hello everyone, please tell me how the code should look in the end https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_Oview_GetStartCust_CreatePetUI_GetStartedCust_CreatePetUI_PetTable.html . I only got to point number 4. Where to create a project? I created it D:\ptc\Windchill_11.1\Windchill\src\com\acme\cust_Windchill_src " is that right?"
Hi all, Where is the Windchill Swagger demo site? Last week I was exploring the PTC Windchill site, and I think there was a page where you could try REST API calls to a Windchill server using Swagger. Now I search but I cannot find it. Maybe I was looking at Thingworx Swagger, but that does not help: I am trying to learn the Windchill API. Thanks Rick
Hi, I have a custom attribute. Using Data Utilty I made the attribute multivalued. The attribute is supposed to be a User Picker. I can not see User Picker(code written/datautility id registered/cache cleared) Is it because we cannot have two Data Utility functions for the same attribute(Multivalued and Picker)?
Hi, I am completely new to this and not really sure where to start. I am also not really able to find a How To guide apart from the odd 6 min video. The setup will be as follow: Company A bought company B and company B will now become the new additional organization. Company A must be able to see company B's data but not the other way around. I am not sure yet whether there will be made use of only one server since the companies are located in different regions of the country. What is all the info/requirements that I need to know before creating an additional organization. Appreciate the help. Regards
Hi, everybody.I found an example ( @BineshKumar1 https://community.ptc.com/t5/Windchill/Updating-user-details-in-Windchill/m-p/267772 ) of how to update a value in a table in a database. But I can't figure out how I can add new values ( a new row in the table) in this way .Please tell me how this can be done? Here is an example from the link https://community.ptc.com/t5/Windchill/Updating-user-details-in-Windchill/m-p/267772 try { QuerySpec qs = new QuerySpec(WTUser.class); qs.appendWhere(new SearchCondition(WTUser.class, WTUser.EMAIL, SearchCondition.LIKE, "oldemail@oldemail.com", true), null); QueryResult qr = PersistenceHelper.manager.find((StatementSpec) qs); while (qr.hasMoreElements()) { WTUser user = (WTUser)qr.nextElement(); user.setEMail("someone@something.com"); PersistenceHelper.manager.save(user); } } catch (WTException | WTPropertyVetoException e) { // TODO Auto-generated catch block e.printStackTrace(); } &nbs
Hello All, I have certain workflow variables, for example status, using which I will determine whether a process is succeeded or not. Once an activity fails it will trigger a user activity where they will perform some changes on the data. In some cases after taking the failure path the variables are then getting reset automatically. I have used loop link in the workflow. Can anyone please explain what is the problem here and how to resolve it. Thanks in advance. Please refer the attachment. 1) Initial activity 2) If validation fails, "E" path will be taken. E is the value of the workflow variable status. 3) User activity 4) Loop link In my case the user has not completed the failure activity i.e. 3 is not yet completed but still the variable values were reset. Regards, Hari Shankar
I have a requirement to implement the suggestion text box on an attribute/IBA during Create wizard which would query all my suppliers from DB. I am able to make it work but I am not able to persist the value after selecting from suggestion list.Any thoughts/samples ?
Hello, please tell me how to add Pets * information to " Managetypes" * https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_Oview_GetStartCust_CreatePetClass.html%23
Hello All, I want to implement business rules to perform certain validations. I have tried finding materials on how to create them but I can only find articles on how to implement/load them but not on creating them. I know how to implement the OOTB ones but I want to create a custom one. Please provide an example on how to do the same. Thanks, Hari Shankar
Hi, I would like to move WTParts to a different context and/or folder but when I try to select a different context location in the Move operation, only two of the several contexts display in the Set Location drop down. With Policy Administration I have added Full Control for wcadmin on the Root domain for All Contexts but does not work. Still only the two contexts get displayed. Where in the configuration am I missing something? Please assist. Thank you
Hi, I want to automatically set the previous "Released" document to "Obsolete" when a newer revision is promoted to "Released". This is to avoid having older revisions still having their life cycle state remaining "Released". I have this code from CS153831 which is just what I think will do the trick, but cannot correctly add it to the workflow. I tried adding it to the approval transitions to no avail. Thanks, Mark wt.doc.WTDocument predecessor = (wt.doc.WTDocument) wt.vc.VersionControlHelper.service.predecessorOf((wt.doc.WTDocument) primaryBusinessObject); if (predecessor != null) predecessor=(wt.doc.WTDocument) wt.lifecycle.LifeCycleHelper.service.setLifeCycleState(predecessor, wt.lifecycle.State.toState("Obsolete") );
The requirement is very straight forward. I want to Publish secondary content(Attachments) of WTDocument. Is there any property or customization that need to be done?
Hello everyone, please tell me which file contains the data to connect to the database?I want to change the data to others
Hello everyone, I have completed the example (https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_...) from the documentation, the Pet table is output. How can I output data not only from this table, but also from the second one that will be associated with it? And how to link them correctly? Enter the path in the [classnamekeyA2ownership] column, and enter the id of the corresponding row in idA3A2ownership?
Hello everyone, I have completed the example (https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_Oview_GetStartCust_CreatePetClass.html%23 ) from the documentation, the Pet table is output, but how can I output another table on one page.If I make another table using the Pet example, how can I display it under the first table?
I have been using REST interfaces (via ThingWorx) to access WTPart metadata. There is a boolean attribute called latestInView that show the latest iteration of for example the Engineering view as compared to the attribute latest that specifies latest iteration, shown below. Version latest latestInView R1.1 false false R1.2 true false R2.1 false false R2.2 false false R2.3 true true Can someone please explain where this attribute is configured? It seems to have disappeared from our development environment. I can't seems to access it from neither REST or OData REST anymore.
Hi all, We are receiving the following exception when publishing with ESI: 2020-01-07 07:55:55,967 ERROR [SessionThread-6] com.ptc.windchill.esi.tgt.delegate.DefaultESITargetProcessor - Error while invoking ESIResponseGenerator.generateResponse:com.ptc.windchill.esi.rnd.ESIRendererException: (wt.part.partResource/170) wt.part.LineNumberUsageException:wt.part.LineNumberUsageException: At least one component of "Component - xxxx, Name, Organization, B.3 (Manufacturing)" does not have a line number. Line numbers are filled and the Enforce Line Numbers preference is set to No. Any ideas why this happens or any ideas on how to fix this? Alex
Hello everyone, please tell me, can I output data from two tables if I make changes to the example "Pet" from the documentation? The example is completely repeated, but I do not yet understand how to use 2 tables from the database
All of our Creo parts & assemblies contain a string parameter called “DESCRIPTION”. We would like to be able to search Windchill by the values entered for this parameter (and potentially others as well). Ideally, we would also like to add a column to both our Windchill view & our Workspace view that displays this parameter and it’s values. Add column for model parameter to Workspace/Windchill view:(item 1.png) Be able to search Windchill for specific Creo model parameters (item2 and 3 .png) Please refer to attached images for items 1 and 2. Thanks.
Hello, we are trying to add a custom servlet to the Windchill tomcat but we are not able to do it. So, far we added a custom servlet that can be accessed through Windchill like. http://<servername>/Windchill/servlet/myservlet/mybean But this is not we are trying to do we would like to access the servlet like http://<servername>/myservlet/mybean. We did everything like on the regular tomcat (edit web.xml, deployed servlet under webapps) but still the servlet was not found. Does any body has idea how to do it or can point us to the right direction? Thanks, best regards!
Hello, I would like to modify the text of the Routing Options radio buttons to give the user more information about what each option actually does. I have put the information above in the "instructions" area (as seen below), but typically people don't read it. 😀 In my lovely mock up, I would like the Routing options to look like this: I understand the the text is driven from the workflow Routing tab and I don't think it can be changed, but thought maybe some savy person has a solution. Thanks!
Hello everyone, I'm trying to do the example from the documentation again. This time I do it in Intellij Idea. The code from the first page of the documentation was completely rewritten, the code is compiled. But when I try to compile java files from the shell, it fails. Screenshot and files attach.I will be grateful for any help and advice.
Hi, everybody. I created an expression robot and put code in it Now when I create a Promotion Object, the process does not even begin to run, it is at the start. The error log is as follows:2019-12-11 13:57:44,237 ERROR [IndexQueue1.PollingThread] wt.queue.ProcessingQueue.IndexQueue1 Administrator - Queue entry number: 72107java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at wt.queue.QueueEntry.execute(QueueEntry.java:231)at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:312)at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:898)at wt.queue.PollingQueueThread.run(PollingQueueThread.java:99)Caused by: wt.util.WTException: Error processing collectionat wt.index.IndexingServiceImpl.updateIndexer
Hello everyone, how can I access through a JSP file to a database table. I am using MSSQL, at the moment I can refer to the table "EPMDocumentMaster" if I write <jca: describe Table var= "tableDescriptor" type= " wt.epm.EPMDocument" .But I do not understand why the names are different, how to know the name type?Error if I write the name as in the database: Windchill Error No type can be discovered for descriptor: ComponentDescriptor [id="CustomMenubar" label="Part Table" summary="null" disableAction="null" mainType="null" configurableTableId="CustomMenubar" modelAttributes="null" properties="[menubarName:CustEx_table_menubar,saveInitialRows:false,actionModel:CustomToolbar,selectable:true,]" dataUtility="null" descriptorList="[ComponentDescriptor [id="classnamekeyroleAObjectRef" label="Название столбца" summary="null" disableAction="null" mainType="null" configurableTableId="null" modelAttributes="null" properties="[pdesc:CustomMenubar,sortable:true,ascending:true,dataStoreOnly:fal
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.