Windchill
Recently active
Hello everyone! I try to execute a post request, but get this error: {"error": {"code": "INVALID_NONCE","message":"A potential security problem was detected. Refresh the page and try again. If the problem persists, contact your administrator." } } I found this article: https://www.ptc.com/en/support/article/CS312447 It says that a token is needed, but I already added it and still does not work. Here is the request that I execute to get the token: http://server/Windchill/servlet/odata/PTC/GetCSRFToken() Here is my code for the post request: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import org.apache.http.HttpEntity; import org.apache.http.auth.AuthenticationException; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.ClientPro
I would like to hear from the people that have enabled WPA for their environment. How is it working? Has it provided any actionable recommendations? What were the results of those actions? Anything else that would be of help. I probably won't find this out but I'm curious how many use it.
I decided to tackle a large purge job on a single product area. It was way to large to purge in a single shot. The goal was to keep only 2 iterations of Released objects. I estimated there were 120K purgable iterations in just this area. I will paste some graphs and notes at the end but here is what I learned: If too large, try determining a threshold by adjusting the number of iterations to keep and slowly walk that down. Purge Parts and CAD docs together. Too many dependencies to leave out one or the other. Use preview - HTML to get a count of the total number of objects found. I did not want to exceed 11000 items in a single job. There is a preference to control this. Chunk - There is a preference that controls how system chunks purge jobs. So a 10000 object job chunked at 1000 objects will create 10 chunks. Chunks are random so if an item needed to purge first is an a later chunk, dependent objects will failed to purge. See here: CS206660 Chunk of -1 will b
Hello everyone! I get information from the server using the OData REST API.I have a global attribute, which is a collection: I want the server to return only one value from the collection when requested. In the request, I want to specify a value that will determine the desired collection value. I understand that such logic can not be written in the request. Therefore, I tried to implement this in the JavaScript domain file. I thought that it should be a function that first receives the values of the collection attributes from Windchill, matches them, and then uses the value passed to the function as a key and returns the desired value. I saw that in JavaScript you can use classes from Java: var EntityAttribute = Java.type('com.ptc.odata.core.entity.property.EntityAttribute'); But I do not know how to use the code to get the values of global attributes. I did not find documentation for odataWeb.jar (com.ptc.odata...) library.Tell me, please, how can I do this?Thank yo
Hello everyone! I tried to get the values of global attributes through RMI, I could not do it.Tell me, please, how can I do it?Are there other ways in java to do it?For example, through the odataWeb.jar library classes?Thanks in advance! Respectfully!
Hi everbody, do somebody have an experience with case when you need to convert JSON to Infotable, but when in JSON are two or more objects with the same primary key and you need this into one row of infotable? Example: from JSON: "results": [ { "MaterialNumber": "123456789", "Color": "Red" }, "MaterialNumber": "123456789", "Color": "Blue" } ] to infotable:
Is there any way to update in a massive way STATE value from INWORK to RELEASED for parts in Windchill? Thanks Josep
Hi all, We have enabled SSO on one of Thingworx Instance. Now we want to implement SSO for multiple Thingworx Instance. Is it possible to use same Ping Fed server and Azure Enterprise Application ? If yes, please share steps/procedure to implement it. Thanks in advance /VR
Hi. I need java api to get context-dependent "folder.id" from soft type OIR. I have soft type id looking like "wt.doc.WTDocument|ru.pts.TechDoc|ru.pts.DesignDoc". I found two methods: FolderContextHelper.getServerAssignedOIRFolder(typeInstance) FolderContextHelper.getPregeneratedOIRFolder(typeInstance) but they require TypeInstance and i don't know how to get it without object. There is posibility to get folder by PersistableAdapter, but the result is context-independent. Thanks.
We have family tables stored in a read-only product. When the family tables are updated, they're moved from the read-only product to one with write access. The family tables can then be checked out, updated, checked back in, and moved back to the read-only product. Moving the family table along with its instances facilitates the publishing of every version of every instance. This creates thousands of unnecessary items being sent to the publisher. How do I configure the publishing rules in the Worker Agent to prohibit this behavior?
Hello everyone! Please tell me the differences between Info * Engine and OData REST API.Which technology should be chosen and which one has great prospects? Thanks in advance! Best Regards!
Could anyone post a walkthrough on how to set up VS Code for Windchill customization/tailoring?
Hello,We work with windchill 10.2 and creo elements/direct modeling 18.1 and we want to load drawings (mi-files) automatic. Normally it should work with "sd-uwgm-element-load" from modeling with lisp programming, but I get an error "Illegal call to action routine”. For 3D files (sdac and sdpc) this works perfectly but apparently not for 2D files. Is there an other way to do this, or is it possible to change this command in modeling.Thanks in advance
Hi, I have 10 licenses ptc_navigate_author_named. But the problem is that I can't use any license If I see the User Groups, I have not a group "navigate_author_named_group. This group should be created automatically from LicensingSubSystem, is it right ?. Can someone help me, please? I am a newcomer to "Thingworx Composer." Version: ThingWorx 8.5.1-b90 " Thanks you
Hi All, We have Windchill Quality Solution (Risk and Reliability) connected to Windchill PDM Link through windchill integration. We imported latest BOM and created some FMEA data. We want to create separate FMEA data when are parts or product are revised so that we can see the FMEA for version A and for Version B separately. I found below in reference guide but this does not explain. if i sync BOM again with latest expansion criteria than it will replace the version in System Tree Item. Do we need to create separate Filters in windchill and system files based on version? Let me know if anyone has any idea. Thanks for advance.
Hello, Just wanted to know when can I expect newer version of Windchill RV&S after 12.3.1. Would be better if had specific month. Thanks in Advance.
Is it possible to add custom validator for enabling or disabling "Check Out" actions in Search Result Table? Not able to retrieve searched objects through uiValidationCriteria method by extending default validator. Is there any way to customize it? As part of a requirement, we have to enable the Check out only to the authorized users of a WTDocument. The custom validators are implemented on the object properties but could not find a way so far to extend the same on the search results table.
Hello everyone! Please tell me how can I get the values of global attributes in a WTDocument using OData? Version of Windchill REST Services - 1.4. Now I can only get attributes such as number and name. Thanks in advance. Regards!
Hello folks, I'm trying to get the AfterLoader set up... when following the instructions for running the following javac -classpath %CLASSPATH%;%WT_HOME%\srclib\tool\Annotations.jar -d %wt_home%\codebase AfterEDRloader.java i get a invalid flag error... I'm a touch new... I don't think there are environment variables set on my install. What would my %CLASSPATH% be set to? Thanks for any help.
Hi All, I am Trying to install WBM on target i.e. Windchill 11 machine, when i try to install it by using PSI, the WBM is not detected even i placed it in staging area. also i am not able to locate setup.exe file in downloaded media for WBM. i have gone through WBM installation guide, but not found information about very first step of installation. or is any other method of installation without PSI. Kindly help me to explore the WBM. here is snap of WBM media folders. WBM media folders, no setup.exe found here Regards, Vivek
I am working with Windchill 10.2 currently and the question has come up about folder permissions. What we would like to do is create a top level product container and create folders for various groups within that container. These groups are to be kept separate from each other, meaning each group will have access to their own folder but not have access to the other folders in the container. With that being said, can we control the permissions at the folder level or will we need to create a separate container for each group? Thank you in advance for your time and have a good one.
Hello, I am building a utility which will give me the list of child part numbers as an output for a given part number and I want to expose this utility using Rest API so that the users can execute this utility themselves. I have followed the below steps to get the utility in Swagger UI but I am not able to see the added entry. i) Added the below entry in rest.properties.xconf <Property name="ext.webservices.rest.test.resources" multivalued="," default="ext.webservices.rest.test.TestUtility"/> ii) Written a java file. PFA. Please let me know if there is any other step I need to follow to achieve the expected result. Thanks in advance. Regards, Hari R
Hello, I want to know how we can implement listeners in Windchill. I have never worked on listeners, so please guide me to a proper article to implement it from the scratch. Thanks in advance. Regards, Hari R
Hi, We are trying to connect to external url, we imported the ca cert into the jsseccacert file in java/jre/lib/security. but still we are getting certificate error. is there any other place we need to configure the cacert.
Hi Just installed Windchill 12 version. no updates in terme of ui design. We even can't tell if it's an 11.2 or 12. Anyone knows why this new strategy from PTC ? will the big new version be 13 or 12.1 ? Regards
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.