Windchill
Recently active
I would like to be able to do the following: On a document have a date IBA and an Int IBA. within the workflow, use an expression to add the integer (number of days) to the datestamp to get a new datestamp that I can then write back to another IBA in the doc. My code checks out syntactically but when I run the WF I get a java.nullpointer.expression. the code is: wt.doc.WTDocument theDocument =((wt.doc.WTDocument) primaryBusinessObject); com.ptc.core.lwc.server.PersistableAdapter obj =new com.ptc.core.lwc.server.PersistableAdapter(theDocument,null,null,null); obj.load("AdditionalDays","resubmitDate","DateDue"); wfAdditionalDays= obj.get("AdditionalDays").toString();wfresubmitDate= obj.get("ResubmitDate").toString();wfDateDue= obj.get("DateDue").toString(); // convert the Due Date off the Document unto a java.sql.TimeStampjava.sql.Timestamp wfDueDate2 = java.sql.Timestamp.valueOf(wfDateDue); //Convert Additional days to intodays=java.lang.Integer.par
Hi, I'm trying to enable Auto naming for one of the WTDocument subtype with the logic that the name should be "String_<WTDocument_Number>". Has anyone tried this? I coudn't figure out how to achieve this.
In my Windchill 11 system after I complete a CN, ESI never completes. It just sits in a running state at Post Release. It worked in my Windchill 10.2 system. I copied my ESI.xml file and I also copied my folder structure to my new server with the same path information. What am I missing?
hello, is it possible to have a report that shows associated parts for cad documents in a structure? or cad documents for parts in the other way. thanks
Hi I'm SeonHo Windchill is running on one PC.On other PCs that share a single router, they can access Windchill by modifying the hosts file. Another PC using another Internet network [another router or another LAN] is not accessible to Windchill. Through the port forward rule, I set the external IP & the external port to the internal IP[IP on windchill installed PC] & the internal port. The internal IP used is the IP of the PC with Windchill installed and I used 1521,443,80,8010 as the port number. Some of the used <external IP: external ports> displayed a "It Works!"then I tried to connect with <external IP: external port> / Windchill This indicates ERR_CONNECTION_TIMED_OUT. I have add the IP and DNS of the PC that installed Windchill in the hosts file of the PC trying to access Windchill. In addition, after port forwarding, I added the internal port I set as an inbound rule in the advanced settings of the firewall. How can I access Windchill on a PC th
Today, in Windchill 10.1 m040, we have one CAD model, but it represents 2 or more colors, so we have a neutral wtpart and 2 or more variant wtparts to represent different colors. To make it work, we had to create separate variant models within a family table (neutral - generic) so we can associate the variant CAD models to the variant wtpart as owner. This is not desirable, but the only way I know of to make it work.Good news maybe ???I have heard in Windchill 11, that you can associate one CAD model to the neutral and variant wtparts all as owner link.Can anyone show screenshots how this is done, how do you drive the correct wtpart variant in the applicable BOM structure when the CAD assembly has that 1 CAD neutral model.Thanks!
I use below code to modify WTDocument attirbute by batch, a wired problem, I have many customized attributes like: "BoardNumber,SchematicNumber,DrawingNumber,FilmRev,description,CreatedDate,ECONumber,LeadStatus,CADTool,CADToolVersion,LastUser" I can update "BoardNumber" independently, but I can't update it with other attributes together, get the error " ERROR : wt.pom.connection Administrator - POMHandler.freeConnection: connection active. java.lang.Throwable at wt.pom.POMHandler.freeConnection(POMHandler.java:287) at wt.method.MethodContext.freeConnection(MethodContext.java:1974) at wt.method.MethodContext.unregister(MethodContext.java:889) ... ", other attributes any be updated together. In "Type and Attribute Management", "BoardNumber" is required , but like "LeadStatus" is also required, who could help me? Thanks in advance. for(String key:map.keySet()){ System.out.println(key+" : "+map.get(
We are currently in process of setting up OAM with Windchill, could you please let me know if you were able to successfully implement ? If so is it possible to share the configurations need to be done from Windchill side and OAM side ? Currently we did configure the OAM for a POC work but doesnt seems to be working. When we enable OAM we are getting user not found from Corporate LDAP, if we disable OAM the user seems to have got it authented. Regards Baalajee.T
We have been uploading data from our Windchill server for 1 month and 24 days, but still not all gadgets are populated with data. Is this normal? and if yes how long time will it take for all gadgets to be populated with data? I also noted that some gadgets state that they have not been updated for 41 days: Even when we upload data daily, weekly etc: Is it just me beeing impatient ? 🙂 Thanks in advance for any feedback or experience.
I'm starting to really hate this new Solr setup procedure. I'm trying to follow the guide and am doing the Configure Basic Authentication for Solr (Standalone Mode). I follow the directions. It generates my CRYPT password and then it will not let me restart Solr. I used the same user name and password as I did to install Solr. Here is the error I get on startup: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)&
Can anyone share java code for renaming EPMDoc Number and Filename?
Hi All Can anyone share the steps to add a custom Mashup as an app to LandingPage in PTC Navigate? Do we need to have the App Development Kit installed for this? Is it possible to add the mashup to the existing apps, like 'View Document'. Thanks Mahesh
Looking for resources on ThingworxNavigate 1.5 . Has anyone installed & configured Thingworx Navigate 1.5 extension for WindchillLooking for resources on ThingworxNavigate 1.5 . Has anyone installed & configured Thingworx Navigate 1.5 extension for Windchill?
I'm using this blog entry to post some of the custom utilities I have created. As I create new custom pages that interact with Windchill data, I will add them to this entry. I will include all the code so you can implement them and comment on improvements, etc. As always, use my code at your own risk, and test before implementing in production.These examples were developed to provide functionality that wasn't included OOTB in Windchill at the time. I still don't think utilities exist to perform these exact functions. We have migrated data into the system several times from several different sources. Sometimes it is easier, or only possible using PTC tools, to import the data as-is. That results in non-standard data that requires some modification to bring it in-line with standards used by content already in the system.So far, my custom pages don't interact with OOTB Windchill pages. Windchill includes a framework that makes that possible, and you can do some amazing things with it. My
This is a quick share to all, especially the folks in my training class last year, PTC Windchill 11.0 System Maintenance. The conversation was excellent and I hope to maintain connections with you all. We did not spend much class time learning purging but it was a discussion point. I wrote this a long time ago but it should still work in current versions. If you follow the standard rules that once something is released, you do not need to keep all the iterations the led up to the latest iteration. You would construct a purge query to clean these out. But how do you know which products to target first and what the expected results of your purges will be? This report looks at how much file space can be recovered by purging various products. I call this "bloat". You can execute this in TOAD or other SQL programs. My suggestion would be to run this first, do your purges, then run again to see difference. Don't forget to remove unreferenced files from vaults. Enjoy. SELECT P.IDA
I have a workflow task which is assigned to a WTGroup. When the task is alive, users get added and removed to the group. The workflow tasks which are alive does not reflect any changes made to the group, I tried modifying the wf team and it works only for new tasks not the already existing ones, reassignment through API works but this is not a reassignment so I do not want to use that option. Any thoughts on an API which I can do to refresh the existing tasks? Thanks in Advance.
So I am going through the new setup for Solr in my test upgrade environment and have gotten stuck with the step where it says to generate a password in encrypted format. A few questions on it. Am I supposed to use the same user name and password that I created during the install process? I am getting the following error: 'java' is not recognized as an internal or external command, operable program or batch file. - I had to install java to get to this point and I am guessing it knows where it is.
I have a Document sub-type called "Reference_Document" sub typed from WTDocument and i'm trying to hide the attachments step in creation wizard every time a user attempts to create a Reference Document. I tried modifying the Attachment-actions.xml and included hidden=true in the action name which hides the attachment tab for all document types. Is there a way i can do this so that attachments step only for the Reference_Document will be hidden?
Hi All,I want to remove distribution target link for a large no of parts. Is there a OTB utility to do so? If not then can someone please suggest me any API that will help me remove the Link.RegardsSudeep
Hi All please can you give me some advice on best practice for attaching a document (*.pdf, *.doc ect) to a model or drawingin Windchill PDMLink 9.0 m040many thanksDavid
Doing a test migration my classification explorer tree view is not showing anything. Has anyone seen this before? And have a fix? PTC at this time does not.
Hello,I am running eclipse from my laptop while Windchill runs in the server.Everything worked fine until I had to switch from HTTP to HTTPS.Now when I run anything I get the following error:Nested exception is: wt.util.WTRemoteException: Unable to invoke remote method; nested exception is:wt.method.AuthenticationExceptionat wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:810)at wt.services.ServiceFactory$ClientInvocationHandler.invoke(ServiceFactory.java:349)at com.sun.proxy.$Proxy0.refresh(Unknown Source)Any suggestion how to fix it while have the server running on https?I tried to install the certificate in the local keystore but the error is still there.Thank you!
Hi. Method wt.part.PartDocHelper.service.getAssociatedDocuments(WTPart wtPart) returns documents. Is there similar method thas returns all the same documents, but together with appropriate links? Thanks.
We have a requirement from a customer to federate data from our Windchill system to theirs. We have implemented some of their requirements, but now need to implement some additional transactions. Right now we don't have the bandwith to staff this internal and are looking for possible resources, companies, that could help us staff this need.Please email me directly @ -if you have this expertise, or if you've had similar work done for you and could recommend a partner for us to work with.Thanks,Steve D.
Hello, In defining a new workflow for a specific type of Variance, I need to set a conditional connector based on the Recurring attribute (being True (1) or False (0)). The two questions I have are: 1) What would be suggested as the variable definition to bring in the Recurring attribute? 2) What would the Routing Expression for this be? I would like the result for the routing events to be “CN” or “NO_CN”. I am new to building workflows and appreciate examples that others would be willing to share. Kelly
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.