Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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?
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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.