Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Issue: Windchill SolidWorks Publisher prints BLANK representations Windchill 11 - Solid Works Premium 2016 x64 SP 5.0 When publishing .slddrw files in Windchill, the representations are now coming out blank. This WAS working. Not sure what has changed. We did add some additional file types...see additional_file_type_publishrule.xml below. A normal slddrw as show in _SLDDRW.JPG - this is just how it looks in Solidworks then it turns into the visualization shown in _blankoutput.jpg NOTE: you can see the title block and some of the call outs (circled in red) appear in the visualization, but nothing else. Already looked into the following: CS48758 and CS111431 - not sure if either are related. Didn't seem to be. See SW recipe files - rcp1, 2, 2a, 3, 3a for current settings. FYI: We do not use the GS Worker Daemon service, running in Foreground instead. --> Here's an portion of a job log...refers to issue with EDZ? Jan 29, 2018 12:00:14 PM:Start J
Hi, I am attempting to match what we do in windchill to our business process. At development and prototype states the revisions should be Numeric. Once the objects are promoted to pre-production or production the revisions should become Alpha. I have configured for state based versioning and all looks quite positive so far, I then noticed that when i promote to pre-production from the earlier state the revision remains at Numeric until the item is revised. Also if I promote to Production without revising in pre-production this will also appear as Numeric rev until a revise has been done. Is there a method I can use that will promote and change the revision scheme in one step?
Hi All, I wish to customize a functionality in Windchill likewise to create a dynamic drop down list. If a user selects Value A in the Attribute A drop down list , Attribute B list should be populated dynamically. Likewise if Value B is selected in Attribute A again the Attribute B list should change and another list of values should get populated dynamically. Can you all please let me know like how it is done or possible. In case if anyone has any code snippet regarding the same kindly request you to please share the same. Thanks in advance! Best Regards, Aditya Achanta
Hi, I have been looking for some time into how I reuse certain Parameters from windchill in my Excel or Word templates. I can easily see the majority of parameters and reuse these, however I would like to see who last modified the document. If I look at the windchill database it shows who last modified the file quite easily but I simply cannot get this into my documents. Please someone can you tell me the correct syntax to drive this into excel. I have support with one of the main resellers and they are not making any headway on this for me. the parameter appears on the windchill page as "Modified by"
Hi, Can someone please let me know how to delete the documents in a container using a custom utility. Which API has to be used accordingly. Can anyone share me the code snippet if possible. Thanks and Regards, Aditya
I am working on a custom action where the user can select one or more EPM Documents and start the action. My implementation is currently using the request parameter to grab the oid’s/soid’s of the selected objects however it only works when the user selects 8 or less items. Is there another way to get the list of all the selected item rows at the time the custom action is selected? If so, can you provide some guidance? Current method used in popup JSP ids = request.getParameterValues("soid") or id = request.getParameter("oid") Thanks, Mark Bohannon Lenovo
Hello, I tried set default value of properties Change Management/Collector/Affected Object Collector/ Include dependent CAD/Dynamic Documents but it is not working. I created a loader file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE NmLoader SYSTEM "standardX26.dtd"> <NmLoader> <csvPreferenceInstance handler="wt.preference.LoadPreference.createPreferenceInstance"> <csvname>IncludeDependentsOptionForOpenCollector</csvname> <csvcontainerClass>SITE</csvcontainerClass> <csvcontainerName></csvcontainerName> <csvorganization></csvorganization> <csvparentContainerPath></csvparentContainerPath> <csvuser></csvuser> <csvclientName>WINDCHILL</csvclientName> <csvvalue>None</csvvalue> <csvlock>false</csvlock> <csvlockOnly></csvlockOnly> </csvPreferenceInstance> </NmLoader> in method server is information that
Dear All, I am trying to perform windchill cloning but I am having problem with method server and server manager getting crashed. Steps I performed: 1. Datapump of oracle database. ->expdp 2. Exported LDIF file and took backup of WindchillDS. 3. Copied HTTPServer, Windchill folder from host system 4. Setup a server with same host and domain name. Installed Oracle with same SID and credentials as host system. Run the PSI with standalone components where I installed only WCDS, Java, OCU. Then imported dump file of oracle using impdp. Imported ldif and restored using WindchillDS backup. Changed host property in db.properties file with host name and java.server.rmi.hostname in wt.properties file. Since in host machine filevault was setup I changed filevault property to false instead of true. After launching windchill shell and starting windchill, server manager gets crashed sometime leaving behind background method server running. Sometimes me
Hello, I'm looking for a workflow expression code that will launch a dialog box for the reviewer to select an item from a drop-down list when rejecting. The goal is to append the selected value to the Comments and write it into the database to later extract and report on workflow rejections. I tried using the Java Swing Dialog, but am stuck with an error... Here's the sample code (2nd line throwing error): String[] codes = {"DES", "DFT", "BOM"};String code = (String) javax.swing.JOptionPane.showInputDialog(null, "Select Rejection Code:", "You have chosen to reject this workflow:", javax.swing.JOptionPane.QUESTION_MESSAGE, null, codes, codes[1]);if (code.trim().length() == 0) {throw new wt.workflow.engine.FailedTransitionException(e2);} The error is: wt.util.WTException: java.awt.HeadlessException Does anyone know a way around the above error, or have an alternative method of launching a dialog box from a wo
I just tested an import from another 10.1 server onto my 11.0 server and I'm getting "hierarchy DisplayName is different fomr the value as found in database". When I check the attribtues on my 11 system the hierarchy DisplayName label is not listed but when I check my 10.1 servers they are listed, has anyone found a work around to this issue concerning the hierarchy DisplayName giving issues when Importing or any other similar issues others may have experienced? Thanks,
Hi All, Any recommendation on working with jquery in the change management. I have requirement to toggle attribute display based on another attribute. Windchill 11.1 new feature on cascade attribute doesn't satisfy as it doesn't have logical conditioning of the attribute values ( ie AND and OR). But somehow jquery is not fetching any object in the change management page. Help me if you have worked on this kind of approach.
Has anyone configured the rules.xml file when importing Libraries from one system to another (10.1->11.0) using the Import utility? Attached is the file I need to configure, I just need to know if attribute part errors I'm receiving when attempting to Import a Library is what ONLY needs to be configured in the rules.xml file?
Hi. Paths to actions.dtd and actionmodels.dtd are wrong in some \codebase\config\actions\*.xml They look like '../../actions.dtd' and '../../actionmodels.dtd'. Why? How i can fix this? Thanks.
Hi, I want to do three actions with using API. ・To create Supplier Organitazation ・To get Supplier Oranigazation Name ・To change the name and lifefcycle state I guess using "com.ptc.windchill.suma.part" ... Please teach me which API I use and show me to simple sample code. Regards, Gen_Kie
Dear Community, Looking for some guidance. I am just starting to configure Supplier Management on WC 11 M020. One of the first steps seems to be to create the Suppliers. To do that, I seem to need to create a New Organization in the Participant Admin page for each Supplier as that is used when you create the Suppler. Then you can select the Organization or create on at the same time. What I want to do is use a different Organization ID than the default list (CAGE Code / DUNS NUmber / ISO 6523). We would like to use the ID number generated in Oracle (ERP) for each approved supplier. How do I get to that pick list? I do not see it on the Attributes list for Organization ID in the Type and Attribute Management for Organization at Site or Org. So, how do I update that list?
I'm looking to add a Where Used report that only returns items if the parent part is the current version. WC 11, M020 I see there is some help here but report creating is not in my wheelhouse 🙂 https://community.ptc.com/t5/Windchill-Questions/Resource-for-reporting/m-p/448738 Attached is a version of the report but for EPM Docu's
I try to get the assignee from a ChangeActivity2 object How can I fetch the "Assignee" by calling webjects?
I have 2 parts in the affected objects table. They are both being replaced (superseded) by 2 different parts in the resulting objects table. Is there a way for someone looking at this change notice to know which resulting object is superseding which affected object? We could write this in the comment section, but that is very time consuming. Thank you!
Hello,I am relatively new to Windchill, so this might be very basic to you, but I have finished the Customize Windchill tutorial and still struggling with this. We would like to deploy external Java libraries to the Windchill server and use them in custom Workflows, in the transition part (where we can write custom Java code). I have tried compiling a simple HelloWorld class to .jar, drop it under /codebase/WEB-INF/lib/ and it is recognized by the server, since it passes the "Check syntax" test. However when the workflow runs, it fails to execute the code. So my questions are: How do we deploy our libraries to the Windchill server, i.e., to which folder do we copy them and in which format? (.jar, .java, .class?). Do they need to be compiled on Windchill shell or can I compile them with javac in my machine and just copy the generated file to the server? Is there any way to see the detailed logs from the workflows? (i.e. when the Java code fails during execution, read the
I want to remove partipants that users and groups of roles of the problem report. Please teach me which API I use and simple code.
I see that this has some traction in the community. What we have: We make hearing aids, they are small and so most of our units on the product build are small (oz). Some items like glue or resin (for the molded parts) are purchased in large amounts like gallons. When we imported our materials from Oracle into Windchill during our go-live process to create wtParts, we converted the large measurements to small (it was .007 gal = 1oz). All good. But, now we want to publish the full BOM from Windchill back to Oracle (ESI) including the Unit of Measure. Now we run into the problem of having tens of items that have different units of measure. Our BOM with an item that is 1 oz of something will result in 1 gallon in Oracle. This would be a problem. So what to do? Research seems to suggest that you can't change the UofM in Oracle. It doesn't make sence to use a large unit for a small product so why change it in Windchill just because we buy it in
Dear Users, I am trying to write a EPMSuggestBox which will shown all EPMDocument when the Global Atribute DOCUMENT_TYPE= 'SAAF' . I've tried the below search using where clause , but still the text box shows other EPM Documents where DOCUMENT_TYPE<> 'SAAF' . Can you please share your ideas. Regards Sriram Rammohan protected void setTaskParams(Task paramTask) throws WTException, IOException { WTUser localWTUser = (WTUser) SessionHelper.getPrincipal(); WTProperties localWTProperties = WTProperties.getLocalProperties(); String str = localWTProperties.getProperty("wt.federation.ie.VMName"); paramTask.setUsername(localWTUser.getAuthenticationName()); paramTask.addParam("object_type", "wt.epm.EPMDocument|com.xxx.DefaultEPMDocument"); paramTask.addParam("search_type", "wt.epm.EPMDocument|com.xxx.DefaultEPMDocument"); paramTask.addParam("where", "(name='" + this.search_term.trim() + "')&(checkoutInfo.state!
Let me describe my problem .. We have consolidated two instances of same versioned Windchill system into one.. Now we are observing some issues with Family table. For doing this, we have used custom method to load metadata & Content and then creting links for those loaded metadata. But the present situation is that we are facing problem with FT objects. - For genric part, member in Family Table tree is crossed ( atatched the screen shot ) - For Instances, Family Table is not getting populated. I am looking for cause for this, then only I can able to understand which step of migration went wrong or which has to be repeated to correct it. advise related to this would be very helpful in proceding furthur .. we are actually stuck at this point ..
Hi I have a webject to modify the password of a user. When I run this it produces the error: (com.infoengine.util.IEResource/81) com.infoengine.exception.fatal.IENotFoundException: File not found: /ext/savaco/lvd/QueryUserDetails.xml The xml file does exists at C:\PTC\Windchill_10.2\Windchill\tasks\ext\savaco\lvd and looks like; The java code looks like: Can anyone know why this error is issued ? Best regards Bernard
Hi Is there any possibility to create a new view version of a WTPart where the "Revise Transition" is not defined? If I use WTPart mPart = (WTPart) ViewHelper.service.newBranchForView(part, "Manufacturing"); mPart = (WTPart) PersistenceHelper.manager.store(mPart); I will get the error, that no revise transition is not defined. The method ViewHelper.service.newBranchForView does not throw any exception. This is thrown when storing the new WTPart. Caused by: (wt.lifecycle.lifecycleResource/223) wt.util.WTException: Revise transitions not defined for current version in life cycle template. I don't wan't to set any "dummy" revise transition for only creating a new view. Did anybody find a workaround? Thanks for any help.
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.