Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi All, How to get Part request object by Rest api.Thanks
Version: Windchill 13.0 Use Case: When we click a Part on Left Pane then we will be seeing the documents on the right pane.Description: Requirement : When we click a Part on Left Pane then we will be seeing the documents on the right pane.There is a same functionality on Part Structure Tab for WTPart object. I am not able to find the OOTB files. I am referring to carambola, TwoPaneExample.js. Could anyone please help me with this ?
I have a Promotion request that uses a conditional Router to route depending on object type. I have used the one from the KB that works well, shown below. try { wt.fc.QueryResult qr = wt.maturity.MaturityHelper.service.getPromotionTargets((wt.maturity.PromotionNotice)primaryBusinessObject); while(qr.hasMoreElements()) { wt.fc.Persistable pers = (wt.fc.Persistable) qr.nextElement(); if (pers.getClass().getName().equalsIgnoreCase("wt.doc.WTDocument")) { System.out.println(" ******** It is a WTDocument ******** "); result = "route1"; } else if (pers.getClass()
I am working on Split Pane concept. The left pane and right pane are showing. In the header pane, I want the Part information details to be displayed along with the tabs. How can I implement this? Sharing the image of my current output.I want to create a similar structure like the Part Structure. I could not find OOTB references for creating the jsp page. Could you please help me with some references?
Is there an API to achieve this requirement?On the Part Structure Tab, when we right click on a Part, we see the Actions. I want to implement the same on the Parts that are getting displayed on the my custom Tree.Desired outcome: The Output I am seeing :
Version: Windchill 12.1 Use Case: I have a scenario where I'm supposed to get Rule Definition from ChoiceRule. Row Object: com.ptc.windchill.option.model.ChoiceRule Lets say My Column I'm trying to get is "atoRuleDefinition"Description:
Version: Windchill 13.0 Use Case: I am receiving the error below when trying to import a table view exported from a Windchill instance hosted on another server. The tables referenced in the export xml file should be common across both servers as the view is an OOTB view. The two versions of Windchill are at the same version. Import started... Started object creation process... Importing info from XML file: TableViewDescriptor. Applied action : Default Problem in export/import process. Nested exception is: wt.util.WTException: wt.util.WTRuntimeException: The domain administered object has no assigned domain. Cannot check policy access. Object class: "class com.ptc.core.htmlcomp.tableview.TableViewDescriptor", Object display identity: "Table View Descriptor - com.ptc.windchill.enterprise.folder.folderResource.VARIANT_SPEC_VIEWs", Object identifier: "{2}", Object display type: "{3}" Nested exception is: wt.util.WTRuntimeException: The domain administered object has no assigned domain
Hello All, I'm having a secanrio that, the PVZ file of the specific assembly was saved in my local drive, I want to upload that PVZ file to the specific EPMDocument under Representations\annations using the utility (using java program). On top of that we will create Interference Definitiion Detection to that Representation to identify the Interference between the parts. By using the program I could able to create the representaion i.e., Derived image, but PVZ content upload in not happening that means representation is creating without the PVZ file.Following is the program that I'm trying . PLease suggest me what I'm missing in the program. Representation newRep = null; String localFile = "C:\\Users\\59381047_1.pvz"; File contentFile = new File(localFile); System.out.println(Dumobj.getName()); try{ DerivedImage newDerImage = DerivedImage.newDerivedImage("default"); //System.out.println ("#
Version: Windchill 13.0 Use Case: I am trying to setup an "Advanced Search" against the "Change Notice" object type. However, I have noticed I have no option to add any "Attributes" into the "Criteria" section of my search. Please refer to the attached image.Description: I have noticed that I can select other object types which provides the opportunity to add attributes into "Criteria" section of the search. Can anybody suggest why I don't have this option for the "Change Notice" object type?
Hello Team,I need to programmatically retrieve the Sequence value of a Change Activity (WTChangeActivity2) as it appears in the Change Planning / Execution Plan. Currently, the only method that works is executing a direct SQL query on the CHANGEPLANACTIVITY table.Example SQL (working):SELECT parent.SEQUENCEFROM WTCHANGEACTIVITY2MASTER camJOIN WTCHANGEACTIVITY2 ca ON ca.IDA3MASTERREFERENCE = cam.IDA2A2JOIN CHANGEPLANNINGLINK cpl ON cpl.BRANCHIDA3B5 = ca.BRANCHIDITERATIONINFOJOIN CHANGEPLANACTIVITY cpa ON cpa.IDA2A2 = cpl.IDA3A5LEFT JOIN CHANGEPLANACTIVITY parent ON parent.IDA2A2 = cpa.IDA3PARENTREFERENCEWHERE cam.WTCHGACTIVITYNUMBER = ? However, this is not a supported API approach, and I want to avoid SQL.I also tried using:ChangePlanningHelper.modifyPlan(...)Map<VersionableChangeItem, String> changeSeqMapBut this map only accepts sequence values for updates — it does not expose or return the current seq
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 管理后,可以在参与者管理搜索到对应的用户,但是无法通过账号密码进行登录;
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.