Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I want to attached a local file to EPMDocument in Winchill by RESTApis. But i can not see any document about this. When working around i see 2 possible ways Way 1: +> Find some way to upload the file to server's content cache. Then get the encodedCCD property+> Using encodedCCD to add to the request create EPMDocument. API: **POST Windchill/servlet/rest/v1/wgm/workspaces/{workspaceId}/store ** Way 2: +> Associate EPMDocument to a WTDocument+> Attach the file to WTDocument I not have any experience in Winchill, so can anybody have faced with similar problems, please help me Thank you
Version: Windchill 12.0 Use Case: Validating all Selected objects with few conditions during validateSelectedMultiSelectActionDescription: I am selecting multiple objects(Documents/Parts ) from the folder to perform to trigger an action which performs setState/Workflow initiation.Here reading the list of objects from command bean/validation criteria returning the null.When I am selecting one object it is returning the object and validateSelectedAction is executed with out any issues.I tried multiple ways to get the selected objects by changing the window type= normal popup new no content and etc...I also used different apis to read the objects but none is working. All these api's were returning the selected objects like 2 months back now all of a sudden it all stopped returning the objects.Used below apis to get the selected objects from the folder .WTCollection targetObjects = new WTArrayList(criteria.getTargetObjects());final List<NmOid> selectedListO
版本:Windchill 12.0 Description:The customer complained that they are unable to view all task nodes and can only see the current task node. I now need to adjust the display mode to show completed and unfinished nodes.May I ask how I should adjust
Hi, I would like to get a List of .drw who changed the lifecycle state within the last 24 h. There is a restriction to get the information via REST Endpoint. I used the PTC CAD Document management with GET CADDocuments. I tried to use the filter for the LastModified date. But there is no impact of a changed Lifecycle state to the Last modified date. Any Ideas how i can filter for objects who changed their lifecycle state in a range of time?
I have the change Notice Number. From the changenotice number get the changables after from the changables i want only part. From that part i want to retrieve the attribute "Material_Type".
Hi BjoernRueegg, Can we use same ( PersistenceManagerEvent.PRE_STORE) event for Change notice creation ? Because I want manipulate char length of one of String type IBA before CN creation. If not then could you please suggest the right event.
Is it possible to create a WTDocument with MULTI_PRIMARY Content via JAVA API?
I need to retrieve the API of all objects affected by change notifications in WTpart through programming, because I need to control whether the WTPart objects of the affected objects already have other changes when creating a new ECN. If so, the current change will be canceled and the customer will be prompted that there are already other changes in the objects. Please complete them first before initiating the change
Hello everyone, please tell me how to add an action to the "Actions" button for only one subtype of the document WTDocument?
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
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.