Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I have requirement to search object using queryspec which can have number with leading zero(to make it 8 digit length) or without leading zeros.e.g. I am to search object number 66, query should be able to find object 66, 066, 0066 etc. I got regular expression to search( ^0*66$ ) need to know how to use in queryspec.
Hello all, I want to validate a specific IBA on Change Request creation. This IBA is multi-valued and has enumerated values, let's say A, B, C, and D. So, when the user selects A and B both at a time, it should give an error. All other combinations should work fine except this A and B both together... I have written a JS function and placed it in create.jsp of the change request and tried to call this in my custom action file using action as a wizard step, something like below... <objecttype name="changeRequest" class="wt.change2.WTChangeRequest2" resourceBundle="com.ptc.windchill.enterprise.change2.changeManagementActionsRB"> <action name="defineItemAttributesWizStep" afterJS="validateMyAttr" id="defineItemAttributesWizStep" preloadWizardPage="false" required="true" resourceBundle="com.ptc.core.ui.componentRB"> <command windowType="wizard_step" /> </action> </objecttype>&n
When Registering Sceurity Labels, What is the use of registering the security label in logicalform and external form in logicalattributessite.xml<Class name="wt.access.SecurityLabeled"><Property><LogicalForm>ALL_SECURITY_LABELS</LogicalForm><ExternalForm>SCA|ALL_SECURITY_LABELS</ExternalForm></Property></Class>
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030In one of the Type attribute; "Customer Name" we are unable to put it in a single line despite backend code change.Tried to replace the codeline used to fetch customerNumber, but it did not work.
Does Windchill supports SFTP to transfer files ? Do we need the external jars to enable SFTP in windchill ?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.1We tried to run a javascript saved in windchill codebase\wtcoreThe jsp and html files are saved in windchill\codebase\wtcoreHowever, when we enter the url in the server's internet explorer we are getting an error 'The requested url is not found in this server.'Here are the errors that I facedThe requested url is not found in this server.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.16Webject機能を使用して列挙属性の内部名から表示名を取得するような機能の作成を考えております。アーティクルCS57350を参考にxmlを作成したのですが、これを呼び出し表示名を取得する箇所のコーディングが分からないです。xmlを呼び出し、列挙の表示名を取得するようなソースコードのサンプルがございましたら共有いただきたいです。以下参考アーティクルになります。https://www.ptc.com/en/support/article/CS57350?art_lang=ja&as=0
When Registering Listener in any xconf, we use property name="wt.services.service.{some int number}"What is the use of that int number in property name
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?
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.