Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 12.1 Use Case: We have a use case where we have custom numbers stored in excel sheet and whenever a number is taken it is marked as used by engineer,engineer creates WTpart using that part(those numbers are standard to business,the sequence cannot be changed).and picking of this numbers is not in sequence,user takes whatever number they want from list.Because of this auto numbering became challengeDescription: To address above issue, I am planning to load all the available numbers in to a table in database and create a data utility to compare numbers between WTPARTMASTER and MasterNumbers Table(Created by me) and create a JSP page with Find available numbers button that should run the data utility to show the available numbers. 1.Database Query 1. Database Query Create a query to find the free numbers by comparing the MASTERNUMBERS table with the WTPARTMASTER table. SELECT mn.number FROM MASTERNUMBERS mn LEFT JOIN WTPARTMASTER wp ON mn.number = w
Hello PTC Community, I’ve configured Role A at the organization level to allow users to read and download content only in release-equivalent lifecycle states. However, I’ve encountered an issue where Role A is inheriting the out-of-the-box (OOTB) ACLs assigned to the Team Member role, which inadvertently grants users access (read and download) to objects in all lifecycle states.What is the best practice for configuring ACLs so that Role A can only access objects in release-equivalent lifecycle states, even when users are also assigned the Team Member role? Any advice on managing role-based permissions effectively in this scenario would be greatly appreciated.Thank you in advance! Best regards,Santosh
Version: Windchill 11.1 Use Case: Need to copy Bom structure and Process Plan structure to new objectsDescription: Is there an API that could be used to copy the whole bom structure from one part to another part, and also is there an API to copy process plan structure to another process plan?
The following steps which we have followed to create custom WTDocument numbering using two wizard steps1. custom action and action model2 Main wizard3. Wizard step one and two4. Error message com.ptc.core.components.jsp.JspUtils wcadmin - java.lang.NullPointerException java.lang.NullPointerExceptionat com.ptc.core.components.tags.components.InitializeItemTag.doTag(InitializeItemTag.java:371)at org.apache.jsp.netmarkets.jsp.doc.Second_005fWizard_jsp._jspx_meth_jca_005finitializeItem_005f1(Second_005fWizard_jsp.java:1939)at org.apache.jsp.netmarkets.jsp.doc.Second_005fWizard_jsp._jspx_meth_c_005fotherwise_005f1(Second_005fWizard_jsp.java:1903)at org.apache.jsp.netmarkets.jsp.doc.Second_005fWizard_jsp._jspx_meth_c_005fchoose_005f1(Second_005fWizard_jsp.java:1808) Earlier we have tried the same activity using single wizard page, it was working as expected.
As per the original post. Hello @HelesicPetr,I have a table that I am calling directly from a jsp file: <div id="mvcTable"> <mvc:tableContainer compId="com.ml.util.testUserTable" height="800"/></div>The table automatically brings back a list of users. The users are selected by checkbox and then I have a custom action that allows action on the selected users from the Actions menu. I'd like to implement an inline message that gives information once the custom action completes. I would normally do this from the jsp file but the custom action is not accessed from there. Any thoughts on how to accomplish this?
Version: Windchill 12.1 Use Case: Trying to connect Windchill PLM to Codebeamer via Digital Product Traceability (DPT) Following: https://www.ptc.com/en/support/article/CS400634Description: From Windchill go to Part, show Traced To tab, click on plus icon, unable to see any server on the drop-down: By the way, I'm not setting SSL on any server, only thingworx flow was set to https by default during its installation(not sure why). + @BRAHIM + @AO_10972871
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.1How to create substitute for a component in BOM using OOTB ODATA Windchill Rest ServicesHere are the errors that I facedNot applicable
I've implemented a Custom User Picker Utility, and displaying it on an attribute called 'PR Owner' on Problem Report. When I initially create a PR and search for a user using the find icon and pick a user, or edit an existing one and pick a user, it is working as expected.But, when I open the PR in a Edit Mode, and save/finish without making any changes to the previously selected user in that attribute, the values vanishes, it is not being persisted upon save. Once the save is completed, the PR Owner attribute value is empty. Any suggestions/ideas on how to persist the value?
Version: Windchill 12.1 Description: I need to retrieve 3D thumbnail image for given Part. Looks like it is possible using Windchill OData Rest APIs.can someone please let me know how to retrieve it in Windchill server side utility? Is it possible to bypass the Authentication as we are invoking from Windchill server side.
I am experiencing a critical issue with generating Manufacturing Objects in Windchill 12 using the MBoM Loader. This process worked correctly in Windchill 10 but is now failing in Windchill 12.Process : I use a custom XML file (GEN.xml) to create manufacturing objects via command line and MBoMGenLoader.Command used : ( windchill wt.load.LoadFromFile -d path/GEN.xml )Issue: The XML file imports successfully with no errors reported in either the Method Server or Background Method Server, but the manufacturing object is neither created nor visible in the Windchill interface.The handler method specified in the XML (handler.createMBoMGen) is not being executed at all.DTD file :GEN.xml :Why is the handler (handler.createMBoMGen) not being executed during the XML load process ?I appreciate your prompt response.
Version: Windchill 12.1 I want to create a customized view in the 'view' section of Windchill tables. Instead of showing objects created by many people in that table, I want to see only the objects created by the current user. How can I achieve this?"
Hi Everyone, I am trying to set Classification attributes on a WTPart for windchill 11 M30 CPS 14. I already have the binding attribute set, I am just having trouble setting the attributes. I was able to get this to work using the PersistableAdapter and using the AttributeTypeIdentifier's toLogicalForm()) on my local install of Windchill 11 CPS15. However this doesn't work on the Client's CPS 14 Windchill because toLogicalForm returns null. I am not sure if this is a bug in CPS14 or if I am going about saving the attributes incorrectly. /*** * @param workable - The Object being updated* @param bindingAttributeName - This is the name of the IBA for the classification binding * @param classificationNode - this is the name of the Classification Node to set into bindingAttributeName* @param attributeValueMap - <String,String> = <attribute name, value> - classification attributes and values.* @param leaveCheckedOut - use t
Do we need customization for Major and Minor revision or there is an OOTB feature in windchill 12.
Version: Windchill 11.2 Use Case: Just trying to read/modify Assigned Item Expression which is assigned to a WTPART, in the workflow and then i'll just assign expression to wtparts via workflow.Description: Hi there,First of all, I need to explain our daily use of Item Expressions. We usually assign an expression to a WTPART using the Assigned Item Expression. When I do this, we first move the WTPART to the Library where the Option Set is defined. We're using "Assign Advanced Expression" to assign the expression to the WTPART.What I am trying to do is print the Assigned Item Expression assigned to a WTPART in the workflow and then assign the expression to WTPARTs via the workflow. However, since this “Assigned Expression” attribute is a calculated value, we cannot retrieve it directly. We need to print it by capturing the relationship between the Option Set and Choice with the WTPART.There is a topic about obtaining Usage Expression in the forum, but with usage expression, this ex
Hi Everyone, I have Activity number and change notice number as well and I can use simple query on WTChangeActivity2 to get activity as object but I want to enhance Java query spec so How can we append 2 classes WtChangeOrder2 and WTChangeActivity2 and query for the activity object from specific change notice using number
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.0i have created the infoengine based webservice. While running webservice client i got the below error in windchill shellException in thread "main" com.ptc.jws.service.org.myorg.mathservice.Exception_Exception: com.infoengine.exception.fatal.IEForbiddenExceptionHere are the errors that I facedException in thread "main" com.ptc.jws.service.org.myorg.mathservice.Exception_Exception: com.infoengine.exception.fatal.IEForbiddenException
Hi, If there is a Custom API Developed in Windchill, where does it show in the WRS? Thanks,
Requirement is in Report I want same structured Description as I have on CN : --> I have Description on CN like :This is New CN to make Changes in Part ,• Do the Proper Marking on Parts• Update the associated parts as well --> Output I am getting after using that API is :<p>This is New CN to make Changes in Part ,<br clear="none" />• Do the Proper Marking on Parts<br clear="none" />• Update the associated parts as well</p><p> </p> --> For that I am using below API but it is not working as expected : HTMLTextFilter.filterHTMLText(cn.getLongDescription().getRichText().toString(),"com/ptc/core/richtext/jasperrichtextfilter.xsl", true, false);
I have project object with me and how can get plan from the project object in windchill. is there any api to this ?
Created a custom action however its currently being hidden.
Version: Windchill 12.0 Use Case: Need help completing my bash script to compile java files. Currently having issues with windchill class not found exceptions, I believe I need to include the .JAR files into the classpath, but am not sure how to do so.Description: Here is what I have written so far, the javac $file command is leading to class not found exceptions since I haven't included the JAR files: I saw this article that briefly talked about how to do https://www.ptc.com/en/support/article/CS324171 But I am using more than one jar file, probably about 50 in total. Need help figuring out what to do with them.
There are various API variations, such as POST, PATCH, and GET, for attachments in WTDocument within the REST APIs in WRS to perform operations on the document. My question is: Can we access the attachments in the drawing located in CADDocument through WTDocument? If so, can we replace the document there, such as a PDF file, with another file? If we can do this, how do we establish this connection?
Version: Windchill 12.1 Use Case: Uploading CAD documents generates a sequence (00001234) number instead of name.Description: Our windchill system has always been setup such that any files that dont auto associate to existing parts are assigned a 10 digit sequential number. How do I change it so that files checked in are are given a number the same as the model - ASM001.asm associates to a part with the number ASM001 instead of 00001234?
How can I download primary content throug API? We are building an internal tool and are trying to extract EPM Document primary content and metadata from Windchilll PDMLink 13.We've tried with REST API, but could only extract metadata, without primary content.Can anyone point me to the right API that can be used for this purpose?We are also planning to create CAD Documents/Upload Primary content to them, so that is also something that we need to work on. Any kind of advice will help.
Version: Windchill 12.0 Use Case: Requirement : Need to set Release Target Programmatically for Resulting Objects.Description: setTargetTrasition() is there but not getting a way to set Release Target.Currently I have CN , CA and when I try to get change Record that time getting class cast exception for any object.
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.