Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.5How to hide the RoleName attribute in Search user page of an Userpicker datautility?
Version: Windchill 13.0 Use Case: I am trying to migrate the full configuration of a development instance of Windchill into a production instance on a separate server. I have identified the aspects of configuration below that I would like to bring across: 1. Attributes (Local & Global) 2. Enumerations 3. Policies 4. Object Initialization Rules 5. Object Sub-Types 6. Workflows 7. Lifecycles 8. Users 9. User Groups 10. Change Task Templates 11. Folder Structure 12. Profiles? 13. Preferences (site, organization, context, and user) 14. Config of Local Team Roles and Members Having looked into this first, I understand that it is important to import certain elements of config into my production instance first so that the other elements can be created successfully. For example, it would probably not be a good idea to import object sub-types in before importing the attributes that the sub-types make use of first. Based on this, I have decided that a good starting point would be migrat
Hello! I am looking for some help with updating the value of an attribute that exists on resulting objects of a change activity through the use of an expression robot in the workflow of the change activity. The resources I've been able to find all seem to call out the object that's having its attribute modified as the primarybusinessobject, so where I am having trouble is calling to the resulting objects while the change activity is the primarybusinessobject of the workflow. I tried the following, but had the error returned "WTChangeActivity2 cannot be converted to FormDataHolder" wt.change2.WTChangeActivity2 changeTask = (wt.change2.WTChangeActivity2) primaryBusinessObject; java.util.Vector results = com.ptc.windchill.enterprise.changeable.ChangeableDataFactory.getResultingObjects(changeTask);
I've been asked to run some dependency scanning on existing repositories. From what I can tell, scanner is looking for pom.xml where we declare the packages were we reference. I know Windchill itself is based on a number of open source packages but cannot seem to find that. Is there a list of this anywhere? I kept getting directed to the Release Advisor. Not sure what I was looking for was listed there.
Under a custom tab I have created on a part, I have included the "Part Instances" table (accessed via the "Customize" button when the tab is selected > General). I would like to include a custom attribute in this table view to compare the attribute value against all part instances included in the table. Does anybody know if this is possible?
Hello,I am working on an integration project and I need to perform the following actions using Windchill OData REST APIs:Create a new WTDocument.Update attribute values (IBA/Soft Attributes) of existing WTDocuments.Link (Associate) the created WTDocument to an existing WTPart (e.g., as a Described By or Reference link).Could you please guide me on which standard Domains (e.g., ProdMgmt) and Endpoints I should use for these specific operations? Is it possible to achieve the linking process within the same transaction or does it require a separate API call?Any examples or documentation references would be appreciated.Best regards.
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.2.0During an update from Windchill 12.0 to Windchill 13.1.2 I had an issue with compiling a java file.import com.ptc.wpcfg.pdmabstr.PROEDependency; is used in the file but it's not recognised by Eclips.The class should be availeble in DDLBasic.jar. Is it moved or deleted (com.ptc.wpcfg.pdmabstr)? Do I neet to use something different?I have a workaround, the variable is used once and should be a constant value, but that is not a clean solution.
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.25Is it possible to auto synchronize to workspace from any custom commonspace action trough windchill API ?Workspace synchronization by commonspace actions must be automatic
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.6Manage filter option not opening in structure tab for saved filtersHere are the errors that I facedAction greyed out after first click but popup does not open.
I'm exploring configurable links for change management. Can you walk me through your approach to linking WTParts with Change Notices, especially:- how the custom link type was defined,- how you automated link creation when parts are added to Affected Objects, and- how you exposed these links so users can see which products have running changes?Any implementation tips would be very helpful. Reference topic: Solved: What is the use of configurable links in windchill... - PTC Community
I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.2.0 and apache activemq 5.18.4Hello,after Upgrading our Windchill Testsystem from Version 12.1.2.9 to 13.1.2.0 the InfoEngineTask com\ptc\windchill\esi\SubscribeQueue.xmlfails with the following error message in Methodserver.log:...[Thread-11] wt.system.out wtadmin - ESI: Administered object "cn=queueConnectionFactory" is not the correct type: expected "ConnectionFactory"The queueConnectionFactory is defined in OpenDJ.The ldif looks like this:dn: cn=queueConnectionFactory,cn=activemq,o=ptcobjectClass: javaContainerobjectClass: topobjectClass: javaObjectobjectClass: javaNamingReferencejavaFactory: org.apache.activemq.jndi.JNDIReferenceFactorycn: queueConnectionFactoryjavaClassName: org.apache.activemq.ActiveMQConnectionFactoryjavaReferenceAddress: #0#brokerURL#tcp://localhost:61616In windchill 12.1. this worked without issue. Why is it not working in Windchill 13 any more? Please help.Best regardsJohannesHere are
We are querying part information and their associated documents using the same OData request on two different Windchill environments.In our test environment, all documents are returned correctly with the following request: /Windchill/servlet/odata/ProdMgmt/Parts?$filter=Number eq 'XXXX'& $expand=Versions($filter=State/Value eq 'RELEASED' or State/Value eq 'IMPORTED'; $expand=DescribedBy($expand=DescribedBy($expand=Attachments,Representations)), References($expand=References($expand=Attachments,Representations)), PartDocAssociations($expand=RelatedCADDoc($expand=Attachments,Representations))) However, in our production environment, some documents that are clearly visible in the Windchill UI (under DescribedBy or References) do not appear in the OData API response at all.The document is visible in the UI.We are logged in with an admin account.The same request works fully in the test environment.The issue happens only in production.We would like to ask for guidan
Version: Windchill 13.0 Use Case: I am trying to understand if it possible to ensure that change tasks inherit the number of the change notice to form the prefix of their own unique identifier. For example, if there was a change notice called "12345" which had two change tasks included on it, I would like those change tasks to have numbers of "12345-001" and "12345-002".Description: Can anybody advise if this is possible?
Version: Windchill 13.0 Use Case: Would like to have a change review object template (like we do for change notices) Description: Two part question as I'm starting to play more with change review objects. These are considered Change objects... so why is it that they can't be templated on the Templates tab like change notices can? I'd like to add a table to the long description field of the peer review object. Keeping in mind the first question, is there a way to do this without templating the object?
I have a scenario where I need to traverse to to the Upstream eBOM part using following API -> wt.fc.PersistenceHelper.manager.navigate(mfg_Part,wt.associativity.EquivalenceLink.UPSTREAM_ROLE, wt.associativity.EquivalenceLink.class); Above API returns QueryResult for all iterations of upstream WTPart which had equivalent link between them and mBOM part. However if the user iterates eBOM part but does not update equivalent link manually, I would still need to be able to traverse to previously linked upstream part Need assistance with finding link to previous Non -Latest eBOM wtPart to fetch further associated documents from it QueryResult upstreamResult = wt.fc.PersistenceHelper.manager.navigate(parentPart,wt.associativity.EquivalenceLink.UPSTREAM_ROLE, wt.associativity.EquivalenceLink.class);LOGGER.debug(">>>>> upstreamResult : " + upstreamResult.size());while (upstreamResult.hasMoreElements()) {Object partObj = (WTPart) upstreamRe
Version: Windchill 13.0 Use Case: I have managed to find the "com.ptc.windchill.pdmlink.change.server.impl" package on my PC but there is no package that exists in there called "WorkflowProcessHelper". According to the Javadoc that is available via the client, this class exists. It is also called in one of the OOTB workflow robots.Description: I am trying to establish where classes, that I am unable to see on the server but are called in workflow robots, are stored. Can anybody shed light on this?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.16Microsoft Edge navigation with IE Compatibility turned on is not working as expected for Edit Wizard.
Version: Windchill 12.1 Use Case: understand why some documents visible in the Windchill UI are not returned in the OData API response and to identify the required configuration to make both environments consistent. Description: Hello, We are querying part information and associated documents using the same OData request on two different Windchill environments. In our test environment, all documents are returned correctly with the following request: /Windchill/servlet/odata/ProdMgmt/Parts?$filter=Number eq 'XXXX'& $expand=Versions($filter=State/Value eq 'RELEASED' or State/Value eq 'IMPORTED'; $expand=DescribedBy($expand=DescribedBy($expand=Attachments,Representations)), References($expand=References($expand=Attachments,Representations)), PartDocAssociations($expand=RelatedCADDoc($expand=Attachments,Representations))) However, in the production environment, some documents that are visible in the Windchill UI under DescribedBy or References do not a
Version: Windchill 12.1Organization> Type and Attribute Management > Manage Global enumerationUse Case: Hi everyone Does anyone know the API URL of Manage global enumerations or any other way to access it in API I'm using Workato and need to GET/POST to that list on Windchill Thank youDescription: Hi everyoneDoes anyone know the API URL of Manage global enumerations or any other way to access it in APII'm using Workato and need to GET/POST to that list on WindchillThank you
Hi Team,Is there anyone knows how we can create custom OData rest service in Windchill, please share here if anyone have any solutions. Thanks in Advance.
Version: Windchill 13.0 Use Case: Autoassociate preference is turned on and a custom class that extends DefaultAutoAssociatePartFinderCreator implements AutoAssociatePartFinderCreator runs to select the correct subtype based on Product context. Autoassociate created WTParts don't have the particular subtype defaults. Description: I customized the AutoAssociatePartFinderCreator class to look at the product context a CAD document is being checked into and based on the context selects the appropriate subtype of WTPart to auto associate. This works as expected and the correct WTPart subtype is associated on check in based on context name. However, the subtype defaults and cascading attribution I set up for that particular subtype doesn't carry over. Instead, it looks as though the WTPart subtype is created based on the default parent WTPart. When I create a new part in the context, it follows the WTPart subtype attributes and defaults I set up.
When I click on the + button, a new row should get created, creating a new row is also working fine with the below code. in the JSP page, I first created a table like below<table id="attachmentTable" style="border-collapse: separate; border-spacing: 12px; font-family: Arial, Helvetica, sans-serif;"> <!-- pickerCallback="BUEPMDocumentPickerCallBack" --> <tbody id="rows"> <tr> <td> <wctags:itemPicker id="buObjectPicker" label="Document Picker" showTypePicker="false" objectType="WCTYPE|wt.epm.EPMDocument,WCTYPE|wt.doc.WTDocument" componentId="buObjectPicker" pickerTitle="Object Picker" displayAttribute="name,number" pickedAttributes="name,number,version,iteration,view" editable="true" pickerCallback="BUEPMDocumentPickerCallBack" pickerTextBoxLength = "40" readOnlyPickerTextBox="true" /> </td> <td style="border-collapse: separate; border-spacing: 12px; fo
Version: Windchill 13.0 Use Case: Using PersistableAdapter to get IBA values of a cascading attribute, the obj.get("attribute_internal_name") for the cascading attributes specifically returns the internal names of the underlying global enumeration item instead of the display name. Description: I have a WTPart subtype that has several cascading attributes. Is this expected behavior? Is there a way to get the display value of the enumerated value that is used to set up the cascading attribute? PersistableAdapter, when used to get the original value ("Reason for Classification" in my case) returns the enumerated value list internal value instead of the display value. Setup:
Version: Windchill 13.0 Use Case: We have a customized Workflow that has a Date as variable (actually, I would prefer a date like LocalDate for the user, but Windchill is still proposing the java.date.Date). I would like that a user can set the date during a User Task.Description: The variable is shown a a text, without any format hint for the user, and the conversion to Timestamp depends on the timezone of the user (if the String is not completely filled) ...How could we provide a date picker as input instead of a input text ?
Version: Windchill 13.0 Use Case: I am trying to include information within the context of a part instance that tells users where the part instances are allocated. But, I only want to show the parent part instances which the child is allocated to which are at a state of "Released". For example, I have part instance A which is a child of part instance B. Part instance B is at a state of "Released" at revision C. When I create a new revision of part instance B, the first iteration of revision D includes part instance A as a child within its structure. I can then remove part instance A from the structure of part instance B, revision D before setting the state of part instance B, revision D to "Released". If I then navigate to part instance A and look under the "Allocations" tab, part instance A is still said to be allocated to revision D of part instance B, despite part instance A not featuring in the structure of the released iteration of revision D of part instance B.Description: I
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.