Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 12.1 Use Case: I have created Family instances in solid works and I associated those instance to WTparts. I am able retrieve all the parts, associated cad Documents and instances. I have added all the objects to workspace. Now I wanted to add the generic part of those instances to workspace . Can you help to add the generic part of those instances to workspace.Description: This is the code i am using to retrieve all the parts, associate cad documents and ins tances. Now i wanted to retrieve the generic parts and add it to workspace private void updateChildParts(WTPart parentPart) throws WTException, WTPropertyVetoException {System.out.println("Updating child parts for:Raghu " + parentPart.getNumber());QueryResult partUsageLinks = WTPartHelper.service.getUsesWTPartMasters(parentPart);while (partUsageLinks.hasMoreElements()) {WTPartUsageLink usageLink = (WTPartUsageLink) partUsageLinks.nextElement();WTPartMaster partMaster = (WTPartMaster) usageLink.ge
I need a variable to be evaluated inside Assigned Activity node (JSP didn't work either), so I can send information through the mail bot. Workflow Template: Variables: Workflow Expression node: Workflow Assigned Activity node: BackgroundMethodServer logs: 2024-06-21 09:11:07,313 INFO [WfUserWorkQueue.PoolQueueThread-9] wt.system.out wcadmin - *************Found 2 objects in this promotion************* Objects undergoing promotion are <table><thead><tr style="background-color:yellow; font-weight:bold;"><td style="padding:5px; border:.5px solid black;">Promoted Items</td><td style="padding:5px; border:1px solid black; text-align:center;">Version</td></tr></thead><tbody><tr><td style="padding:5px; border:1px solid black;">10100184.prt</td><td style="padding:5px; border:1px solid black; text-align:center;">A00</td></tr><tbody><tr><td style
Hello,Is it possible to increase string length of global attributes to 5000 characters. windchill provides 2000 max character limit as OOTB.client want to increase that string length to max 5000 characters. is it possible?Is it possible by little configuration or need more customization? if need what type of configuration, please provide?
By default at time of import the product template through UI it will call ImportContainerTemplateFormProcessor.java. So i am trying load the template through automatically, i wrote a code it will fetch the .zip after that it has to call ImportContainerTemplateFormProcessor.java with the .zip file paramater. this is the code.note : i am unable to pass the .zip file import com.ptc.core.components.beans.ObjectBean;import com.ptc.core.components.forms.FormProcessingStatus;import com.ptc.core.components.forms.FormResult;import com.ptc.netmarkets.util.beans.NmCommandBean;import com.ptc.windchill.principal.template.processor.ImportContainerTemplateFormProcessor;import wt.log4j.LogR;import wt.util.WTException;import org.apache.logging.log4j.Logger; import java.io.File;import java.util.HashMap;import java.util.List;import java.util.ArrayList;public class CustomTemplateImporter {private static final Logger log = LogR.getLogger(CustomTemplateImporter.class.ge
As per the original post. Hi @Manoj_Dokku4 , @HelesicPetr how can we get Affected End Item of Affected Objects??
Version: Windchill 12.1 Use Case: Requirement 1) Want to fetch change summary details like On Order, Work-in-Process, Finished, etc. Requirement 2) How to get Release Target or Change Transition details for ObjectsDescription: I don't know actually how to use :1) wt.change2.ChangeRecord2 record = (wt.change2.ChangeRecord2)2) wt.lifecycle.Transition
is there any Api to create Change task template throw code in change notice.
Hi @BjoernRueegg In reference of a discussion in old topic How can we get affected end item of affected objects through API
Hi,I have soft attributes defined on the WTPart and I would like to retrieve their values. But going through REST Guides and browsing and searching through PTC support site I did not fine single example how to accomplish that. Am I missing something or REST query cannot be used to retrieve soft type attributes? Does any body have any suggestion?
is there any api to create deliverable by code in a plan for an Activity.
Version: Windchill 11.1 Use Case: I would like to reorder the Target Promotion state in the drop down list being shown for a New Promotion Request to match the order in the Life Cycle Template.Description: I have added custom states to our windchill install.This is the order of the states in the life cycle templateThis is the order they are showing up in the New Promotion Request drop down listHow do you change the order in the drop down list to match the Life Cycle Template?I would like the drop down list to read as the following: In DevelopmentProvenReleasedObsolete Thanks for any help you may provide,Don A
Hello together,I struggle with the following topic: I created the child change request Standard Change Request (SCR) out of the parent Change Request (CR).Now I want to have an individual order of the sections on the Details tab like Affected Objects, Attachments, Associated Process Objects, etc for the SCR. And no I don't mean the attributes layout.I already found the current action model, which is used for all the change request types: changeRequestInfoPageTabSetAnd also the section in the ChangeManagement-actionModels.xmlBut when I make changes here, it will be changed for the parent Change Request and also all child objects. I would suggest the next steps for the SCR are to create1. a action model name="standardChangeRequestDetailsTab" for the order of the single elements2. a action model name="standardChangeRequestInfoPageTabSet" for the different tabs But how do I link now the new created standardChangeRequestInfoPageTabSet with the actual
Reference topic Is it possible to exceed limit from UI ?
I have created the variable and check box is appearing as expected in the task page. there is this requirement wherethere are 2 routing options, out of which for "Completed" routing option once selected it should not complete the task after clicking "Complete task" button until and unless the check box is selected. but where as the "Return_to_project_owner" routing option once selected even if the check box is not selected it should be allowed to complete the task. till now I have this code in handy , which will not allow until the check box is selected but i wanted with routing option conditionpublic static Object[] criticalitytraceabilitycheck(Object result, boolean Criticalitycheck) throws Exception {System.out.println("Enter WFT_PolEntChangeActivity.criticalitycheck --> ");if (Criticalitycheck == false){result = false;String msg = "To complete the task, Please select check box";java.lang.Exception exp = new java.lang.Exception(msg);throw exp;}else {result
I have a list of WT-parts which were already classified with a node. If I want to change the node with a loader spreadsheet file, it is easy as we can simply change the classification name. But if I want to remove the classification of those WT-Parts using Loader spreadsheet file, how can I do it. Keeping classification column as empty is not working. We can do it one by one manually as checking out, modify and checking in. But I have a lot of parts like that, I want to do it by Import from spreadsheet method.
: How can we get Affected End Items of Affected Objects of Service Change request and add in Affected End Items table of SCR through API
Version: Windchill 12.0 Use Case: Hello, I am trying to open the overview of the Product Management Domain in the Windchill Rest Service Section for version 3, 4 and 5. Description: In this section it shows API versions 1 to 5, but only V1 and V2 work and display information when clicking those. When selecting API version V3, V4 or V5 in the Product management domain in the WRS I get an error (NullPointerException). However, all other versions of all other domains work without any issues. Does anyone know what the problem could be? Thanks and best regards
Hi! I am trying to resolve a container id from an existing Change Task and it seems that the response body of https://support.ptc.com/help/windchill_rest_services/r2.4/en/#page/windchill_rest_services/wccg_restapiaccessexamplesgetchangetask.htmldoes not contain the location (container) where this change task was created. Please help me find an API that can be used to resolve the container ID when the Change Task ID is known.
Version: Windchill 12.1 Use Case: how to create part in info-engine using websericeDescription: how to create part in infoengine using webserice
Version: Windchill 12.1 Use Case: Hello all, I'm interested in learning about customizing Windchill. I have experience prior experience in Java and Python languages. Can anyone suggest some recommendations on which companies provide the best windchill customization training? Thanks in advance, APDescription: I have explored the course topics from https://www.felcosolutions.com/; which was quite famous as I got to know from the forum. But those materials are for old versions like 11.0 or earlier. Do they anymore provide the training for higher windchill versions?
I'm changing the sheet name in the Part Navigator, but we're still ordering the PDFs according to the old number. NX supposedly has an API for this, but who knows when it will be released. I don't know how to use the After Loader part or where to write the code and how to upload it. Most importantly, how can I access the relevant PDF? Could you explain this, please?
Hi all, I have to create a check box in the change activity with string type and until the check box is ticked the complete task button should be disabled. please find the attached image for reference.can anyone please provide a solution for this?
I want to change familytable name through code is there any API ?I have tried the following API, but getting following exceptionIdentityHelper.service.changeIdentity();A persistence error has occurred. System message follows:2024-06-04 13:28:48,055 INFO [RMI TCP Connection(17)-192.168.170.106] wt.system.err wcadmin - Nested exception is: (wt.epm.util.EPMResource/364) wt.util.WTException : Family table validation failed. Unless this error occurred while importing a package, contact PTC. Failure to import a package may be due to a compatible generic part not being available during import.
Hello Team, Is there any one tried get the Task and Assignee from Change notice using Odata Rest API.
Version: Windchill 12.0 Use Case: Start an advanced classification search - Open Advanced Search page - Under Type, select a classification type. - Under Classification field, specify a classification node (a classification binding attribute) - Now the Criteria options updates and all corresponding classification attributes are available as Criteria conditionsDescription: Please do the steps described in the Use Case.What I want to achieve here at this point is to exclude/remove a specific classification attribute so that the user cannot add it as a Criteria condition.How can I do that in Windchill? Is that possible at all?Thank you in advance!
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.