Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Remove action on table header is pointing to our custom class, similarly i want the remove action on right-click of a row also to point to the same class.
I just thought I would drop a note here, since I was not able to find anything useful myself when looking for a solution around this: "I have a group with duplicates how do I remove them, it is adversely effecting a join?"I have come up with this solution that seems to be straightforward, use it if you like it.EXAMPLE: <?xml version="1.0" standalone="yes"?><%@page language="java" access="http"%><%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%> <ie:webject name="Create-Group" type="GRP" > <ie:param name="DELIMITER" data="," /> <ie:param name="ELEMENT" data="obid=A,color=red" /> <ie:param name="ELEMENT" data="obid=A,color=red" /> <ie:param name="ELEMENT" data="obid=A,color=red" /> <ie:param name="ELEMENT" data="obid=B,color=blue" /> <ie:param name="ELEMENT" data="obid=B,color=blue"
Version: Windchill 13.0 Use Case: It is possible to assign a change task in Windchill to a user group. This will result in the change task being displayed on the home page of each of the users in the group when it is time for the change task to be actioned. If at this stage a user is removed from the user group that the change task was assigned to, it seems that the change task still remains available in the "My Tasks" table on the homepage of the user who was removed from the group.Description: I would like Windchill to prevent users from being able to complete a workflow task if they are no longer a member of the group that the workflow task was originally assigned to. Does anybody know if this is possible?
The PTC Help Center recommends overriding the getSpecialTableColumnsAttrDefinition() method to include new attributes.However, when I click "Customize" in the table view, all attributes for the selected object type already appear under "Set Column Display."Is there a specific reason or scenario where overriding getSpecialTableColumnsAttrDefinition() is needed?
Version: Windchill 12.1 Use Case: Developing custom Windchill Java services to listen lifecycle state changes (RELEASED) and execute background logic; need guidance on required JAR dependencies and proper service architecture.Description: Hello everyone,I’m trying to develop on PTC Windchill using Javadoc-based APIs, but I’m facing some difficulties and would really appreciate guidance from experienced Windchill developers.1) Required JARs for IntelliJ IDEAI’m using IntelliJ IDEA for development, but I’m not sure which JAR files I actually need to add to my project.When I try to add all Windchill JARs, I get dependency conflicts.When I fix one library error, another one appears.I believe the real issue is that I don’t know the correct JAR hierarchy / minimal required set for Windchill development.My background is .NET Core, not Java, so I don’t have strong knowledge about Java classpaths, dependency resolution, or how Windchill structures its libraries. Because of this, I’m curren
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.1Info Engine custom tag directives not working as expected https://www.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=IEUG_CustomTagDirectives&action=show I have modified access = internal on respective task file as well as directory delegate.info level. Still, we are able to access the task file through http (i.e. info engine task runner from client browser)
Hi Team, I am trying to checkout Part using below taks I have created <%@page language="java"%> <%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%> <ie:webject name="Get-Properties" type="MGT"> <ie:param name="ATTRIBUTE" data="wt.federation.ie.VMName"/> <ie:param name="GROUP_OUT" data="properties"/> </ie:webject> <ie:webject name="Query-Objects" type="OBJ"> <ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])" /> <ie:param name="ATTRIBUTE" data="name"/> <ie:param name="ATTRIBUTE" data="number"/> <ie:param name="GROUP_OUT" data="parts"/> <ie:param name="TYPE" data="$(@FORM[]typeOfObj1[])"/> <ie:param name="WHERE" data="number='$(@FORM[]number1[])'"/> </ie:webject> <ie:webject name="Query-Objects" type="OBJ"> <ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])" /> <ie:param name="ATTRIBUTE" data="name"/&
Version: Windchill 13.0 Use Case: In our customization, we use the SaveAsHelper class to duplicate some WTPart (and structure) and would like to "tag" the function used by setting a comment on the new WTPart, for example: "created by Copy Machine". Then it would be easier to track whether the SaveAs menu of Windchill was used or if the customization was used.Description: I cannot find a mean to set this comment/note on an pass it the the SaveAs function. I have tried setting "iterationInfo.note" as attribute in the SaveAsObjectInfo, but without success (nor error message). final HashMap<RevisionControlled, AbstractSaveAsObjectInfo> saveAsObjects = new HashMap<>(); for (WTPart wtPart : partsToCopy) { final AutoNumberingHelper helper = new AutoNumberingHelper(containerRef); final String newPartNumber = helper.getNumber(wtPart.getTypeDefinitionReference()); final Map<String, String> ibas = new HashMap<>(); // checkin Comment I try to set, but t
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M010Windchill 9.0 에서 Windchill 11.0으로 업그레이드 이후 발생다른 시스템에서 Windchill을 원격 접속해서 사용 하고 있음RemothdMehtodServer.getInstance(url)wt.propertieswt.auth.handlers=wt.auth.NullAuthentication wt.httpgw.HTTPAuthenticationWindchill 11 Upgrad 이후 타 시스템 최초 원격 호출 시 인증창이 뜨고, 최초 한번 인증을 해줘야 함인증없이 바로 사용가능한 방법 문의 드립니다.
Version: Windchill 12.0 Use Case: Custom Windchill Report download simply the template but no data insideDescription: I am trying to modify a custom report. However the Custom Windchill Report downloads simply the template but no data inside on my local Windchill ( hosted on VMWare). Tried adding Sys out statement and getting data on method server logs but still nothing inside the download files. Tried Exporting Importable spreadsheet report and it has data. So probably an issue with custom one but not able to catch it. Any clues folks
Version: Windchill 12.1 Use Case: Comparing values between an WTpart attribute and a WTpartUsageLink attribute, in a BuisnessAlgorithm - to use on a calculated value on WTpartUsageLink.Description: Following this procedure: Procedure – Using a BusinessAlgorithm in a Calculated Attribute togehter with this knowledge base: New java algorithm for calculated attributes (BusinessAlgorithm) starting Windchill 11.0 We have a calculated value on a WTpartUsageLink. This should compare an attribute from the WTpartUsageLink and the WTpart that it is linked to. The attribute from the WTpartUsageLink can be passed as a variable in the execute statement, but I have a hard time referencing the attribute from the WTpart. Sample code or a pointer for referencing an attribute in this use case would be very helpfull.
Hello,I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.17I want to add an alias attribute on the WTPartUsageLink to retrieve the value of a component attribute on a structure.So I created an attribute on the WTPartUsageLink type with the mapping "uses@wt.part.WTPartMaster~masterReference^<Internal name of part type>~<Internal name of attribute>"It works fine and I can see it in the structure, see the attachment.But there's a problem because when there are several iterations of a component, there are several PartUsageLinks and the alias retrieves the same values several times, see the attachment.Do you have a solution for this and what alias should be used?Otherwise, the primary objective is to bring up the value of a component attribute to fill an attribute on the top-level part.For example, if the value of an attribute is set to yes, the top-level part must have an attribute that is also set to yes.(even if there are several yes if several components
Version: Windchill 12.1 Use Case: Matching WTPart and EPMDocument numbers when using Save AsDescription: Hi all, We currently have WTPart and EPMDocument subtypes which receive auto generated numbers, snips of the OIRs below...WTPart: <!-- Set the number to M01234567 format --> <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator"> <Arg>M</Arg> <Arg>{GEN:wt.enterprise.SequenceGenerator:BOM_GROUP_seq:7:0}</Arg> </AttrValue> <AttrConstraint id="number" algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"> <Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/> <!-- Get the server to generate a number --> <Value algorithm="com.ptc.core.rule.server.impl.GetHiddenConstraint"/> <!-- Hide from the user (have to leave it modifiable so that auto associate works correctly) --> </AttrConstraint> 
Version: Windchill 13.0 Use Case: I have the following requirements relating to how a custom workflow I have implemented treats objects as they are moved from state 1 to state 2. 1. The part number should be given a prefix which communicates the date and time its state was changed. 2. A check is made to ensure the part has not historically been at a state of "Released" before allowing the transition to complete.Description: Has anybody got a suggestion on how I can implement these aspects into my workflow?
Hello Team,We are currently evaluating the feasibility of integrating with Windchill using REST APIs (Windchill REST Services – WRS) and would appreciate guidance from the community on the following points:Recommended Windchill Version / WRS API SetSince REST APIs vary across Windchill versions, which Windchill version and corresponding WRS API set is generally recommended for initial API testing and validation?Windchill Cloud AvailabilityIs Windchill Cloud / Windchill+ available for customers?If yes, are there any known differences in REST API behavior or availability compared to On-Premise deployments?REST API AuthenticationWhat is the recommended authentication mechanism for Windchill REST APIs?OAuth 2.0Bearer tokenAny other supported methodAlso, does the authentication approach differ between Cloud and On-Premise environments?Swagger / Open API DocumentationIs there any official Swagger or Open API specification available that lists all Windchill REST APIs?If available, where can i
Hello, When we do a drag and drop of upstream child component to downstream view, when there are multiple downstream objects, in Add Object wizard all the applicable objects will be displayed. My requirement is when the Add Object wizard is launched, by default all objects should be unchecked. Updating the preference Paste as New Part or Paste as New Branch is not an option, requesting you to shed some light on the same. Thanks,Sha
Version: Windchill 12.1 Use Case: Looking for an example class or documentation on how to use this functionality.Description: Has anyone created an external application constraint and have an example to share? There's zero information to be had on this functionality besides how to navigate to it in the UI. Does my external application need to extend a base class?Does it require certain methods and return types? I've gathered that this only gets executed when the "Advanced Logic -> Validate Logic" action is run - is this correct? Thanks in advance.
I am currently using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.0.0. How to add a row selection event to a customized table in JSP and obtain the data of the selected row? I need to trigger related logic through this event. Customized tables are added through the method of .
Hi,Is it possible to programmatically check the status of a CAD worker (whether it is online or offline) using the Windchill API? If yes, could you please let me know which API is required for this?Additionally, I am using the doPublish API to create STEP data representations from an EPMDocument. Currently, I have only one CAD worker configured for STEP translation, so the process is straightforward. However, if the system has three or four CAD workers configured (e.g., STEP, JT, IGES, etc.) and all of them are online, how does the doPublish API determine which CAD worker should be used for generating the STEP translation? How does Windchill select the specific worker for that translation job?Best regards,Shrikant Bhosle
In `configurableLinkRoleATable.jsp`, the method `getRoleBLinkObjects` from the class `GetOtherSideObjectsForConfigurableLinkCommand` is typically used to display the “side B” parts of a config link.Has anyone experimented with the related method `getLinkOtherSideObjects` in the same class and if so, what arguments did you pass? I’m curious whether it can be leveraged to show the *opposite side* of the link (e.g. Part B when I’m on Part A, and vice versa).My use case as mentiond above, involves a **custom ConfigMastersLink** where there isn’t a strict parent/child relationship — it’s simply two parts associated with each other.I tried like this, but couldn’t determine what other string parameters (besides `roleAObject` or `roleBObject`) are valid:<%-- Get a component model for our table --%><jca:getModel var="tableModel" descriptor="${configurableLinksRoleBObjectsTable}"serviceName="com.ptc.windchill.enterprise.object.commands.GetOtherSideObjectsForConfigurableLinkCommand"metho
Version: Windchill 13.0 Use Case: When we send step files or other (annex) files for that matter we have a main word file describing the file(s) and some legal matters on not spreading data and other info. This is in Windchill and a PDF is created by a windchill worker. The step file or annex documents may be stored in the Content -> Attachments area of the document in windchill. I would like to setup such that the pdf generation grabs the attachments and adds them as attachments to the pdf that is generated. Ideally this would only be done when the Word file and subsequent pdf goes through the Promotion request to reach an Approved stateDescription: When we send step files or other (annex) files for that matter we have a main word file describing the file(s) and some legal matters on not spreading data and other info. This is in Windchill and a PDF is created by a windchill worker. The step file or annex documents may be stored in the Content -> Attachments area of the docu
I tried creating a custom domain under oData by following the instructions in wrs_ug_1_5.pdf. But my new domain is not listed in ..Windchill/servlet/odata/. To make it simple I also duplicated one of existing domains, renamed it and restarted the server still it's not listed. What is the mistake here? Should we register the domain in any file like how we do for data utilities? Many thanks in advance
我正在使用 Windchill PDMLink Release 13.1 和 Datecode with CPS 13.1.0.0如何在 JSP 中为客制化表格添加行选中事件并获取选中的行数据,我需要通过该事件触发相关逻辑;客制化表格通过<jsp:include page="${mvc:getComponentURL('ext.higold.doc.builder.TrialProductionListTableBuilder')}"flush="true"/>方式添加
Hi All,I'm trying to achieve Product Name based on attribute.Any references thanks in advance.Regards,Durga
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.0We are trying to update the upper length limit of the NAME attribute on WTPart, following the steps described in article CS155068. When we run the Ant script (ant -f bin\tools.xml custom_column -Dgen.input=wt.part), we receive the following error in the Shell: java.lang.NoClassDefFoundError: org/apache/commons/lang3/exception/ExceptionUtilsHere are the errors that I facedava] Processing single class: wnc/Foundation:wt.part.WTPartMaster[java] DataStore = SQLServer[java] wt.generation.sql.useDatastore = false[java] wt.generation.sql.loadIntrospectionFromClasspath= true[java] wt.db.maxBytesPerChar = 1[java] InsternalUsage = false[java] Begin sql generation for wt.part.WTPartMaster[java] 15:23:16.508 [main] ERROR wt.util.AppStarter - ERROR: details below[java] ERROR: java.lang.NoClassDefFoundError: org/apache/commons/lang3/exception/ExceptionUtils (check log for details: D:\ptc\Windchill_13.0\Windchill\buildlogs\tools-
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.