Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi,I've tried to create object notification with java method NotificationHelper.manager.createObjectSubscription for event Revise.The code below does not work.Where can I find which is name for Revise event (and also WORKFLOW_STATE_CHANGE)?eventsMap.put("REVISE", (WTStringMap)null); //--- doesn't workeventsMap.put("WORKFLOW_STATE_CHANGE", (WTStringMap)null); //--- doesn't work eventsMap.put("CHECK_OUT_IN", (WTStringMap)null); //---- It works!!eventsMap.put("DELETE", (WTStringMap)null); //---- It works!! //get subscriber, currently setting to session userNotifySubscriptionRecipient subscriber = NotifySubscriptionRecipient.newNotifySubscriptionRecipient(SessionHelper.getPrincipal(), NotifySubscriptionRecipient.TO_ADDRESS); //create subscriptionNotificationHelper.manager.createObjectSubscription(subscriptionAttributes,subscriber, targetObject, eventsMap, true);
I tried following this Extending Product Management Domain to Add A Soft Type which seems pretty straightforward... however if I put anything there ($WC/codebase/rest/custom/domain/ProdMgmt/v5/entity/), even a completely empty .json file, the Rest Services api page will error and spit out some un-formatted HTML: 500 : <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Windchill Error</title> </head> <body> <!-- General purpose Windchill error page, /wtcore/error.jsp --> <h1>Windchill Error</h1> <p style="font-size: large"> Contact your administrator for assistance. Information for their reference follows. </p> <table> <tbody> <tr><td colspan="2"><hr /></td></tr> <tr valign="top"> <th align="right" scope="row">Request Id: </th> <td>4eiigk7l;kvjyingz;15792;zianvk;18726</td> </tr> <tr valign="to
Hi Windchill Guru's, I would like to add a configurable link tab to PSB, like the below: I have my custom configurable link tab shown under "Customize" (third_level_nav_bar). I want to add the same tab to the psb, next to "Documents" tab. The customization document (link below) is not clear enough for me. http://support.ptc.com/help/wnc/r11.2.0.0/en/index.html#page/Windchill_Help_Center%2FWCCG_UICust_CustomizingPSE_ConfigLinkTables_PSB.html%23 Thanks in advance, -Boi
How to change the default value of Allow roles and/or members to be added locally in this context when creating a product/library/project. The check box should be preselected when using shared team. Regards, durga
I have created few custom tools on PTC modeler using VBA script which needs to be available for everyone in the team. I don't want everyone to add them manually to the tools tab. So can this be added via SysML profile or any custom profile. where these custom tools will be loaded for everybody automatically? or any other alternative? Thanks in advance!!
Hello, Has anyone used checklists as part of a Windchill Workflow task? We want to use a checklist in the assigned activity to verify that the assignee has done everything they need to before the task moves on. This seems like something that would be useful to many organizations, but I can't find anything for it. I'm hoping someone out there has done this and can tell me where to start. Thank you -ddmartin3-
I am trying to come up with some code to A. Pull groups from org level B. Assign those groups to an empty role (based on some workflow variable) For example: if workflowVar = A (string), add members from groupA to role if workflowVar = B (string), add members from groupB to role I was looking at some of the API on the javadocs, but not quite sure where to start. Any help would be very much appreciated! Jacob
When I edit a 'Create New Layout' to add an additional attribute, I get this message when I go to save it: "The type that you are trying to update was originally created in another domain. The Internal Name and Owning Organization will be updated with the information related to the current domain." Even if I enter OK, when I go to edit it again, the message comes back. How can I tell what the domain name is that is tied to the layout? How can I permanently update the layout so it is in the proper domain? Windchill 11.0 M030 CPS16
Hi Windchill Guru's, Is it possible to limit only one roleB item added to a Configurable Link table. What customization/configuration do I need to do? Thank you, -Boi
I have code to make sure that Roles are filled in before Completing a task. What I am trying to do is to check multiple roles as being required or not based on workflow variables. Does anyone have the code for this? Example (The first two variables are an if this or this): If varible1=outcome1{ Then Role1 must be filled in } if variable2=outcome2{ Then Role1 must be filled in } if variable3=outcome3{ Then Role2 must be filled in }
Hello, I have a custom usage attribute defined which is supposed to be coming only once in the ESI response file, but if there is a change in usage values like Quantity, the custom usage attribute tag is coming twice in the response xml with the same values. Please let me know if any of you have faced this issue. Regards, Sha
Dear All,I have been trying to understand what configurable links are in windchill. Also I have created subtypes for four configurable links also and created parent child relationship but after that I don't how data is being mapped or connected between wtpart and document.Even after searching for documentation everywhere I could only find a few links which would talk about configurable link but they are no different from PTC Help center. Can somebody please explain what configurable links are in Windchill in layman terms and also provide some links to understand what Configurable links are?
When a PDF containing Chinese characters is uploaded to PDF, the Chinese characters cannot be displayed correctly. Chinese font has been put in Windchill server. Could PTC tech experts help? Thanks.
We have a small Windchill customization created by a PTC consultant several years ago. This customization is called from ThingWorx with a wtpart ID. The customization collects representations of the wtpart and copies the content (typically PDF files) to a folder on the Windchill server to make it available to ThingWorx. The customization does a few things to get ApplicationData objects from the wtpart, then uses the ApplicationData object in a call to ContentServerHelper.service.writeContentStream() to download the file(s). I'm using an OData endpoint in ThingWorx to get all the information I need about the representations, so I want to modify the Windchill customization to simply (hopefully) obtain a file given an ID like OR:wt.content.ApplicationData:12125968441. I'm assuming there is a way I can get the ApplicationData object from the ID string, then use the existing code to obtain the file. My question is: In the Windchill API, how can I g
Hi All, Can we get an API or piece of code where we can create certain documents or parts or any other object type only in certain products or libraries through a validator.
Hi, We are in the beginning of our digital journey and we have setup our cadworker to create data in the "AS STORED" configuration. In order to ensure the right data is generated, we are recommending that higher level assemblies are checked in, promoted, etc... at the same time as lower level parts. Are there any good preferences, configurations, processes... to help our engineers gather higher level assemblies for a selected part to ensure nothing is missed? How do you work with this in your organization? Thanks!
Hello , While extracting WTpart from windchill I am facing below error "com.ptc.windchill.migration.wbm.wc2wc.util.WBMException: WBMLDRSTATUS table does not exists. This usually happens if the staging schema was not created.' I have check I can connect to staging database. I have attached log file
Hello everyone, I want to create RESTFul web services in windchill, anybody knows how to write GET and POST services in windchill. Thanks in Advance.
Hi, Right now we are fetching modified attribute values and we make a report daily once. for now we are using CRON job script for executing the custom class on daily basis. Is any way in Windchill to do same thing without using CRON job. Is any way in Windchill, so i can execute a program in Windchill on daily basis without user interpretation ? Regards, Vivek
Hello all. Hope you are well. In my company we have created a workflow that will be Routed in ProjectLink. Is a summarized version of a change request so we already know who are the people who will be assigned to all the workflow task. What we want to know is how to hide the "Define Distribution List" page because as is right now the user is able to select who will be assigned for every role and we want to avoid that to keep order. There is a way to do it? Thanks for reading this post. Luis Chavarria
Hi all, I'm trying to figure out how to write an expression which will validate attachment before completing the task in customized workflow. The scenario is the user shouldn't be able to complete his task without attaching required documents. Tried referring Article - CS158546, however failing to understand which class to use to validate attachment. The expression needs to written in transition tab in workflow. Any references will be appreciated. Regards, Durga
Hello everyone, I am new to the Windchill community and looking for a bidirectional integration of an ERP-system, which is unfortunately not SAP or Oracle. Additionally I would like to integrate a product configurator, if possible. I would much appreciate, if someone could answer some of the following questions: 1. As of my understanding ESI can only be used for SAP or Oracle integration and the ERP-connector is only unidirectional. Dou you have any tips for a bidirectional integration of smaller systems like the ERP-system by infor? 2. Can I connect other systems like product configurators as long as they can communicate with XML-format messages? 3. Can Windchill handle ERP-typical classification- or effectivity-labels to deal with parts, which are only valid for a given time period? 4. Can Windchill handle genetic parts, which could be used in a genetic BOM (GBOM)? Thanks for your answers and time in advance!Kind regards Florenz
Hi, I referenced CS110198 to see how to use a date formatted value as a suffix/prefix for a number. A mandatory field "DOC_CODE" exists when creating a document.I want to return the suffix of a number based on the value of DOC_CODE. How can I change the suffix of the number according to the value of the document attribute (DOC_CODE)? Thanks, Warm Regards, SeonHo Cha
Hello to all,I am trying to insert a Bom table from WGM Windchill into Creo Elements Direct Modeling.From Wtpart Structure I generate the report and export to Creo Elements Direct Modeling (see photo 1).In Creo Elements Direct Modeling I see the table generated by Windchill (see photo 2)The word Quantity is written with a special character instead of à with an accent. It seems that in the Italian localization that character is not recognized.This means that the value of the quantity itself is not displayed in the table. (see photo 3).If, on the other hand, I do all the same process with WGM Windchill and Creo Elements Direct Modeling in English, everything works because the word Quantity has no accents and is recognized.What could I also do at the operating system level to make it work in Italian too? Ty Matteo
Hi, I am trying to configure another internal site's link into windchill's Quick Links. I modified all codes, but CORS error came. To fix that I referred below articles. Article-1: https://support.ptc.com/help/wnc/r12.0.0.0/en/index.html#page/Windchill_Help_Center/FileVaultConfigWCforCORS.html Article-2: https://www.ptc.com/en/support/article/CS318829 But the problem is, 1. I am not sure, where to add those lines referred in Article-1. 2. Even If I add somewhere in middle of the web.xml, windchill throws 404 error. Can anyone guide me, where exactly I have to add the Article-1 lines in web.xml?
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.