Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
If Anyone aware about the WTPart Structure filtering based on Service Effectivity API's please let me know. Thanks in Advance Thanks, srini
Hi All,I have created sample.prt cad part by using Windchill API. it's open in Creo as well.check out and check in operation via browser are working.but when check ed it out and do some modifications in it using creo, then trying to check in back to Windchill.this operation was failed, check the event manager and found, it was failing to upload the new data to server,below is error from event management,Content category "" for content object "sample.prt" in the document "sample.prt" could not be found on server.How i can solve this ?i have used below in my code, EPMAuthoringAppVersion epmaav = EPMAuthoringAppVersion.newEPMAuthoringAppVersion(EPMAuthoringAppType.toEPMAuthoringAppType("PROE"), 30, "L-03");my current creo version is creo 3.0M070.Thanks,Vivek
Hi All, If I want to get the count of all the objects in all object types how would I be getting the same ? Is there any nested query or program for the same. Please let me know about it Best Regards, Aditya
After some searching, I found a bit code on here that within gets a PDF out of a default representation of an EPMDocument using this code: wt.representation.Representation defaultRep=wt.representation.RepresentationHelper.service.getDefaultRepresentation(myDoc); That's all well and good. Is there a similar expression that allows me to pick and choose which representation I want? Specifically, I'm interested in getting secondary content (which the rest of the code does) of the representation created by the promotion notice (so it's name is wt.maturity.promotionNotice:some number here). Is there a wt.representation.Representation rep=wt.representation.RepresentationHelper.service.getPromotionNoticeRepresentation? I've looked through the Java Doc (we're on 10.2 M030) and I can't even find any reference of the RepresentationHelper. The wt.maturity class doesn't hint at there being anything to do with representations.... Any help would be greatly appreciated!
Hello from my understanding in Options & Variants you can define expressions which are based on options e.g. color=red, blue is the option and choices color = read AND ... is the expression..... Now I am looking for the possibility to refer in an expression to an attribute from the part object and to refer the attribute of the classification of a part. Is this feasible? Any ideas about solutions, workarounds ...? Thanks in advance
Hi I have java method to update WTPart Structure attributes.This processing takes time. How can we show progress status in Windchill UI?//Rakesh
I saw below request (updating username and password of users in bulk) created 5 years ago but seems PTC still hasn't planned to implement it yet. I wonder if anyone here has done something similar in Windchill 10 or 11 and how did you do it? Actually I don't need to update username and password, but I would like to update tons of users to a different organization at once instead of manually changing each user's organization in Participant Administration UI. Your information and sharing are highly appreciated. https://www.ptc.com/en/support/article?n=CS59042
I want to get users and grouops of a organization level in Workflow. The organizaion is related to the primarybusinessobject. Please teach me which API I use and simple code.
Hi All, Can you please expalin the diffrence between "PersistanceHelper" and "PersistanceServerHelper" ? and how these classes helps to modify/store object in Windchill , what exactly happens behind, how it make changes in database ?
I have created a multi step wizard with jca. Whenever the wizard is completed, the processor is called successfully and the code is executed, but the wizard returns to the first step, instead of closing the popup window. Also no feedback messages from the processor are displayed. <jca:wizard buttonList="DefaultWizardButtonsNoApply" helpSelectorKey="AssignView_help" title="Batch Plot Wizard" type="wizard"> <jca:wizardStep action="createPDFActionStep1" type="createPDFObjectType" label="TDSP Create PDF" /> <jca:wizardStep action="createPDFActionStep2" type="createPDFObjectType" label="TDSP Create PDF" /> </jca:wizard> Any idea what might be wrong here? Thijs
Hello Community, I'm looking for a possibility to pop up a modal message dialog when working in a workflow like the dialog that is openend on doing this (also like a Java JDialog.show()): throw new wt.util.WTException(“message”) but when calling the searched method, the program flow shall continue with the next line, like: boolean showInfo; ... showInfo = true; ... if (showInfo) { notifyUser("info message"); // go on with code } ...
We have a custom utility using which we can download the PDF representations in bulk. We are downloading the representation using the API : RepresentationHelper.service.getDefaultRepresentation() We have enabled the audit logging for Download (READ_CONTENT) and View(VIEW) events in the file configAudit.xml We need to have this information logged in the audit report. Is it possible accomplish this ? Thanks, Srikanth
Hi. Can anyone share example of TableViewDescriptor usage to filter list of persistables? I need java code. Thanks. ps: for example i have: TableViewDescriptor myCustomTVD = ...; List<Persistable> persistableList = ...; and nothing more. What sequence of methods should i use to get filtered list of persistables according to filter in TableViewDescriptor?
I have a table in wizard page. I have actions menu on the table. When I click of the actions on the table, I need to get all the oids from the table. I don't need to have to set the setSelectable(true) as I need all the rows from table. How to do this?ArrayList a1 = paramNmCommandBean.getActionOidsWithWizard();When I use this it returns only the parent oid and not all the rows inside the table.Appreciate your help in this.
Hi. I need to add some js functions for "Set Classification Attributes step". So i've added them to codebase\netmarkets\jsp\part\setClassificationAttributesWizStep.jsp But i can't see them in source code of WTPart create wizard when this step is open. Why? Where are they? Where should i put them to? And i can't register PTC.onReady function for this step for same reason i guess. Adding it at the end of jsp file does not work. What jsp file should i edit to add my js functions? Thanks.
Hi All, I am trying to create a WTPart from java. In my set up the classification is set as a mandatory attribute. Could you please help me on how to set the value of the primary classification? I tried to set the default value for the classfication, however it does not work. Here is the code I am using to create WTPart. WTPart wtpart=WTPart.newWTPart(); try { / TypeIdentifier typeidentifier = TypeHelper.getTypeIdentifier("WCTYPE|wt.part.WTPart"); WCTypeIdentifier wctypeidentifier = (WCTypeIdentifier) typeidentifier; TypeDefinitionReference typeDefinitionReference = TypedUtilityServiceHelper.service.getTypeDefinitionReference(wctypeidentifier.getTypename()); wtpart.setTypeDefinitionReference(typeDefinitionReference); wtpart.setName("Test part007");
Hi. For table "My Tasks" i need to show some attribute (postalAddress) of PromotionNotice creator. So i added alias attribute for wt.workflow.work.WorkItem and tried to set the mapping as follows: primaryBusinessObject^wt.maturity.PromotionNotice~creator^wt.org.WTPrincipal~postalAddress But Windchill says this mapping invalid. I tried some other options but without any success. Is there any posibility to make such mapping: WorkItem -> PromotionNotice -> creator -> postalAddress ? Thanks.
Hi, We have a setting in windchill that drops the file extension from the CAD object when you create WTPart which is fine for the Model however that also drops the extension from the drawing. We then get checkin errors as the drawing is trying to create another WTPart that is not unique. Is there a setting I should be using that sees the drawing as additional content in the WTPart? example; 1234.prt when checked in will create 1234 (WTPart) 1234.drw when checked in is also trying to create 1234 (WTPart)
Hello, When performing a Save As in PTC Windchill I am easily able to add hot link locations when I want to set a location. However I cannot find out how to remove hot links that I have added and no longer need to use. Do anyone know how to do this?
How to configure the Additional MS in WC11 F00 in Non UI mode, Currently i am facing issues with the NON UI mode and even in UI mode only one MS is serving the requests. Could you please suggest what property changes needed for this ?
Hi All, if anyone could help me out with this scenario it would be of great help. Currently I am working in a clustered environment with apache load balancer. I have customized windchill logout functionality and I am getting logoff option and session is getting ended when I perform logoff action. I have two slaves and a master where when load balancer switches from slave 1 to slave 2 windchill throws error 'you are not authorized to view this file'. I then shut down slave 2 and worked only with slave 1 everything was working fine. I have configured on monolithic servers on both Windows as well as RHEL servers but first time I tried with cluster environment. Can anyone let me know what might be the possible error because of which I am getting this abnormal behaviour of Windchill? And also how should I proceed with the form based authentication on Windchill and is it good to configure form based authentication on a clustered environment?
I have have navigated to the information page of a part and selected the 'Structure' tab -> and opened any part then it opens in a window with 'Structure' tab selection by default . Now I need to open the window with 'Details' tab selection.
I need some help. I created a relatively simple workflow (reused from another workflow we have) that takes a file, changes the state to Obsolete, moves it to a separate folder and starts a timer. After the timer is done, an activity is launched asking an Assignee to take some action. When that's completed, another timer starts followed by another activity (same as the first one) and then the workflow ends. There are no loops in the workflow. There's barely any code! The only code that exists is the "move file to folder" java code. Somehow every time I go to initiate this workflow it initiates and then continues to do so on its own until i disable the workflow template. Now that I know to look for this, I normally catch it after it's only initiated about 200 times or so. The issue is also that the activities sends an email and the first time this happen, Windchill sent me 1800 emails before I was able to shut down the workflow. Am I missing something easy here? Where e
Hi All, If I have some 1200 parts with me in an excel file and if I had to raise a promotion request for all those parts and get it approved. How would I be doing it ? Do I need to develop any utility for that ? If yes Can you please let me know about it. Thanks and Regards, Aditya
Hi All, I have a part structure where there is one document added twice to that part structure with two different versions. Likewise If Part A is an End Item I have Document A added to the part A and Document A has got a version of 2.1. However the same Document A has been added once again to the structure where it has a version of 1.1. So within a part structure there is one single document with multiple versions. Now I wish to validate the part structure and display a message(Like a dialog box or a error box) to the user stating that a previous version of Document is there in the part structure and it should be updated with that of the most recent version. How can I be achieving it. Can someone please let me know about it Thanks and Regards, Aditya
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.