Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I have an attribute, so that attribute value wanted to map in Project Network as a new Network.
Hi, I want to create a Filter on the Pop-up Window Actions. Based on the action Name, I want to enable or disable the Action. What is the Java Api? I found WTContainerReference for the Product Details. Url : colorStructure/zfColorStructureWizardPopup?context=tcomp%24infoPage%24VR%3Awt.part.WTPart%3A1173627%24VR%3Awt.part.WTPart%3A1173627%21*&componentType=INFO&cacheBuster=17727800&ContainerOid=OR%3Awt.pdmlink.PDMLinkProduct%3A133401&oid=VR%3Awt.part.WTPart%3A1173627&u8=1&unique_page_number=58185912925159_7& AjaxEnabled=component&actionName=zfColorStructureWizard&portlet=poppedup&context=tcomp%24infoPage%24VR%3Awt.part.WTPart%3A1173627%24VR%3Awt.part.WTPart%3A1173627!*&oid=VR%3Awt.part.WTPart%3A1173627 Thanks!Kanchana.
Version: Windchill 13.1 Use Case: Trigger an IE Task from Thingworx, where the IE Task executes a Report requiring an input parameterDescription: Hi AllI have an IE task that executes a Report when triggered from Thingworx. I have a Report that returns all the Latest Released Version of a WTDocument, if I dont specify the WTDoc number, it will return all the versions of all available WTDocuments. For the case without specifying the WTDoc number, I am able to trigger it from PTC IE Domain in WRS using the below Request body{"Params": [{"Value": "Doc List","Name": "reportName"}],"Task": "com/ptc/windchill/enterprise/report/DocReport.xml"}Here, Task = IE Task LocationValue = Report Name Similarly, how do I execute by specifying the Document number? I tried the below but it won't work.{"Params": [{"Value": "Doc List,"Name": "reportName"},{"Value": "D000001364","Name": "Number"}],"Task": "com/ptc/windchill/enterprise/report/DocReport.xml"} Many thanks in advance for help
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.6I have several Workflows where I use system print statements for debugging purposes. Here is an example: System.out.println("+++++++"); In Windchill 12 this statement appears in the Background logs, not 13. Is there a switch to turn logging on in 13?The history is "System.out.println" commands would be recorded in the Windchill logs for every version before Windchill 13.0. I do not see the logging anywhere for this output. Perhaps there is a switch in 13.0 that we are not aware of to direct system printing to the logs instead of some bit bucket.
Description: Version: Windchill 13.0 Use Case: Fetch all unique WTDocuments of allowed types, modified on or after a given timestamp, across multiple document types, without duplicates.Description: I am using below queryspec however it is not returning the results expected, for example when I do teh search in Windchill advance search it fetched results around 300 but using queryspec it is fetching around 60. I am not sure why this discrepency is happening but please help me if you knwo something here. we can have multiple document type. Also internal name is correct. I have cross checked as well. just fetching few results not entire is confusing me. List<Long> typeIds = new ArrayList<>(); System.out.println("getWTDocumentByLastModifiedDate allowedDocumentTypes>>> "+allowedDocumentTypes); QuerySpec qs = new QuerySpec(WTDocument.class); for (String typeId : allowedDocumentTypes) { System.out.println("getWTDocumentByLastModifiedDate
Version: Windchill 12.0 Use Case: My team is trying to fetch Shared on Date ( Date on which part or documents was shared to the project). Is there a way we can do that.Description: My team is trying to fetch Shared on Date ( Date on which part or documents was shared to the project). Is there a way we can do that. Typically that is available on the project status table for part & docs but is there a way we can get that on the folder tables in projects.
I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.1.8"com.infoengine.exception.fatal.IEInternalServiceException; nested exception is: java.net.SocketException: Connection timed out (Read failed)" when the client attempts com.infoengine.SAK.Task.invoke() of webject task.Specifically, the Remote Importer attempts to process a “revise” command against a Windchill Drawing EPMDocument.The connection times out at the beginning of processing when trying to query the Drawing EPMDocument
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.8Resolve issue with custom Javascript function invocation for an action integrated in Creo embedded browser (Custom check-in wizard Toolbar/MenuItem action)Here are the errors that I facedNew custom action in Creo browser for custom check-in page not working
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.2.0Unable to see the Custom Tabs on IKEA Part - Post Upgrade Windchill 13.1.2 from Windchill 12.1Here are the errors that I facedCustom Tabs showing ????
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.6I cannot boot the "InfoEngine Task Editor" up via the shortcut in my Windows start menu.Here are the errors that I facedI am produced with the following error when trying to open the shortcut - "Windows cannot find 'com.infoengine.modeler.UI.IEModeler'.
Version: Windchill 13.1.2 Use Case: Windchill installationDescription: Hi, hopefully a quick answer to this one. I can't find the version of Amazon Corretto JDK I should install as pre-requisite to Windchill v13.1.2 on RHEL 8.10. What version of corretto should it be? Where can I find that referenced in the PTC documentation?
Version: Windchill 13.0 Use Case: The link below explains that it is possible to create add "Affected Objects" to a change task within a change notice when creating the change notice using a REST API call. https://support.ptc.com/help/windchill_rest_services/r2.5/en/?_gl=1*ylfb42*_ga*MjAzNzQyOTYzMC4xNjc4MTcyNTE4*_ga_1QBT6P6HR1*MTY3ODE3OTA5Ni4yLjEuMTY3ODE3OTA5OS4wLjAuMA..#page/windchill_rest_services/example_changemgmt_create_changenotice_mul_tasks.html#Description: I have been able to use this script to successfully create a change notice which features a change task with an affected object included on it. I have developed this script further in an attempt to also add "Resulting Objects" (see below). When I add this script into the request body, the interface reports no issues and it seems as though the call runs successfully. When I navigate to the "Changes" section of Windchill, I can see that the change notice was created along with the change task and affected object. However,
Version: Windchill 13.0 Use Case: The link below explains how to make custom attributes available in the criteria of an advanced search. However, I have noticed that I have custom attributes available that I can add to the criteria of an advanced search without following the process detailed in the article. https://www.ptc.com/en/support/article/cs180432?_gl=1*cmfofr*_gcl_au*MjAyMjY0MTgwMi4xNzcwNzE2ODM5*_ga*NjYzNjgzODU1LjE3NzA3MTY1MDQ.*_ga_7NMP2MSYPM*czE3NzE0NDE4NjIkbzQwJGcwJHQxNzcxNDQxODcxJGo1MSRsMCRoMA..Description: Can anybody shed light on the circumstances that would require me following the process in the article?
Version: Windchill 12.0 Use Case: We have a usecase where there are some child parts in a Product structure. These child parts are having the same classification node and likely the same classification attributes., but these are different part numbers for a business reason. The requirement is that it must be possible to select these parts with same classification , inside a PSB, and bulk edit the classification attributes. These parts are easy to find in the PSB as we use autonaming.Description: I have a custom wizard which has some other steps, and one of the steps is the bulk edit of classification attributes for chosen parts in PSB (having same Class nodes assigned).How to show the edit classification step in my custom wizard (as a wizard step)?
Version: Windchill 13.0 Use Case:1. My client makes use of "Part" objects.2. They have a need to represent instances of these "Parts" as instances in parent objects.3. For example, my customer makes use of "Parent Part 1" and "Parent Part 2". "Child Part 1" is used in both parent parts.4. My customer has a requirement to make use of objects in Windchill to represent the different instances of the child part referenced by the two parent parts.5. These instances should be uniquely identified by serial numbers.6. It is important that the objects being used to represent the child part instances represent the form of the child part at a certain revision.7. It is not acceptable for the objects being used to represent the child part instances to simply represent the part master and not a specific revision of the part. It was previously suggested to me that making use of "Part Configurations" and "Part Instance" objects in Windchill is often not the best way to approach management of
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
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.