Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi, We have done some lifecycle changes in windchill. Those objects which were checked out before lifecycle changes, couldn't be check-in. When trying to check in the rollback failure happens.(Attached the MS log extract).New objects can be checked-in without failure.We suggested users to do below steps to get back their data. Suggestion to users:If the changes are small, users can 'Undo checkout', and re-create the changes.If the changes are huge, please follow the below steps.Take backup of your cache folder (From C:\Users\<UserID>\Creo\.creo\.cache2008\Production)Using the 'WC cache recovery tool', retrieve those objects from cache folders.In the workspace, Undo Checkout of those objectsCheck out those objects in the same window.Open the objects in Creo, and use the data from retrieval objects to override the changes.Save & Check-in Please advise if you have any other better idea to fix the issue by admin/ by users. Thanks.
Hello everybody,in Creo Modeling, in the integration with Windchill, is it possible to define a softtype cad as in Creo Parametric?What is the way?Thank you,Matteo.
we have an IBA and it has a custom datautility. It returns a JSONComponent object , how can we use this datautility dynamically change the background color of the attribute?
Hello everyone,I'm trying to add a function to the Workflow Domain.The function must be call an external Java class, defined at path ext.internal.WorkItemFunctions, that search for all WorkItem defined for a persistence object (eg WTPart).In the Method server i receive this error (and my function is not visible at browser level 😞2022-03-07 17:58:35,605 ERROR [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.odata.core.entity.operation.AbstractOperationContainerConfig orgadmin - operation doesn't have binding parameterName = WorkItemByObject [FunctionPropertyConfig={"isComposable":false,"name":"WorkItemByObject","description":"Return Work Item by object OID","parameters":[{"isNullable":false,"name":"ObjectId","isCollection":false,"type":"String"}],"returnType":{"isCollection":true,"type":"String"}}]. Attached the js, json and java class implemented. Thank you
How linked MfgProcess and ReferenceDocument? I can't find this relation
Hi,When our user saves a Solidworks drawing locally and has the PTC Windchill tab "Save Viewable's" button enabled and then checks in the drawing to windchill common-space. A pdf is automatically generated and associated to the Solidworks drawing file in Commons-space under the details page. Where can we go to change the viewable type that's being generated locally by Solidworks from .pdf to .plt so Windchill markups may be created after the drawing has been Check into Windchill Common-space? edit: I forgot to mention when I posted this earlier that no CAD Worker used to create the Solidworks Viewable. Solidworks creates these and they are uploaded to the Server during Check in. Thanks,Don A
Actually "Type" implies Template name. Do we have any option to change it ?Thanks!Senthilnathan.S
Hi,I have attribute with three values. Its mandatory for user to select all the values.Selection of multiple attribute values is achieved with unchecking the Single Selection option.Is there a way to make sure WTPart doesn't gets created user has selected all the attribute values. Regards,Durga
So, according to this article it's not possible to "enable" "Context" field in Set Location window for Save As action. Now, I'm trying to use action "New Configuration Context" from WTPart. Sadly, here is the same situation - it's impossible to set different context than the one where user is "currently": So while this is "working to spec", has anyone tried or even been able to found OOTB code that is responsible for this? Is it something totally hardcoded that cannot be changed or was someone able to found + modify (customize) this behaviour?
Hello All,I have tried using Attribute Move Utility tool to move my IBA values (Boolean) to a Hard-Type (Phantom Part) and ended up with an exception -com.ptc.core.lwc.server.TypeAttributeMoveTool - Target attribute is a "com.ptc.core.lwc.server.LWCHardAttDefinition". This tool only supports moves for LWCIBAAttDefinition or LWCFlexAttDefinition! I am Trying to figure out alternate way to make this happen. Open for suggestions- Thanks and Regards,Rohan
So we implemented custom Publishing actions per cs211115 and initial tests were great. Combining search results and batch publishing is awesome. 3/4 of the way down they talk about "For example, if you want to hide the new Publish Tools default visibility value for All Members and give the access permissions only to the manager, modify the followings" and go on to suggest modifications to the roleaccessprefs.xml which we had done: <uic name="list_Rep" order="4010" enabled="true" defaultAll="false" defaultManager="true" defaultGuest="false" managerEnabled="true" guestEnabled="false"/> </global> My assumption was that admins and Product Managers would see this actions in search and folders pages. Normal members would not see the action. I have test user setup and actions still appeared. They suddenly, they were missing and then back again. I cannot make heads or tails of this. Am I missing something here? Is there a caching issue going on
Hello, I have attached the rule xmls and loader xml in the attachment. wt.ixb.publicforapps.Importer - Import failed for batch. actionName=PickExistingObject, tag=BusinessRule, docs=[wt.businessRules.BusinessRule:456745]wt.ixb.parallelImport.ImportEngineImpl - Import/Task execution failed!!! Error - Message: Resource bundle/Message key = wt.ixb.publicforhandlers.ixbResource/8- (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.- Nested exception is: wt.util.WTException: Rule configuration is invalid for rule wt.businessRules.BusinessRule- at wt.businessRules.ixb.forclasses.ExpImpForBusinessRule.preStoreValidate(ExpImpForBusinessRule.java:126)- at wt.businessRules.ixb.forclasses.ExpImpBusinessRuleCommon.storeObjects(ExpImpBusinessRuleCommon.java:47)- at wt.ixb.actor.PickingExistingObjectActorForPersistable.storeObjects(PickingExistingObjectActorForPersistable.java:184- at wt.ixb.actor.ActorTempl
Given a specific part, we would like to get linked promotion request and/or change notice that is still 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?
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.