Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I've seen the Knowledge Hub on Security Labels and this page which allude to how to display the label on a details page. https://www.ptc.com/en/support/article/cs31877?language=en&posno=1&q=info.jsp%20security%20label&source=search That may have worked from 9.1 but I think things have long since changed since then. Tables and Security Label history is covered as well as watermarks. Looks great. How then can they be added to Details page? BAE showed a data utility customization back in 2015: https://community.ptc.com/t5/PTC-Community-Networking/Security-Label-Information-Needs-To-Be-Obvious-And-We-Need-A/m-p/451702#M765 Has anything been improved in newer versions (11 or 12)?
Hi, we have implemented a custom Odata Rest Endpoint. I want to return http status code 201 Created when an object is created and the status code 200 when an object is updated via post request. I couldn't achieve it by setting the boolean variable setCreated on the ActionResult that is returned. Does anybody have an idea? Thanks in advance.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://[URL]/Windchill/servlet/odata/v4/QMS/Quality. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 401 That's the exception I get for making calls from Chrome or Firefox. Using postman the call works fine but chrome and firefox do a prefetch request using an OPTIONS header and it seems like Windchill isn't responding properly to that request. By default options shouldn't have an authentication header and Windchill shouldn't require one. But it seems Windchill is requiring it.I've updated the web.xml file inside Windchill/codebase/WEB-INF/web.xml with the following but Im not sure if any of my changes are being reflected. : <filter> <filter-name>ContentCorsOptionsFilter</filter-name> <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> <init-param> <param-name>cors.allowed
Added a new wizard to validate the part and its child documents or parts. how to fetch the list of objects that are set of promotion in previous step
Hello, Does anybody know the API to get the Template a Change Notice was crated from?
Hi ,How to get related resulting change notices from parts. Please provide the syntax@
Hi colleagues,Anyone have experience auto generating GTIN # using WIndchill or ThingWorx or 3rd party tools and WIndchill/ThingWorx could integrate with? Thank you in advance.
Hi all, LifeCycleHelper.service.allStates() and The method addMiniInfo(NmOid, String) from the type IconComponent is deprecated. Can any of you suggest alternate APIs for the same. Thanks.
Currently, we have a requirement of the automatic update of the Active directory group from the Windchill in a define timeline for ex. once in a day.The update is happening when we are clearing the cache for the group or restarting of the environment but not on automatic way.
Is there anyway to pull the latest assignment from a user on a particular assignment using java? Currently, I'm working on a report that displays the votes of each user that has been assigned an assignment. However, when it get's re-subrouted, the code I have currently does not know which vote was the latest so it will display "old" votes. I'm currently working on code that attempts to find the latest timestamp of an assignment's creation and use it but even that's becoming messy.
Hi Need API for revising WTPart subtype.Need to revise and set the revision to a later revision.Tried using below. But this does not works for revising WTPart Subtype with custom revision scheme.Anyone if tried ,please share the code. Thanks.
Hello,Trying to track the date when a user is added to certain groups or when he is removed from the group. I don't think windchill is storing this information. Any ideas?
Hi,Could anyone please let me know which API is used to achieve this action -> "Build Associated Part" from CAD Documents Actions Menu. Thanks in Advance! RegardsGuru
Hi, I am also looking to integrate walkme with windchill but not getting relevant material, can you please provide me some details around the same. Regards, Chirag Agarwal
As per this thread , same issue. Hey! It's been 5 years since this reply, and I'd like to learn more about Windchill customization. I'd like to create custom endpoints for Windchill's REST API. Are there any updates, documentation, guides, or videos for that? Thanks.
Hello everyone.I have the value of a variable of the WTContainerRef class. Please tell me how to get the values of context attributes using JAVA?
Hello everyone, can you please tell me how can I add a prefix from business attr to an autogenerated number?How to get this number: ABC.0000185268? <AttributeValues objType="wt.part.WTPart"> <AttrConstraint id="number" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"> <Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/> </AttrConstraint> </AttributeValues>
Hello,I don't have access to the Discussion "How to run background task periodically ",https://community.ptc.com/message/472772found in https://community.ptc.com/t5/Windchill/Is-there-anyway-to-schdule/m-p/184990#M56259 postWhy i dnot have access to the original topic?I would like to get an access.? Thank you so much for an answer.Best RegardsPetr H. Interesting answer was published in the original discusion:If you wan't to use a time, you need to create a Windchill context : import wt.method.MethodContext import wt.method.RemoteMethodServer import wt.session.SessionContext import wt.session.SessionHelper new MethodContext(null, null) SessionContext.newContext() SessionHelper.manager.setPrincipal("wcadmin") RemoteMethodServer rms = RemoteMethodServer.getDefault() rms.setUserName("wcadmin") rms.setPassword("wcadmin") But as Bjorg said, it's not the best way. In fact, if you have several MS & a BGMS, the thread would run everywhere, and it would probabl
Hello, I must to lock a Attribute after the first release process is done, and the first Version is in Status released. So that for all following Versions (Revise) this specific Attribute can´t be add, even the status is "In work". AA status "In Work" >> All Attributes can be changed as normal.AA status "accepted" >> Sure, all Attributes are blockedAB status "In Work" >> All Attributes can be changed as normal.AB "Released" >> Sure, all Attributes are blockedAD "In Work" >> specific Attribute is blocked, all other Attributes can be changed.XX >> the specific Attribute must be blocked for all following Versions, after the first Version is set to "Status" Released.
Hello Everyone, I have setup windchill eclipse configuration and set up values for the method server as shown below but when I attempt to debug configuration it says refused to connect can someone please help me out to overcome this. value="true"/><Property name="wt.manager.cmd.MethodServer.debug.args" overridable="true" targetFile="codebase/wt.properties" value="-Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=host name:8000,server=y,suspend=n"/> Regards,Karthik
HI All I had gone through the Article and set the required parameters for the email notification.but still its not working. 1. set parameter on the workflow side2. set parameter on the Windchill. Regards,Manjunath
I wanted to share this as another method of sending emails. This option has you turning off send notification on a workflow task, mine is called "CCB Review". In a workflow expression, I call out my helper class and method like so: customization.workflow.MyWorkflowProcessHelper.sendNotifications((wt.workflow.engine.WfProcess)self.getObject(),"CCB Review"); This looks up all workitems that match that task name and creates its own email. They key here is the bolded lines in "createNotification". Here is where you can change the template processor AND the html template. I for other reasons chose not to but this opens up the possibility of completely customizing what users see in their email boxes. Hope this helps someone. /*** Fires notifications for an Assigned Activity where notification is turned off in the template.* This allows modification of the activity before the emails are sent.* @param process, reference to the current workflow process* @param activit
Dear Community, we are planning to change the Windchill Authentication to Form Based Authentication.Windchill is connected to the Active Directory of the customer as well.How does the configuration look like in the tomcat settings? Does anybody have an example? We have entered in the server.xml the Realm entries as below (but we are not sure about how the Active Directory entry look like):In the web.xml file:Thanks in advance.
Hello to all,I am using Windchill 11.2.1.2 with Creo Modeling 20.3.2.0 (via wgm 11.2.1.7) and Creo Parametric 7.0.5.0.In both cases I am experiencing a notable slowness, both of the WGM and of Windchill within Creo, of the Workspace update.Example:When I modify a WT part or a Cad Document (the check-out is already done), by changing a simple attribute and saving, the workspace remains to update itself for a few minutes.I did the test on multiple PCs and the result is the same.Even check-in operations with few components are very slow.From a browser, on the other hand, everything works correctly.Among other things, if I go to check in the browser, I find the change already made, while in the wgm the workspace page is still updating.Another thing: changing server and passing in the test environment (as you can see at the end of the attached video) the same operation is ok.What can it depend on?Do you have any ideas or experience on this?Matteo.
Hi All, Please let anyone know that which class/API is used to call this action from CAD Structure Browser, Display->Merge Uses & Display->Separate Uses RegardsGuru Prasad
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.