Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 13.0 Use Case: I'm trying to replicate functionality for custom actions triggering a particular workflow. In my case, it's a peer review workflow. Following the customization guide I get almost to the end and then get a /ptc1/tcomp/defineItemAttributesWizStep error. Description: In my environment today I do have custom action menus for certain things - like our own ECN triggers. I was trying to do the same for a Peer Review object but it's misbehaving and at this point I'm not sure why. Order of events: Create a subtype of Peer Review object (com.xxx.www.reviewObject) Create a custom workflow for the object (org/workflow templates). In my case this is nearly identical to the the OOTB In PartClient-actionModels.xml, add my action <action name="create" type="com.xxx.www.reviewObject" resourceBundle="ext.xxx.ActionDefinitionsRB" /> Add the same line to custom-actionModels.xml In custom-actions.xml add my object type For this, I kept it simple an
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.13While upgrading from version 9.1 to 10.2 (first phase of a 9.1 to 12.1 upgrade project) we get inheritance exceptions.We have Modelled class DesignChangeTask which is subtype of WTChangeActivity2, but Windchill is trying to treat DesignChangeTask as a Changeable2 during the Execute Server Migrators / Update the Pending Change Indicator and we are getting below errorCaused by: wt.util.WTException: (wt.query.queryResource/38) wt.query.QueryException: Class Attribute class "interface wt.change2.Changeable2" is not a super class of or equal to any of the table classes "class ext.ec.epp.change.DesignChangeTask"Here are the errors that I facedNested exception is: java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
I have added 2 new states in Site >> Utilities >> Type and Attribute Management >> Customize Modeled Enumerations and after adding it to Site>>Utilities>> Lifecycle Template Adminitstration>> TKEPartLC, the new lifecycle is still not visible when I do reassign lifecycle for a given tkePart in windchill. It still shows the old lifecycle of TKEPartLC.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.2Need help to determine if InfoEngine is allowed in Windchill +https://support.ptc.com/help/windchill/plus/r12.1.2.0/en/#page/Windchill_Help_Center/customization/DisallowedCust_Select.html#.In the above link , it mentionsInfo*Engine•Custom Info*Engine tasks or webjects•Custom Info*Engine web services•Custom Info*Engine adaptersUse Windchill REST Services to fetch Windchill data for generating reports and other requirements.Unauthorized hard modellingUse of unauthorized windchill class implementationDisallowed.We executed the Wave Scan report against the codebase , it doesnt show any issue using the below InfoEngine API'sIeService ie = new IeService();ObjectWebject ow = new ObjectWebject("Indexed-Search");Need confirmation if the above IeService and ObjectWebject API is supported in future for Windchill +
Hello Everyone, Has anyone succeeded in implementing a Dynamic banner on top of the Windchill page near the Windchill logo to relay messages to Users like Maintenance details of the system for example? I know of the static display banner which can be used to display text that is updated with a restart of the Windchill, but I'm looking at some ways where it needs to be dynamic without a restart of Windchill, like display content from a text file stored somewhere Thanks in advance! Amar
Version: Windchill 13.0 Use Case: Republish is not working - Publish will work only when we do check in and check out. Windchill version is Release: 13.0.2.6 I checked online and tried adding below lines to xml. OR · It says our Windchill version does not support on="republish" or on="manual-post" in publishrules.xml. You cannot fix this by editing XML. To get PDF/STEP on republish, you need either: A check-in/schedule trigger, or A custom workflow/JPO that explicitly calls the publishing API. <publish on="manual-post" additional-files="publish_drawing"/>OR<publish on=" republish" additional-files="publish_drawing"/>Description: Attached xml file used. Ca you help on this.
Version: Windchill 12.1 Use Case: Our users want to use the WRS via scripting to create relationships with WTDocuments like those available in the UI.Description: We used Article CS285572 to implement WRS customization that allow users to create WTPartDescribeLink between WTPart and WTDocument using REST Service(OData). We need similar directions for WTDocuments so that our users have the ability to create the same relationships with WTDocument via REST that are available in the UI.
Version: Windchill 13.0 Use Case: I have created a custom API to create Option, Choices and option set by providing respective inputs. I have observed that, after creation, option has been persisted in Windchill with linked choices. Also newly created option set is associated with specific container. So far it is fine. However I am looking for custom API to link Option Set with Option. Can anyone help me on this ?Description:
Is there a api which lets us add multiple users to single role.
Version: Windchill 12.1 Use Case: At the time of migration, we have used few attributes which are used at the time of migration, now they are not at all needed, Since there are many, we need to delete in Bulk.Description: At the time of migration, we have used few attributes which are used at the time of migration, now they are not at all needed, Since there are many, we need to delete attributes in Bulk from.SoftTypeManage Reusable Attributes.
In Windchill 11.0 M030 version, since it is necessary to receive from other systems through interfaces, sample code related to the addition, deletion and modification of classification nodes and classification node attributes is required. After checking, I learned that in Windchill11.0 version, there is no supported API for direct operation.
Version: Windchill 12.0 Use Case: Need to append string at the start of the subject line.Description: I have been trying to add string at the start of the subject line and it is working for General.html and NotificationRobot.html templates. ex: my email subject look like this: Custom String + Analyze Problem Report Now trying the same for templates ApproachingDeadlineNotification.html, CompleteNotification.html, OverdueNotification.html and it is not working. String always attached at the end of subject line no matter what. In screenshot attached see "MY STRING" is at the end of subject line. <html><body><table border="0" cellpadding="3" cellspacing="0"><SCRIPT LANGUAGE=Windchill>getPJLNotificationTitleRow</SCRIPT><tr><td align="right" valign="top" nowrap><font face="Arial, Helvetica, sans-serif"><b><SCRIPT LANGUAGE=Windchill><!-- getDeadLineLabel resourceKey=D
Version: Windchill 13.0 Use Case: I have a requirement from a customer to enforce an order in which changes to parts included in Windchill are completed in. For example, if I had a project which was to replace an inner tube on a bike, I may introduce several change objects into the Windchill instance to achieve this. Task 1 may be to remove the tyre. Task 2 may be to remove the punctured inner tube. Task 3 may be to apply the new inner tube. Assuming we had different people performing each of these tasks, it may be desirable to specify that Task 3 can only be completed one Task 2 had been completed and that Task 3 should not be attempted before this.Description: Using my example above, can anybody recommend the best way to ensure change tasks are completed in a certain order and if it is possible to prevent changes being completed before a pre-requisite change has been completed?
All, I have a scenario where I am calling a custom java method from an expression robot in a workflow. I pass the self and primaryBusinessObject references as parameters to the call and what I need is to get the name of the expression robot. This is not a problem when the call is made from an assigned activity because then the self variable refers to the activity from which I can get the name. However, when self is send from an expression robot it refers to the process itself. Does anybody know how to get the name of the expression robot? I should mentions that in this particular scenario I do not want to pass it as a parameter to the method.
Version: Windchill 13.0 Use Case: I have set up a product in my Windchill Instance. Within the product, I have added a group to the "Guest" role. This is the only role the group is associated to. I have also created a sub-type of a WTPart. When a user in this group looks at the "Details" tab of the WTPart sub-type, they are provided with values of "Secured Information" for the "State" and "Life Cycle Template". However, when they go into an OOTB WTPart (Internal Name - wt.part.WTPart), stored in the same folder of the same product, they are given visibility of the values for "State" and "Life Cycle Template". I came across this article - https://www.ptc.com/en/support/article/CS280989?source=search . Having read this, I created a new policy at the organization level in the "/System" domain which was set to apply to types of "Life Cycle Template". The "State" value was set to "All" and the "Participant" specified was my group which was associated with the "Guest" role. This then al
Reference from topic@tchampier Hi, I am also struggling to upload the file as primary document. A video will be great, can you share it with me too? Thanks, Anand
Version: Windchill 12.1 Use Case: I would like to change Number, Name, and File Name attributes for many CADDocuments and Parts. It took to much time to change the attributes manually. So I would like to use an odata Endpoint.Description: But i did not find any Endpoint in the odata documentation that fits my needs. Do you have any ideas how to solve this Problem?
I have 5 states, design, development, production gate, production change and production released. When a user create a new CAD document it starts in design and has to go through the production gate to reach production released. The production gate is intended for CAD moving from development prototypes to production and requires extra approvals. But there are times when production engineers need to create a part which do not have to go through the production gate approvals. Is there a way allow them to create a part in the production change state? I see in the ACL that there are permissions for create in the specified state but I'm not sure how to set the life cycle state before creating and checking in a new part.
We are currently checking the possibility to create a interface from SAP to Windchill, While we are able to get the required attribute values from SAP and set it on EPM Documents , but these attributes values create a different entries in SLD* file properties using windchill attribute internal nameshttps://www.ptc.com/en/support/article/CS110292?source=searchI understand as per this article that this is expected behavior as we have explicit mapping for Designated Parameters. Is there a way to rectify this?
Version: Windchill 12.1 Use Case: Windchill Publishing is currently set to publish drawings using the As-Stored configuration. This ensures that a REV A drawing is never re-published using a REV B model, for example. But sometimes users check-in a model after the last time they check-in the drawing. Then the drawing publishes "incorrectly". Uses don't notice this because their workspace always has "latest" versions of the model and drawing.Description: Has anyone developed a customization or business rule to check that during a promotion request / change notice, that the drawing is more recent than the associated drawing models of that drawing. I would be open to other suggestions on how to prevent publishing the wrong drawing other than changing the publishing configuration to "Latest". If there was an option to check for "Latest Iteration" of the model, that might work, but I do not want a solution that creates the potential for a Revision mismatch. Years ago, I
Version: Windchill 13.0 Use Case: I need to validate few attribute in save as window once use click on finish, Below is the use case 1. Use will perform save as CAD Document 2. Collected WtParts and Drawings 3. Fill global attribute on CAD Document and finish Need to validate the attribute upon finish. Please do let me know if any one worked on this kind of customizationDescription: Validate global IBAs during save as wizard
Version: Windchill 13.0 Use Case: Windchill is automatically re-linking a previously removed "Describe-by" document (NMBP-ICT) to a part (NMBP-G1) after the document is revised and released, even though a new document (NMBP-SVD) was already assigned. This auto-update, triggered by the system user wcadmin, also increments the part's revision unexpectedly and without notification, causing unintended changes in released data.Description: Hi PTC community.We’ve recently discovered a behavior of the wcadmin user related to Describe by document update.1. We created a Doc Part NMBP-G1 with Releasable Describe by document NMBP-ICT for its first version.2. Upon release, it has the “NMBP-ICT” releasable document and a Releasable Report (parts list) linked to it. This is normal behaviour and what we expect to see. 3. Then I revised the Doc Part NMBP-G1 to version 2.2 via a CN and replaced the “NMBP-ICT” document with a “NMBP-SVD” document as the describe by document
Version: Windchill 13.0 Use Case: Users need to be able to click on the task and be able to see at what step the workflow is in, what comments have been made so they know what they need to do next. Currently my new workflow fails to provide a hyperlink to view the workflow structure and comments for each step in the process. How do I fix this?Description: When the creator/initial assignee clicks on the Submit Document link and the task view is displayed, there's no hyperlink for the process text to enable one to see what the workflow structure is or at what point in the workflow the work is at, or what actions or comments have taken place. Should have a hyperlink like in the image below so one may view the workflow and status information of the current state of the workflow like the other image below. What do I need to do to get the hyperlink to show up in my new workflow?Thanks for any help you may provide,Don A
Version: Windchill 13.0 Use Case: Updating a custom WRS domain. Description: Hello All, I need to do quite a lot of trial-and-error on my custom WRS domain, mainly manipulating .js files. Restarting MS every time to pick up my changes is annoying. Since those scripts are interpreted by Nashorn anyway, I thought... maybe there's some magic trick (e.g. calling some MBean method) to reload them without restarting MS every time? Thanks!
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.2Hello,We are currently using Windchill version 13.0.2.2 in our organization. We've observed that some users are attempting to access Windchill without being assigned any valid licenses. In such cases, the error message displayed is overly technical and difficult for end users to understand.To improve the user experience, we would like to customize the error page to display a simple and clear message indicating that the issue is due to missing Windchill licenses. I’ve attached a screenshot of the current error for reference.This request is of high priority, as the existing error page is causing confusion among users and generating unnecessary support tickets.Thank you for your attention to this matter.
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.