Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi all I would like to know about the use of Windchill Info Modeler, Can anyone share any article or documentation on this. Is it possible to integrate Windchill with other downstream applications using InfoModeler. Thanks Chaithra Sree
Hi All, OOTB "Move" action is disabled in Project context. this action is hidden by "wt.dataops.conatinermove.processors.MoveValidator" . is any way to make it visible in projectlink context. Regards, Vivek
Hey all, I am trying to write a java code in order to create a new custom filter to view product structure browser. I am new to windchill customisation and any suggestion or help will be really appreciated. Thanks, Suthakar
Hi, I need to trigger a windchill workflow from Thingworx. I think it's right way to expose this function through OData rest service in windchill. The logic of WRS function is implemented by Javascript, which I don't understand and don't know where to find the document of API, I have no idea of how to implement my logic. Please help. Below is sample code from Windchill Rest Service User Guide. function function_GetCostlyParts(data, params) { var ArrayList = Java.type('java.util.ArrayList'); var EntityCollection = Java.type('org.apache.olingo.commons.api.data.EntityCollection'); var parts = data.getProcessor().readEntitySetData(data); var partEntityMap = data.getProcessor().toEntities(parts, data); var partEntities = new ArrayList(partEntityMap.values()); var entityCollection = new EntityCollection(); for(var i = 0; i < partEntities.size(); i++) { var partEntity = partEntities.get(i); var partCostProperty = partEntity.getPropert
I created a local/standard attribute of type string. I'm trying fetch it's value through query spec but getting the following error: 2019-04-16 20:53:05,092 INFO [ajp-nio-127.0.0.1-8011-exec-5] wt.system.err pjai12 - wt.query.QueryException: Attribute "ptc_str_89typeInfoLCSProduct" is not a member of class "class com.lcs.wc.product.LCSSKU"2019-04-16 20:53:05,092 INFO [ajp-nio-127.0.0.1-8011-exec-5] wt.system.err pjai12 - Nested exception is: Attribute "ptc_str_89typeInfoLCSProduct" is not a member of class "class com.lcs.wc.produ Here is my code: String sampleSizeTestNoColumnName = ((product.getFlexType()) .getAttribute(ConverseConstants.SAMPLE_SIZE_FIT_SIZE_NUMBER)).getColumnName(); QuerySpec qs = new QuerySpec(); int classIndex = qs.appendClassList(com.lcs.wc.product.LCSSKU.class, false); ClassAttribute ca = new ClassAttribute( com.lcs.wc.product.LCSSKU.class, sampleSizeTestNoColumnName); qs.appendSelect(ca, new int[] { classIndex }, false); QueryResult qr = PersistenceHelp
Hi there, here is my need: - first I want to automaticaly publish CAD documents once they move to the Prototype State. I also have to create a step file. I had a publish Rules for that and it works fine. - then, I need to post-publish the representation "on demand" for Creo Illustrate. I have a standard publish rules for that, who works when this file is alone. now I want to merge the 2 rules files. All my tries were not good: or I can create only one representation of the 2 rules, or I publish everything together. I guess is a syntax issue, but I don't understand. does someone have already done this exercise? thanks in advance Ron
Hello, I have created a Part Configuration. Now I want API to get structure of Part Configuration. I tried ConfigurationHelper.service.getNormal(partConfig); this gives me Structure but not in proper order . So I want as it is BOM structure. How can I get this?
Experts, I am trying to write a validator on Move action, I tried to write a simple validator which extends wt.dataops.containermove.processors.MoveValidator, Registered my custom validator in service.properties as: wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/CONTAINERMOVE/null/0=ext.company.validators.CompanyMoveValidator/duplicate When I do a jcaDebug in UI, the move action shows the name of my Custom Validator, But it doesn't process any code in "validateFormSubmission" method when I click finish on Move action in UI. Can you help in what I may be missing here? Abhishek
Is there a way to load batch(multiple) of attributes in XMLs(layout) or directly to Type & Attribute management?
In Structure Tab can not find uses tab. This happen only in case of Part Configuration. So how to add uses tab under Structure tab.
Hello, I have Parent and child object , I want to display them in Table in tree format. Example in customization guide is not clear. Any simple example or document? Below image shows the output which I want to implement through MVC Table builder.
Hello, When I create a Part Configuration of a part, the view is copied as it is. Default view is Design. So I want to change the design view to something else , let's say manufacturing view. So how do it? Any of the way is acceptable , Either by GUI or by customization.
I have to make a rule which is " wt.workflow.engine.WfBlock" grant "Read, create and modify" on policy administrations. But i don't know what "wt.workflow.engine.WfBlock" rule let user do? Could you help me about "wt.workflow.engine.WfBlock" effects?
I'm having a issue when try to print work instructions. All formats available returns a disfigured formatting. Is there any way to improve that format?
I want to fetch the Affected Objects for the type Variance in a workflow.My doubt how to fetch all the objects added to affected objects of Variance? Suggestions/APIs please.
C14814925: When a form is submitted two times, the JS will not be considered for the second submit. Details: WebEx recording(Watch from 05:45): http://internal.ptc.com/salesforce/attachments/cases/14/81/49/25/14814925-20190322_0303-1.mp4 Lenovo customized a menu UpLoad CMLoadsheet [06:01] - On UpLoad CMLoadSheet page, when OK is clicked, the form will be submitted for the first time to the processor, and Warning Message pop widow comes up saying "Have aarning message, do you want to continue?" [06:05] - Then select Yes, the form is submitted for a second time to the processor However, the page keeps loading without stop. [06:09] - But in fact, the action completed. It is just that the page keeps loading without returning. Note that this customization worked well in 10.2 but not in 11.1 M020. The problem is that the JS is not executed for the second sumit. Steps to reproduce: Put custom-action.xml and custom-actionMode
Details: WebEx recording(Watch from 05:45): http://internal.ptc.com/salesforce/attachments/cases/14/81/49/25/14814925-20190322_0303-1.mp4 Lenovo customized a menu UpLoad CMLoadsheet [06:01] - On UpLoad CMLoadSheet page, when OK is clicked, the form will be submitted for the first time to the processor, and Warning Message pop widow comes up saying "Have aarning message, do you want to continue?" [06:05] - Then select Yes, the form is submitted for a second time to the processor However, the page keeps loading without stop. [06:09] - But in fact, the action completed. It is just that the page keeps loading without returning. Note that this customization worked well in 10.2 but not in 11.1 M020. The problem is that the JS is not executed for the second sumit. Steps to reproduce: Put custom-action.xml and custom-actionModels.xml in /opt/ptc/Windchill_11.1/Windchill/codebase/config/actions/ Deploy netmarkets/jsp/com/demo/TestProcessDemo.jsp and netmarkets/j
Hi, We are using one revisioning sytem for all parts.The custom made parts and the catalogue parts in Windchill. This is done to keep it simple in Windchill. In our organization, out of Windchill, the costum made part receives an revision number according to our revision scheme. The catalogue part does not receive a revision number but only an itteration numberaccording to our itterartion scheme. The organization has decided now to add a BOM table to the drawing displaying also the revision number.That is no problem for the custom parts but is a problem for the catalogue parts.Now a revision number is displayed in the BOM table for the catalogue parts too.I am looking for advice how to solve this. Thanks in advance. regards, Bert
We are creating 3D models using AutoCAD and WC is configured to assign a number automatically the first time it is saved. We then update metadata within WC, by checking out and editing the attributes. My question is: Is there not a way to create a list in Excel with all the filenames as per WC, where the metadata is created/updated and this list then imported into WC which then populates the spaces for the data? Regards Kobus
Hi All,I have created change request workflow. my requirement is like, Admin group user has ability to "Reject" Change Request at any time, but at same time normal users This "Reject" routing must be hidden.Is any way to do this.Regards,Vivek
I have a life cycle that contains out of the various state two that can be set with a Set State action. Both have a right mouse button in the Action menu. When I click either one, I get a pop up window (the same window for both) with a pull down from which I can select which Action/State I want. Is there a way to have the pull down show the state that I select in the pull down based on which Action menu I click? For example: State 1 = Library. --> Action menu = "Library" --> pop up window pull down "Library" State 2 = Publish. --> Action menu = "Publish" --> pop up window pull down "Publish" The current behavior is that regardless of which action menu I select, I still have to make the secondary selection to pick the state I want in the pull down menu from the pop up window.
Hello, I need to make the query-object search case insensitive. According to the documentation, it is by default. But it my test it does not work. So I put the explicit parameter <ie:param name="WHERE_CASE_SENSITIVITY" data="FALSE"/> but the case still sensitive. Is there further parameters or changes needed? Thank you.
I know this can be done for WVS scheduler but I am looking for general instructions related to a old Windchill idea Task for notifying users on running old Tasks. Cat herding has not worked and I believe there are a set of infrequent users who let the "you have a task" emails flow by. I am looking to see if anyone has written a custom job scheduler in Windchill that can run daily or on a schedule to process open tasks and look for the late ones. My requirements on email notifications would be unique but I am looking for the hooks to schedule jobs and execute them. Are there existing queues to piggie back on or do I need my own queue? Looking for your feedback and I will share what I learn on my own.
Hello I am facing a problem that I have no idea how to solve. Use case: Under Workspace when the user creates a new CAD Document, there is a possibility to associate a part on creation. If the “Create and Associate Part ” is checked on CAD Document creation, an extra step should be implemented where the associated part attributes can be filled. (This way the user don’t need to find the created part and fill its attributes separately after CAD Document creation.) Could you suggest me a way to solve this issue? Windchill version is 10.2 M030.
Hi All,Ie any way to hide / disable or give pop up message to user when he select in appropriate change task type while creating change notice.How we can restrict user to select certain types of change task only for perticular type of change notice.Ex. Change notice A Change task a Change task b Change notice B Change task c Change task dThanks,V Suryavanshi
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.