Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I'm working on a workflow to obsolete files (i.e. change state to Obsolete and move them to a folder that has limited access). One of the requirements is to also notify the users of the file that is being made obsolete. I've looked through topics here and it seems that the preferred way is through QueryBuilder. Has anyone done this with expressions within a workflow? I'm not having a lot of luck finding methods in the JavaDOC that seem like they might work.
Hi all, there is a course called "Windchill Client Customization " on precisionlms.ptc.com. One of the first task/example asks to download latest BIF SDK (jar file). But unfortunately the link point to empty resource. Any idea where could it be dowloaded from, or maybe somebody is able to share it with me. regards Krzysztof
Hi, I want to do a promotion request with API and it works with this: https://www.ptc.com/en/support/article?n=CS133053 But within this request the process isn't selected well. If I do it manually the process is selected automatic, if I do this by API the process isn't selected. How can I add the process to the promotion request with API?
Hello community,it should be possible to delete/disable/hide views (like Design, Manufacturing) having objects without performing a reassign View reg. CS24135If a view represents a plant which is no longer used but there are objects using this view already, you are not able to diasble/hide the view. In this case the view can be used but it is not allowed to be used.When creating a new View Version / Downstream the view should not be available.Thank you for your support.RegardsStefan Petras
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?
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.