Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 12.0 Use Case: Currently, I am able to create a promotion request in windchill without selecting any members from the participant list. I want to add up a condition in the promotion creation page, when a user miss to select the required participant from the member list it pops up an error stating that the required members are not added, and the promotion request cannot be created without them.Description: When the promotion is created with this issue, the workflow gets stalled when the task is to be created for those missing participant and it cannot be recovered back. User needs to create a new promotion request to proceed further with. I want to implement a way in promotion request creation where user is notified or there is some pop-up error/validation that checks when the user fails to add the appropriate users in the member list. Is there a way we can add this validation or customization to our windchill?
Version: Windchill 13.0 Use Case: As a developer I need to figure out which versions of 3rd-party libs are being used in different versions of WindchillDescription: It used to be that you could download the Software Matrix for Windchill and in that document read about the software components bundled with Windchill. You could for instance see which version of commons-codec that was included. For version 13 this no longer sees to be the case.Does anyone know if this is still possible? If not, then is there some other way to figure this out that doesn't involve decompiling the wc3rdPartyLibs jar and go through the class files. Regards,Daniel Martinsson
Version: Windchill 12.0 Use Case: Items set to obsolete can't be shown in the Workspace. They are also not visible in Creo Elements Direct Modeling.Description: I can't find the setting for obsolete items downloaded to the workspace.We've got a Standard context where obsolete items are shown and visible.And we've got a Engineerings context where obsolete items are not shown and not visible for our users. I would like to change that behavior.
Hi Sumit, I have a custom utility on Promotion Notice and I want to retrieve all task data like name, number, role, assignee, activity name, vote, and comments as well. So, I retrieved all the data but I am STRUGGLING to get user comments and votes while approving the promotion request or while performing the "approve" task. If you have sent a snap of code then it would be highly appreciated.
Is there any API or workaround to get the vote from a WorkItem?
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.0.1物料分类浏览器在关键字搜索栏位,搜索出来的内容不全,好几个分类已经配了关键字“1211”最终只搜出来一个分类的数据
Version: Windchill 12.1 Use Case: Ensure that all WTDocuments associated with a given WTPart have secondary content. If any documents lack secondary content, display a warning popup to the user. If the user proceeds, allow downloading of available secondary content as a ZIP file.Description: In Windchill, WTDocuments can have secondary content such as PDFs or additional attachments. However, not all documents necessarily contain secondary content. When a user selects a WTPart, the associated WTDocuments should be checked for missing secondary content before proceeding with further actions, such as downloading the documents.
Hello,I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.23I would like to programmatically create Variant Specification. As far as I can see in the documentation such customization should be possible.e.g.Sample Code for VariantLoadNavCriteriaBean API but the problem is I cannot findVariantSpecLoaderHelper.service.loadVariantSpecs(beans, partConfigSpecBeans, atoConfigSpecBeans);The classes for 'VariantSpecLoaderHelper' are not present in the Windchill installation and I do have license and I am able to manually create Variant Specification in the system.Can you help me to resolve this issue?
Version: Windchill 11.0 Use Case: I hope that in the customized function, after entering advanced expressions, the code can filter out the objects that meet the conditions of this expression, and the attributes for filtering are on a certain IBA attribute of these objects.Description: Is there any JavaDoc for Expression in Windchill? Are there any related APIs for filtering and screening? For example, for an existing Expression (AA00 = AA01 / AA00 = AA02), if AA01 is input as True and AA03 is input as False.
Version: Windchill 12.0 Use Case: Need to create a drawing file list in Windchill active workspaceDescription: I am working on a vb.net app. Part of its function is to export all drawings under active workspace to PDF format with a custom stamp. However, I cannot get the creating file list work as it is very confusing how to extract the file list from workspace. Can anyone provide a piece of sample VB code or this purpose? Thanks
How to create WtPartUsageLink in windchill 11. 1 through API. I am looking for one Sample.
Version: Windchill 11.0 Use Case: I m querying the objects based on input list. input list contains all epmdocument numbers as input.. all objects are queried and retrieved using QuerSpec/QueryResult API as part of a custom java class method. However, there are some numbers in epmdocs list that contain european characters, so QuerSpec/QueryResult API unable to fetch these objects. can some one help with this issue. below is my API method, public List<EPMDocument> getAllEPMDocuments(String number, String revision) {List<EPMDocument> documentList = new ArrayList<>();try {// Create a QuerySpec object to build the queryQuerySpec qs = new QuerySpec(); // Add EPMDocument as the class to queryint idx0 = qs.appendClassList(EPMDocument.class, true); // Add condition for the EPM document numberqs.appendWhere(new SearchCondition(EPMDocument.class, "master>number", SearchCondition.EQUAL, number),new int[] { idx0 }); // Add conditions for both lat
Version: Windchill 12.1 Use Case: When a user creates a Promotion Request in the system and selects themselves as the "Reviewer," the application should trigger a confirmation popup to ensure the action is intentional. This confirmation mechanism is necessary to prevent potential conflicts of interest or unintentional self-selection. The popup will serve as a checkpoint, prompting the user with a message such as, "You have selected yourself as the Reviewer. Are you sure you want to proceed?" This will provide the user an opportunity to reconsider their choice or confirm it before finalizing the request.Description: I am customizing the Promotion Request functionality in Windchill and need help implementing a confirmation popup. Specifically, the popup should appear when a user selects themselves as the "Reviewer" during the promotion request creation process.I referred to this documentation, but it doesn't provide sufficient details for implementing this scenario.Could someone gui
Version: Windchill 12.0 Use Case: All cases when I want to define quantity rule for components under assembly. This include using occurence or parameter/constraint.Description: Hello community, According to About Publishing Associated Assigned Expressions, my understanding is that all expression should be exportable. However, while testing, I am only able to find and validate REST services for extracting item/usage expression into XML file. Function to call out occurence expression information seems to be missing.Additionally, I cannot find any information to extract parameter&constraint information neither. I am very thankful if a pro can help confirm it or correct me with additional information. I am trying to include all material selection logics in XML and exchange with ERP, quantity logics will be missing with above restrictions. Thank you very much.
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.1.0need help in creating the custom email template and also hook it to email robot in workflow.
is there way to add search criteria to picker as you can see in below screen shot there is no search criteria. How bring name and number etc in this page to search. I am doing picker through data utility
Version: Windchill 13.0 Use Case: I want to bring Part Structure Browser and 3D Visualization Tab in windchill custom jsp. How to render it. We know there is gwt framework involved in it. Is there any way we can bring these two component in separate tab of object.Description: I tried multiple ways to bring the visualization and part structure browser in my custom jsp. 1. I copied psb-iframe.jsp content (location: C:\ptc\Windchill_13.0\Windchill\codebase\netmarkets\jsp\psb\psb-iframe.jsp)2. Also there is viz.jsp (Location : C:\ptc\Windchill_13.0\Windchill\codebase\netmarkets\jsp\cat\viz.jsp)
So my team wrote a little utility to update some attributes on objects. Worked great but we are seeing out error and need to make a fix for drawings and assemblies. This is how we were checking out the objects: //Checkout document checkedOutDoc = (EPMDocument)WorkInProgressHelper.service.checkout(document, WorkInProgressHelper.service.getCheckoutFolder(), "").getWorkingCopy(); Everything as fine, object was iterated and the attribute were updated. Fast forward a few weeks and a user reported seeing the following. This was odd since I remember kicking off a scheduled publishing job on these items myself and I am sure I selected to use the as-stored baseline. I attempted to republish this item again but in reading the WVS logs, I can see that it reports there is no as-stored baseline so uses latest as the alternative. Rut Roh Shaggy. So cautionary tale. If anyone has the right sequence to update an object WITH the as-stored baseline and then check it in properly (bonus to trigger
How to get all the objects(Part) added in a table thru NmCommand bean in form processor? What API to use?
I have created a custom table using table builder but now I want to add a view picker beside the table header but I can't find any action model or component.
Version: Windchill 13.0 Use Case: I wrote/compiled some code to collect and send to a messaging queue a part BOM. Part of this code has two custom classes (BOM, BOMLines). The return of my method is a List but the workflow expression says it "cannot find symbol" for my BOM class. Description: In the workflow expression I have: java.util.List<ext.comp.BOM> myBOM = ext.comp.getBOMSfromECN(cn); ext.comp.Messages.sendToERP("BOM from ECN: " + myBom.toString()); Check syntax in the workflow doesn't like the ext.comp.BOM... WfExpression_88956210.java:72: error: cannot find symbol java.util.List<ext.ursa.BOM> myBOM = ext.ursa.getBOMSfromECN(cn); ^ On the server I have a BOM.java and BOM.class. Originally I had both of my custom classes in my main code but a compilation error said these would have to exist as standalone .java, so they do. How can I use my custom class in a workflow expression? package ext.comp;
Version: Windchill 13.0 Use Case: Copy the values of attributes of a Subtype of a Part into another SubtypeDescription: Is there any API or a short way to copy the values attributes from an existing part which is a subtype (eg- Hardware Part) into a new part which is of another subtype while using an action to create that new part.
Goal: We want an custom interface showing data from a separate tool within a custom Tab for given record. For Example: Windchill user navigates and open a Change Request 00006#. the View interface shows "Details:,"Process" and "History" tab by default. We want another custom Tab in-place which will appear for all Change Request records and opening the Tab will show data from third party tool linked to the parent record 00006# Questions? 1. How can one add custom tab using(Java/ JS) in Windchill for a given Artifacts like :"Change Request"? 2. how should on embed a custom Iframe with an external Url?
Version: Windchill 12.0 Use Case: I have a case where I need to be able to control the Subject Line that is displayed in the email notifications triggered by a Subscription. Running a WC 12.0.2.X system.Description: When creating a Subscription, on page 3 (Define Subject and Expiration), the user can input any text they want as the Subject of the Subscription.Therefore, when an email is sent, the Subject Line of the email is the characters inputted in the Subject.I need to be able to still allow users to input whatever subject line they want in the Subject field so that it is still visible in Windchill.But, I want to change the Subject Line that is displayed in the Emails. For workflows, this was fairly simple.I added the following script to the General.html file between the <html> and <head> tags:<SCRIPT language=Windchill> <!-- beginSubject --> </SCRIPT><SCRIPT language=Windchill> <!-- getInitSubject --> </SCRIPT><SCRIPT la
Version: Windchill 12.1 Use Case: As per the article : CS162357, I have created a new Attribute for the User Object. However, while testing, it is not letting me give the value for the attribute in both Create and Edit Layout. How to configure/customize it in such a way that the value can be given through the Windchill UI.Description: As per the article : CS162357, I have created a new Attribute for the User Object. However, while testing, it is not letting me give the value for the attribute in both Create and Edit Layout. How to configure/customize it in such a way that the value can be given through the Windchill UI.
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.