Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi All, We need to modify the Orgnization > Creator Page to add Email id of perticular user on same page, right now this is not availble OOTB. Kindly help me to understand all the possible ways to do this. Here is the image of page,
Hi All, I am trying to understand how WFTally works. Kindly let me know or provide some link which has explanation apart from help center. Ex: If a Problem report or a change request is assigned to three users (user1, user2, user3) and if user 1 "Approves" the request, user 2 "Declines" the request and if user 3 "Reassigns" or "Performs any other task apart from Approval and Declining" which operation will be performed in the system. Will the User 1 vote will be taken into consideration or that of user 2 or user 3. Kindly let me know about the same. Thanks in advance, Best Regards, Aditya
Dear all, we use Guice in many of our customizations and even though it work fairly well I have started to think a bit about how to do this in a manner that follows some sort of best practices. There are many entry points into Windchill customizations such as service startups, action validators, form processors, data utilites and so on and because of that I often find myself creating multiple instances of the Guice Injector class in order to instantiate my objects via Guice. It seems to me that since Windchill is a (more or less) Spring based web applicaion threre should be some way of loading modules and creating an injector in a way that allows me to create it once and then reuse throughout my various customizations. Has anyone else managed to find some sort of best practice aproach to this or is there anyone who has some ideas and/or opinions on this subject? Any input will be greatly appreciated. Best regards Daniel Södling
I am in the process of upgrading from Windchill 10.0m040 to Windchill 11.0m030. I have some customized rbinfo files in my wtCustom folder which I have copied over to the WC11 install structure. Do I need to run resourcebuild on these files before I do UpgradeManager or will the UpgradeManager find these and build them into my final WC11 system? If I need to run resourcebuild first, can somone provide me the proper syntax for building StateRB.rbinfo which is in the <loadpoint>/wtCustom/wt/lifecycle folder into the OOTB WC11 install. Thanks
Dear community, While publishing using the ESI Framework, we would like to filter out child parts of enditems in a BOM (except the top level part, which may be also enditem). The end items should be contained in the BOM. This needs to be done to differentiate between plants (distribution targets) where childs elements of enditems are not required in the ERP software in the target plant. Example below, A is published to plant X: A |__B |__*C |__D |__E Once published, following structure should be published to plant X. A |__B |__*C - For target assignment RootInheritance is assumed to be implemented - C might have been associated with plant Y, in this case; BOM to Plant X A |__B |__*C BOM to Plant Y *C |__D |__E I would be glad and thankfull for any idea, tip, programmatical logic to implement or sample codes. My current challanges are: - idea --> where to locate f
I am trying to automate Project creation. Is it possible to prevent the invitation email from being sent but still have the user added/ joined to the project? The only answer I got so far from eSupport was to shut down the email queue and delete the notification when it is sent to queue. Not a feasible solution. Thanks, Bob Lohbauer
Hi, I was able to create the EPMDocument, but I can not register the content file(**.mi or **.drw) with Windchill API's.Below is the source code.How can I use the Windchill API's to upload EPMDocument content files? Thanks, ----- private static void createEPMDocument(String s, String name, String cadName) { try { // Set owner application EPMContextHelper.setApplication(EPMApplicationType.toEPMApplicationType("EPM")); // Set Authoring Application (required in EPMAuthoringAppType.rbInfo) EPMAuthoringAppType at = EPMAuthoringAppType.toEPMAuthoringAppType("COCRDRAFT"); // Set EPMDocumentType (required in EPMDocumentType.rbInfo) EPMDocumentType dt = EPMDocumentType.toEPMDocumentType("CADCOMPONENT"); EPMDocument epmDoc = EPMDocument.newEPMDocument(null, name, at, dt, cadName); epmDoc.setDescription("Created by TPWCreateEPMDocument.java");&n
Is there a way to prevent an object from being used in a "Save As?" We have products that were for very odd jobs that we need to keep around, but that we don't want people to use by mistake. We'd like it to be viewable, but doing a "Save As" would require administrator rights, or something of the sorts. Is that possible? Thanks
Hi, I am new to Windchill & trying to find out Child Version & Iteration information for the given Parent assembly through SQL. EPMMemberLink IDA3A5 points to IDA2A2 of EPMDocument which is Parent information. Since i have EPMDocument IDA2A2, i can easily get latest version & iteration of a Parent. However, for Child, EPMMemberLink stores EPMDocumentMaster IDA2A2 in IDA3B5, if my child Part has multiple version & iteration then quering EPMDocument based on IDA3MasterReference will fetch multiple records of different versions & iterations for a given component. I am stuck & not able to find a way to get child version & iteration information.
Other than creating attributes using Type and Attribute manager, is there any other ways to reproduce the same? Thanks in advance!
Hi, I'm SeonHo How do I configure the versioning scheme to manage it?I do not know if I can edit wt.properties.I want to change the version scheme of A.1 to A.1.A.1 format. Thank you.
Good morning I'm SeonHo There are some questions about configuring the Promotion Request Approval Process. We have configured as follows. wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult qr= wt.maturity.MaturityHelper.service.getPromotionTargets(pn); while (qr.hasMoreElements()) { wt.doc.WTDocument doc=(wt.doc.WTDocument) qr.nextElement(); wt.lifecycle.LifeCycleServerHelper.service.setState((wt.lifecycle.LifeCycleManaged)doc,wt.lifecycle.State.toState("DESIGNCHANGE")); } try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try{ wt.maturity.MaturityServerHelper.service.unlockTargets (pn); } catch (wt.maturity.MaturityException me){ if ( VERBOSE ) me.printStackTrace(); } As a result, when I rejected it, I succeeded in designing the life cycle by design change.But it was the ca
To change the status of a promotional target, we configured the following code: wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult qr= wt.maturity.MaturityHelper.service.getPromotionTargets(pn); while (qr.hasMoreElements()) { wt.doc.WTDocument doc=(wt.doc.WTDocument) qr.nextElement(); wt.lifecycle.LifeCycleServerHelper.service.setState((wt.lifecycle.LifeCycleManaged)doc,wt.lifecycle.State.toState("DESIGNCHANGE")); } try { wt.util.WTProperties props = wt.util.WTProperties.getLocalProperties(); VERBOSE = props.getProperty("wt.maturity.verbose",VERBOSE); } catch( Throwable t ) { } try{ wt.maturity.MaturityServerHelper.service.unlockTargets (pn); } catch (wt.maturity.MaturityException me){ if ( VERBOSE ) me.printStackTrace(); } I got the following error: wt.util.WTException: java.lang.ClassCastException: wt.part.WTPart cannot be cast to wt.doc.WTDocument중첩 예외: java.lang.ClassCastExcept
Hi 1. Two Attributes are created on WtDocument object. 2. Value of Second field Depends on First Field, Controlled with javascript. Eg Country ,State scenario. So if particular Country is selected on first field, State list will appear in second field. 3. Its working fine while trying to create a Single document. However when trying to create multiple document, i am not able to locate ROW from which field A was updated. Example on second ROW Field A was changed so Field B of same (Second) ROW should be updated. How can i get the RowIndex ? Same is working in Project Link module Multiple activities page. getCurrentRow method gives the rowIndex, which can be assigned to field id.
Greetings, Anyone know how to get a notification for a reject vote on a given role within the same task. We have several roles within the CR Approval task on a Change Request. Rather than wait for all roles to vote before notification of outcome is sent, it would be helpful to have option to get a notification based on any reject when it happens. We could use the diamond parallel task for all our required roles. But this is a bit clumsy.
Hi. I am new using Windchill (11) and am currently cleaning upp our roles/teams/groups. For some reason when I chose a user in a group that is added to Promotion Approver role the user does not get the Approve Promotion Request. As I understand it we can manipulate this behavior following the link below: How to configure the Promotion Request I did try according to link but with no results. Summary is: If the user is directly under role Promotion Approvers the user will get the approve promotion task. If i remove the user from Promotion Approvers and instead add him/her to a group the user does not get the approve promotion task. Question is: How do I configure it so I can use groups in roles instead of using users?
Is there any possibility in Windchill 11.0 to display the attribute description as a tooltip / mouse over? Or are there other possibilitys to creat an info box next to displayed attributes?
When Creo View publishes an assembly, it publishes the Master Rep. Is there a way to have Creo View publish the Default Rep instead? If not, is there a way to enable access to Simplified Reps in Creo View?
Hello, Not a savy Windchill/Creo user here, just an IT guy trying to support it lol. we have a desktop setup in one of our shop areas with a full install of Creo 3 tied to our Windchill 10.2 PDM - this is to allow these guys (welders) to pull up a full model before welding to check for any changes. We keep running into an issue of them not emptying their workspace and not having the latest data to work with. Has anyone figured out a good way to do this automatically? pretty much just want to delete and recreate their workspace without any human interaction lol. if worse comes to worse I'll use something like autohotkeys and use mouse clicks, but I'm thinking a script or maybe something builtin would be nicer.. thanks!
Hello all, By default, all EPM documents are published via ESI to an ERP system. My requirement is to publish to ERP/SAP only EPMDocuments which contain 2D Drawings. 3D drawings must not be published. The differentiation can be made via the OOTB attribute doctype. Customizing the ESIResponseMetaInfo.xml for separately for Drawings/Not Drawings is not possible. I did not found any other OOTB way to configure a filter based on drawing types. I think this requirement can be done only with customized code. Anyone of you had a similar problem to solve? Can you give me some hint where to start customization? Via an opened PTC case (https://www.ptc.com/appserver/cs/view/case.jsp?n=13841117) I found out the possibly the ESIEPMDocumentRenderer class must be customized. Thanks,
Hello all. Please help. I have an attribute indicating level of required approval rigour on documents and would like to route based on the value of the attribute. I'm not a java guru but, I have used an expression robot with the code below. I seem to be falling foul of the variable 'attrValues' and cannot understand why. What I want to do is check the value of the IBA 'DocumentLevel' for all documents (there could be more than one) in the promotion notice and pass each individual value to a variable DocLevel. After that, a conditional task queries DocLevel to route accordingly based on the highest level. Thanks in advance Expression Code below: :- +++++++++++++++++++++++++++++++++++++ //Use promotion request as basis.wt.maturity.PromotionNotice promotionNotice = (wt.maturity.PromotionNotice) primaryBusinessObject;System.out.println("promotionNotice: " + promotionNotice); //Get all objects on the promotion request. wt.fc.WTObject obj
Hi, Is any way to display the User's Full name on Orgnization > Creator page instaed of User Id, right now OOTB, User Id is displayed on Creator page, From User id it is difficult to identify the user, so if any how we can able to show full name of user then it will be easy for all. Regards, vivek
Hi Friends, I have started learning customizations and wasabout to create a Customized Object however it failing with message the "Domain administered Object is not assigned with the Domain" com.infoengine.util.IEException; nested exception is: wt.util.WTRuntimeException: The domain administered object has no assigned domain. Cannot check policy access. I had assigned the Domain and Confainer reference as below still the issue. WTContainerRef containerRef = WTContainerHelper.service.getByPath("wt.inf.container.OrgContainer=Test1/wt.pdmlink.PDMLinkProduct=Prod_1"); //pet.setContainerReference(containerRef);pet.setContainerReference(containerRef);AdministrativeDomain adminDomain = containerRef.getContainer().getDefaultDomain();AdminDomainRef ref_admi = AdminDomainRef.newAdminDomainRef(adminDomain); //pet.setContainer(adminDomain); pet.setDomainRef(ref_admi); SessionHelper.manager.setPrincipal("wcadmin");
I am looking to have a conditon for my references documents by restricting the referenced document to only a particular lifecycle state
Hi, could someone confirm the inability to display an integer attribute value without a comma? I never expected this to be a limitation, but found the following ideas to support it. Values without comma Hide comma for an Integer attribute on the UI Integer Attribute Display If there is no way to remove the commas, does anyone have a good way to validate a string attribute to ensure it only contains integers? I'm guessing a Regular Expression constraint on the attribute? Would be nice to use the Integer attrbute, so please vote up the ideas if you agree.
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.