Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Good day, I would like to know whether it is possible to check for a duplicate Variant Specification in the Product Family Matrix Editor? When creating a new variant from the overloaded product structure using the Actions > Configure selection, the flow checks whether a similar/duplicate variant already exists. In the matrix editor it is however possible to allocate any component without validation? Appreciate the help. Thanks
Hi, Just checking to see if anyone else has experienced this before. I have mapped custom parameters in Creo to Windchill EPMDocuments and Part in the Type and Attribute manager. Now, when I check in an assembly from Creo the corresponding attributes get created/updated on the CAD Document as well as the WTPart in Windchill. However, when I check in a single part the corresponding attributes in Windchill only get created/updated on the CAD Document but all of the attribute values on the WTPart is blank. In all previous experiences the mapping has always worked on both assemblies as well as single parts. Anyone perhaps an idea of what I am doing wrong? Appreciate the assistance.
I'm able to create EPMDocuments through the API and through the EnterpriseHelper via a save-as but does anyone know the workflow to use when creating one from a Template stored in Windchill? The API documentation looks like we need to do the following: 1. Call EnterpriseHelper.service.saveCopy(RevisionControlled original) 2. Edit any attribute values on the object that we want to change 3. Call EnterpriseHelper.service.saveFromTemplateObject(RevisionControlled original, RevisionControlled copy) This workflow works and successfully creates an EPMDocument but it doesn't carry forward any of the data from the template. All meta data fields are cleared and the content is not copied (but this is ok because we don't care about the content as we'll be uploading new content any way) I'm assuming I'm doing something wrong or my understanding of the Java Doc is wrong but I can't find any other resources on how to do this. I've been able to use the above workflow and be
Hi All, I'm upgrading from Windchill 9 to 11.1 and I have a JCA / DataUtility customizion I want to convert using OOTB DataUtility ID inside Type and Attribute Manager, but it doesn't work. The customization consists in some soft attribute (eg: DocumentCategory_ETS) of a soft type (intra.elica.upgradesvil.ETS subtype of ReferenceDocument subtype of WTDocument) to be rendered as ComboBox. I followed all instructions and tips from Windchill help center and support cases. Following my code and configurations: 1) site.xconf <Property name="wt.services/svc/default/com.ptc.core.components.descriptor.DataUtility/ETSDataUtility/java.lang.Object/0" overridable="true" targetFile="codebase/service.properties" value="ext.elica.doc.datautility.ETSDataUtility/duplicate"/> 2) propagated value inside components.dataUtilities.properties wt.services/svc/default/com.ptc.core.components.descriptor.DataUtility
Hi, Just want to find out if someone has tried such customization before. We would like attributes to still be populated/edited from the Creo side but it should be read-only in the Windchill user interface. I have played around in Attribute manager but making settings read-only there then prohibits Creo from being able to save to Windchill. Appreciate your help. Thank you
How to set the target folder for part within a customized auto association? I read support article CS277056, there they talk about the EPMWorkspaceHelper.manager.setTargetFolder API. But when I tried to use it, it needs the new WTPart to be persistence, but on check in an error occurres with the message "The part is persistent!". When the WTPart is not persistent the setTargetFolder function gets a null instead of a object id and doesn't execute. I get the following error: Cannot set target folder for objects that are not newly created. 1 out of 1 objects are not new. Does someone have experience with it, and knows a solution? Because I want the new WTParts to be in the same context as the EPMDocument when changing folder for new EPMDocument but not in the same folder, so the preference 'Store New Parts with CAD Documents' is not a solution.
Hello We want to restict user login in another pc once he login in one pc it should be locked not able to login in another pc by that credentials. Regards,Dhananjay
Hello, Is there a way to export MPMOperations from one server and import them to another server? Thank you,
Hello, I want to add a custom button to the Windchill workflow task. I am not able to find any clear information on how to implement the button. Please provide your inputs/suggestions. Thanks in advance. Regards, Hari R
Hi all, In my case, I have a content link between CAD Drawing and WTPart. When CAD Drawing is revised , content link will be lost with the WTPart. I know that there is a preference in Org level to carry forward the content but it applies to all libraries. My client wants this logic only for few libraries and hence I may need code to achieve this functionality after revising CAD Drawing. Please suggest. Regards.
Hello,so i need to get all the items from a table, my method was to get the data with a custom Form Processor using the list of objectBean from the parameter of the post process method, but i figured out that i getting only a limited number of object depending of the scroll size of my table area. Do someone know how to fix that ? Get the list from nmcommandbean or increase the cache size in JS.Is there a mean to add JS in my tableBuilder to increase JS cache ? Thanks for your attention.
Anyone know of a way for atttribute B to use a truncated string of attribute A Attribute A = 12345-67-89 Attribute B = 12345
Hello everyone! Please tell me how can I download the user signature file using Java API or using Info * Engine? Best regards!
Hello,How to enable MPMLink API? which jar is used?(for MPMPartToProcessPlanLink, MPMLinkHelper,...)How to create Process Plan with API?How to copy Operation to Process Plan with API? Thank you
I want to add a new column that will display the attribute (some other attribute which is not available in the table currently) in the edit association table. This edit association action is on the cad object. Can somebody help in achieving this requirement?
Hello everyone, please tell me how to download the drawing view of a wt.epm.EPMDocument using JAVA or Info*Engine?
Hello, tell me, please. How can I get data from the Process Status table in Promotion Request using Info*Engine or JAVA?
HI all, Can anyone please help me in optimizing the SQL query . I have written a sql query to retrieve WTParts when 2 IBAs are given . (using OR, AND conditions). SELECT A0.* FROM WTPart A0,UnitValue A1,StringValue A2,WTPARTMASTER A3 WHERE (A0.ida3masterreference=A3.ida2a2 and A3.WTPartNumber LIKE 'RT-3294%') AND (((A1.idA3A6 = 3853762) AND (A1.value = 0.037099) AND (A1.idA3A4 = A0.idA2A2)) OR ((A2.idA3A6 = 19907282) AND (A2.value = '22') AND (A2.idA3A4 = A0.idA2A2))) AND (A0.idA3view = 569) AND (A0.latestiterationInfo = 1) AND (A0.variation2 IS NULL ) AND (A0.statecheckoutInfo <> 'wrk'). But when this query is executed , its generating only 1 part more than 10k times . May I know if I have to modify the query. Thanks.
Good day to all. I'm querying some ContentItem instances (primary ApplicationData of WTDocument). For some reason API ContentItem.getHolderLink() returns "null" to me. What ways can get it's parent ContentHolder or WTDocument by having ContentItem? Thanks 🙂
Hi All, From Windchill 11 onward, PTC provided longDescription attribute to support Rich text contents. For now this attribute is available for only Change types objects. This is Modeled Attributes. Is any way to reuse this attribute on other Types like on WTPart or WTDocuments ? Kindly share your thoughts. Thanks and Regards, Vivek
Hello, I set a new reusable attribute MFG (String, all identifiers set to just MFG). I added to the CAD Doc subtype and gave it a new enumerated list. The Internal name cannot have spaces... so I removed them and made all the manufacturer names one space free string. But for display name I entered them as they should be. I also put "MFG" next to the Creo:____ box which I believe explicitly maps it? I set my regular part and sheetmetal start files to include the same parameter "MFG" and set the parameter to "ADD MFG" for with the internal Windchill name is "ADDMFG". I checked in the regular part no problem. I checked in the sheetmetal part... problem. the error showed that all the legal values were the internal name on this. Yet the regular part checked in fine with the Display name. I set the parameter in the sheetmetal part to "ADDMFG" and it checked in... What am I doing wrong here!?
Usecase: I have an MVC Table like following: Is there a way to implement a Javascript function that calls an Action on doubleclicking a row in the first column. It should call the same Action like the following one: Thanks Alex
Hello everyone! I try to execute a post request, but get this error: {"error": {"code": "INVALID_NONCE","message":"A potential security problem was detected. Refresh the page and try again. If the problem persists, contact your administrator." } } I found this article: https://www.ptc.com/en/support/article/CS312447 It says that a token is needed, but I already added it and still does not work. Here is the request that I execute to get the token: http://server/Windchill/servlet/odata/PTC/GetCSRFToken() Here is my code for the post request: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import org.apache.http.HttpEntity; import org.apache.http.auth.AuthenticationException; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.ClientPro
Hello everyone! I get information from the server using the OData REST API.I have a global attribute, which is a collection: I want the server to return only one value from the collection when requested. In the request, I want to specify a value that will determine the desired collection value. I understand that such logic can not be written in the request. Therefore, I tried to implement this in the JavaScript domain file. I thought that it should be a function that first receives the values of the collection attributes from Windchill, matches them, and then uses the value passed to the function as a key and returns the desired value. I saw that in JavaScript you can use classes from Java: var EntityAttribute = Java.type('com.ptc.odata.core.entity.property.EntityAttribute'); But I do not know how to use the code to get the values of global attributes. I did not find documentation for odataWeb.jar (com.ptc.odata...) library.Tell me, please, how can I do this?Thank yo
Hello everyone! I tried to get the values of global attributes through RMI, I could not do it.Tell me, please, how can I do it?Are there other ways in java to do it?For example, through the odataWeb.jar library classes?Thanks in advance! Respectfully!
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.