Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
We have a custom dll code which was working on previous version on WGM but post updating WGM it failed to compile. Need to know how to resolve compilation issues. Do we need to rebuilt toolkit libraries or there is another way to achieve this?
Version: Windchill 12.1 Use Case: What is the difference between getDataValue and setModelData Methods in Data Utility?Description: What is the difference between getDataValue and setModelData Methods in Data Utility?Cusrious to know use cases of both methods
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.1.0页面右上角高级搜索无法使用,点击没有反应,打开F12后显示报错,Uncaught TypeError: Cannot read properties of undefined (reading 'rendered')需要协助调查一下哪里报错。
Version: Windchill 12.0 Use Case: How to customize the Thumbnail Navigator in order to show the buttons 'navigate Thumbnails' and 'Related Information' besides each other and not as in the ootb-way where one hides the other?Description: Since either 'Related Information' or 'Navigate Thumbnails' is constantly hidden and users (!) don't remember what they don't see, I wanted to make both buttons visible at the same time, as alternatingly pressed/unpressed buttons. Small fix, huge transparency improvement.Well, the question is now about which file to customize...?It seems to end up all in the huge ...netmarkets/javascript/util/ext-and-extensions.js , but I suspect that this is not the 'real' source which we would want to customize...I also think it's not 'officially' supported for customization, but nevertheless the layout must be defined somewhere... Has anybody a hint or an idea?Best Regards 👍
Version: Windchill 13.0 Use Case: I want to create a Problem Report using the API using the Part number no the Product Id.Description: I am able to creae a Problem report using the provided api PUT callWindchill/servlet/odata/ChangeMgmt/ProblemReports.The issue I have is I do not know how to create one using the part number which is what the users refer to it as.This request works{"Name": "Scott's Problem Report created from WebLogic API call","Description": "Something Bad Happened.","State": { "Value": "NEW" },"NeedDate": "2026-02-15T00:00:00+00:00","IssuePriority": { "Value": "HIGH" },"Requester": "some_user","Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:13211')"}My end users do not know this Id. They know the Part attribute Number only.I have tried various things like"Context@odata.bind": "Containers('OR:wt.part.WTPart.Attribute.Number:MD0000020932')" "Context@odata.bind": "Containers('OR:wt.part.WTPart.number:MD0000020932')" he
WTPart - > Related Objects -> Distribution Table,if I right click on any row, the object type or the id is com.ptc.windchill.esi.tgt.ESITarget%3A299573938I need to add custom logic to the 'Remove' button, depending on if the part is on any CA or not. So, from com.ptc.windchill.esi.tgt.ESITarget%3A299573938 is there a way to find out which WTPart it is related to?indirectly, I am looking for a query/api to get WTPart from ESITarget
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS08PersistenceHelper.manager.delete();객체 삭제 하면서 발생하는 에러.Here are the errors that I facedINFO : wt.system.err wcadmin - wt.util.WTException: java.lang.UnsupportedOperationExceptionINFO : wt.system.err wcadmin - ?? ??: java.lang.UnsupportedOperationExceptionINFO : wt.system.err wcadmin - at wt.fc.collections.UnmodifiableCollections$UnmodifiableIterator.remove(UnmodifiableCollections.java:895)INFO : wt.system.err wcadmin - at java.util.AbstractCollection.retainAll(AbstractCollection.java:410)INFO : wt.system.err wcadmin - at wt.projmgmt.StandardProjMgmtService$3.notifyVetoableMultiObjectEvent(StandardProjMgmtService.java:552)INFO : wt.system.err wcadmin - at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:298)INFO : wt.system.err wcadmin - at wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:263)
Is there an API to get all the products in which the given user is present?
I am trying to add user to particular license through the code. Before adding user to that license, I wanna check how many licenses are already consume (kinda validation). By knowing the number I'll come to know that whether I can add user to that license or to throw some proper message back to user.
Version: Windchill 12.0 Use Case: Need to add Date on which Part and Documents was shared to a project.Description: I am trying to add "Shared on " Date for Parts and Documents on the Project table or Product Table. That is the same date which can be seen on the Collaboration tab under Project Revision table on Part or Document page. Its a Non Persistable attribute.Tried adding as attribute under availableattribute.xml and mapping it to the OOTB data utility (ProjectRevisonDataUtilities present in the itereroperobilityops.jar( in the enterpriseui.datautilityproperties.xconf but getting error in MS saying No display value for the said attribute. Seems that data Utility is not read. The other way tried is to extend the FolderTablebuilder and adding the attribute there and mapping it to the data utility but this way the extended class is not getting called.Wondering what should be the correct approach for this requirement. The column is available on a different table but not abl
Related to this idea request: https://community.ptc.com/t5/Windchill-Ideas/Support-conversion-of-fractions-to-decimals-for-IBA-real-number/idi-p/1039253 I started poking in to see how this could be done. I noticed that attributes with real numbers with units have a JS validation script associated onBlur. The function is "jsca.columns.numericRenderer.validateFloatingPointWithUnit" but surprisingly, this function is defined in 5 different locations in the codebase. Not sure which one is the one called when the attribute entry is validated but it should not be too hard to narrow that down. Digging further, this function simply takes in a regular expression and ensures that the entry matches it: Pumping this into AI let's us know what its checking: The regular expression [^0-9\-\,\.E] matches any single character that is not a digit, a hyphen, a comma, a period, or the uppercase letter E. Here is a breakdown of the expression: []: This is a character class, which specifies a set o
Hi All,Trying to see how make below possible.Suppose user is working on Task page and he gets logged out from Windhcill.When he relogin's he get back on the Task page rather than landing on home page.Is there a way we can do it?Thanks in advance
Version: Windchill 13.0 Use Case: Call DataUtility uder Text box that is rendered by Table builderDescription: Call DataUtility uder Text box that is rendered by Table builder.public Object buildComponentData(ComponentConfig config, ComponentParams params) throws Exception { Map<String, GuiComponent> data = new HashMap<String, GuiComponent>();GuiComponent comp = new TextBox();((TextBox) comp).setName("editABC");((TextBox) comp).setId("editABC");((TextBox) comp).setRequired(true);((TextBox) comp).setWidth(30);data.put("editABC", comp);LOGGER.trace("*** editABCTableBuilder buildComponentData OUT");return data;} @Overridepublic ComponentConfig buildComponentConfig(ComponentParams params) throws WTException { ComponentConfigFactory factory = getComponentConfigFactory();AttributePanelConfig attributePanelConfig = factory.newAttributePanelConfig();GroupConfig groupConfig1 = factory.newGroupConfig("editABC","Edit ABC", Integer.valueOf(1));AttributeC
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.5現在、Creo View Adapter for NX を使用して NX ファイルを変換する際に、以下のエラーが発生しており、 NXのデータと変換後のデータの表示が異なります。 以前、類似の問い合わせをした際、ジオメトリ情報の生成に失敗している状態と回答いただきましたが、 今回も同じ原因か調査いただけないでしょうか? 関連問合せ:17939252
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.1.0用AD域账号登录windchill失败;配置完Info*Engine 管理后,可以在参与者管理搜索到对应的用户,但是无法通过账号密码进行登录;
Version: Windchill 13.0 Use Case: For a change status monitoring system based on SQL reports against the oracle source tables, we want to accommodate a specific department's practice of tracking in-progress efforts by saving and updating comments on open tasks.Description: As https://www.ptc.com/en/support/article/CS153902 makes clear, WFVOTINGEVENTAUDIT stores user comments for completed workitems, but it is not populated before they're complete. However, users can enter comments on a task and save it without completing it, and there is no alternate source mentioned in this article for comments on running tasks. I have a complete change task tracking setup already built, and pulling comments on completed tasks is no problem. I just can't figure out where the comments are if they're saved on a task with no entry in the voting event audit table. My efforts to trace known comment strings in the source tables have come up empty, but our database has some grant i
Version: Windchill 12.1 Use Case: I would like to list all items of a selected folder, then to extract all documents related to the selected itemDescription: I've found several solutions using Odata, but I don't succeed to rerpoduce the same requests. And I would prefer to use REST queries to get result formated in json. Does the REST API can give access to all data that are accessible from the user web interface ?Thanks for any help.Fred Context: Although the product version is 12.1.2.0, the REST Services version is 2.3.
Version: Windchill 12.1 Use Case: I need to traverse the folder structure in a Windchill Library via the REST API'sDescription: I see there are a few relevant API's. "/v6/DataAdmin/Containers('"+containerId+"')/Folders" provides us with a way to get the root folder, which I believe is pretty much always "/Default", but how do I get the list of folders in that folder, to recursively traverse the folder structure?I see there is "/v6/DataAdmin/Containers('"+containerId+"')/Folders('"+folderId+"')" but that only gives me the information about the folder I already have the ID for and does not tell me what subfolders exist in that folder.
Version: Windchill 12.1 Use Case: I use this URL to get Info on the Reporesenation attached to the wtPart and the attached CAD Docs: https:///Windchill/servlet/odata/v7/ProdMgmt/Parts('<wtpart_id')?%24select=Name%2CNumber&%24expand=PartDocAssociations(%24expand%3DRelatedCADDoc(%24select%3DNumber%2CName%2CCategory%3B%24expand%3DRepresentations))%2CRepresentations.Description: I use this URL to get Info on the Reporesenation attached to the wtPart and the attached CAD Docs: https://<Windchill URL>/Windchill/servlet/odata/v7/ProdMgmt/Parts('<wtpart_id')?%24select=Name%2CNumber&%24expand=PartDocAssociations(%24expand%3DRelatedCADDoc(%24select%3DNumber%2CName%2CCategory%3B%24expand%3DRepresentations))%2CRepresentations. What I am missing is the Information from the Details column in the Representationn/Annotations table on the Part Information Page. (see attached picture) Is there a other Rest Service API to get the information (Positioning Assembly / EPM only
Version: Windchill 13.0 Use Case: I have several global attributes contained under object types which have been linked to reusable attributes. However, the basis for selecting which reusable attribute should be linked to the attributes of the object has been solely down to the data type of the reusable attribute and if it aligns with the data type of the attribute I want to associate with my object type.Description: Is this bad practice and should I have more control of my understanding of where I have used my reusable attributes? For example, I could have three reusable attributes called "Material", "Manufacturing Process" and "Product Type" which are linked to the global attributes called "Material", "Manufacturing Process" and "Product Type" in an object type called "Object A". These reusable attributes could be contained in an attribute organizer folder called "Object A Attributes" to make it clear where they are used and to which attributes they are associated to. What are th
Version: Windchill 12.0 Use Case: for example if i select type as A then it should be take lifecycle template as PART A lifecycle. similarly for B it should take lifecycle template as PART B lifecycle.Description: How to define lifecycle template based on type. while creating new part.
Version: Windchill 12.0 Use Case: Using a listener via API in order to update attributes at check-in of the corresponding WTPart / WTPartUsagelink.Description: Updating values of the attributes works perfectly, but after check-in using the browser UI, the new attribute values are not displayed on screen. The UI is not refreshed. Is there a command/hook or something that makes the web ui refresh?If the user manually refreshes (hits F5), then the new values are displayed...I tried those functions, but either wasn't competent enough or they are not made for this use case...: // refresh for changes that might have been made to the object working_part = (WTPart) PersistenceHelper.manager.refresh(working_part, true, true); WorkInProgressHelper.service.refreshObject(working_part); PersistenceServerHelper.manager.update(working_part); PersistenceServerHelper.update(working_part); wt.fc.PersistenceHelper.manager.save(working_part); // this all does not help... Anybody have an i
Version: Windchill 12.0 Use Case: assume for example if am creating new part and type should be A. i need to select lifecycletemplate based on type. it should show the lifecycle template drop down like A,B, C etc.Description: assume for example if am creating new part and type should be A. i need to select lifecycletemplate based on type. it should show the lifecycle template drop down like A,B, C etc
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.0.1Is it possible to show different list of values for selection for an attribute based on a value of attribute on the context. For example : In context , A attribute called 'Confidential' with Enum of 3 values "Yes, No, Partial'. In Part, I have an attribute called 'Preferred delivery' with Enum value - Electronic, Notification, Paper, Package.When I create a part, if Confidential=Yes on context, then the list of values for 'Preferred delivery' should only be 'Electronic', 'Notification'. If confidential=No, then then the list of values for Preferred Delivery' should only be 'Notification', 'Paper'. If Confidential=Partial, then the list of values for 'Preferred delivery' should be all enum values.Is this possible to achieve?
Version: Windchill 13.0 Use Case: I want to be able to only allow a transition from state A to state B in my life cycle if the object using the life cycle has not been set to "Released" before.Description: Has anybody got thoughts on the best way to approach this? I was thinking about introducing some custom JavaScript on the server to identify an attribute that would allow the code to detect if the object had previously been released before either permitting the transition or throwing an exception. Or, introducing code into the workflow.
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.