Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, For example: If someone at the company gets ill, all Tasks he/she recieves won't be processed. If he has got a deputy, those tasks would be processed, even though he's not in the company. So is there a possibility to set a deputy for a specific user, who can approve the tasks? Thanks in Advance! Best Regards, hautschi
Need help converting the blow sql into QuerySpec SELECT *FROM DISCRETEACTIONITEM DAIJOIN ITERATEDACTIONITEMSUBJECTLINK ISL ON DAI.IDA2A2 = ISL.IDA3A5JOIN CONTROLBRANCH CB ON ISL.BRANCHIDA3B5 = CB.IDA2A2JOIN WTPARTMASTER PM ON CB.IDA3B5 = PM.IDA2A2;
1. I have a custom scheduled job created but it always runs in context 'site' and always returns null. I understand this is by design. 2. When I try to schedule my custom job in my org, my custom job name does not display in the job listbox to choose. The custom job name only displays when I am in the job administrator scheduler for 'site'. 3. I am struggling how to get my custom job name to display in the job administrator scheduler for my 'org' and have not been able to verify if my custom job java code is correct. See the code below. Any hints or suggestions are appreciated. Thanks, Mike package ext.customers.provisur.customJobs;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.PrintWriter;import java.util.Date;import java.util.Iterator;import java.util.Locale;import java.util.logging.FileHandler; import org.apache.log4j.Level;import org.apache.log4j.Logger; import wt.doc.WTDocument;impo
There is a attribute defined on a document type, the value is carried over by new iteration or revision once it was created out of box. How can I custom to not carry over the value but reset to empty every time new revision? Eg Audit Type field was set "Initial" at A.1, new iteration to A.2 the value carried over. However when Revise to B.1, the value was reset to empty.
Hello All, Can anyone please explain me the difference between Validators and Filters? I have worked on Filters but I have never used Validators until now. For what purpose should we use validators and for what purpose should we use filters? Thanks in advance. Regards, Hari R
Hello Community, I am working on some coding to Link an EPMDocument to a WTPart, and then build the WTPart structure. I've got the association portion working but am having difficulty with the build task. I found this in the Windchill API to build structures:BuildHelper.service.buildTarget(WTCollection alwaysBuild, WTCollection buildIfNotAlreadyBuilt, BuildResolverDelegate[] buildResolverDelegate, ConfigSpec configSpec) I feed this a collection containing my working copy of the WTPart, and it appears to run without issue. It returns a WTValuedMap, which I am not familiar with. My question is there any I need to do with the WTValued Map to update the working copy of my WTPart object prior to service.checkin? Or has anyone had any success with using the BuildHelper.service ? Snippet:\\Checkout OBJ_prt \\create WRK_Prt = workingcopyof (OBJ_Prt) \\Create links to EMPDoc \\add WRK_prt to WTCollection alwaysBuild. No buildresolverDelegate, no conf
Do we have any feature in the windchill workspace, to select all the generic and instance part/assembly of a single component together?
Hi, I am a beginner who can write Java and C ++ code but don't know how to apply development in PDMLink. PDMLink OOTB does not allow any additional information to be entered when proceeding with a revision. If you have a development case that allows you to enter additional information when making revisions or an example where you can add editable properties to EPMDocuments without check out, please share it. If I have to develop, please tell me what part of Customization Guide can help. Thanks, Warm Regards, SeonHo Cha
Hi, I am able to create MVC table builder for non persistable object, but records are not displaying in table, hence can anyone provide solution? FYI : "extends AbstractConfigurableTableBuilder" Thanks.
Hello everyone, I'm trying to implement @breed example https://community.ptc.com/t5/Windchill/JSP-Page-to-Set-State/m-p/238010#M28450. How to put all the data in the table to look like in the tables below? And how do I make sure that when I click on the "Search" button I stay on the same page and the data is updated? All the code I wrote in the JSP-file customHomePageAction.jsp ( codebase/netmarkets/jsp/myCompany/customHomePageAction.jsp) <%@ page language="java" session="false" %><%@ taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@ page import="com.jbtc.*" %><%@ page import="java.util.regex.*" %><%@ page import="java.util.Pattern.*" %><%@ page import="java.io.*" %><%@ page import="java.net.URL" %><%@ page import="wt.method.RemoteMethodServer" %><%@ page import="wt.util.WTException" %><%@ page imp
Hello everyone, how to execute sqlplus <db_user>/<db_user_pw>@<sid> command . If there is no Oracle, and there is SqlServer?And what is @<sid> ?
Hello, please tell me where I can get the documentation on Windchill with detailed examples of working with the code, because in the usual documentation 99% of the information is not clear to me at all, even the first examples do not turn out?
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?
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.