Windchill
Recently active
Hello, I have created a new custom table in SQL server to which I should populate certain data through code. I have written the sql query in code for that, I need to know how I can execute the query so that I can see the entry getting reflected in the database. Please let me know how I should proceed. Thanks and Regards, Hari R
For a few workflows I've created methods to set an object's attribute (one for String, one for TimeStamps) which have worked great over the past few years. I have a new requirement to set an int's value. I created a new method and changed the input attribute to accept an int. When I call the method, i get an odd error telling me I've violated the limit constraint. The value I'm sending is 2 which should not cause any issues. wt.system.err Administrator - com.ptc.core.meta.container.common.ConstraintException: The value for Number Of Cavities must be between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807, inclusive. The method i have is the following public static void setAttributeValue(WTObject pbo, String IBAName,int IBAValue) { PersistableAdapter obj; try { obj = new PersistableAdapter(pbo, null,Locale.US, new UpdateOperationIdentifier()); obj.load(IBAName); System.out.println("Attribute " + IBAName + " value is " + IBAValue); obj.set(IBAName,
Hi, I have a list of parts and I want to get WhereUsed objects of them. As the data is very big , its taking too long time. so I want to implement multi threading . This is my code : for(WTPart part:setofparts) { /*ArrayList<Object> objectsList=new ArrayList<>(); objectsList.add(new HashSet<String>()); objectsList.add(new HashSet<String>()); objectsList.add(new ArrayList<String>()); getPartStructure(part, objectsList); dataMap.put(part, objectsList);*/ } private static ArrayList<Object> getPartStructure(WTPart part,ArrayList<Object> objectList ) { try { ArrayList<String> set=new ArrayList<&
I get the below popup when I try to start the queueThe logs say2016-09-20 07:16:25,842 INFO [ajp-bio-8010-exec-6] wt.system.err wcadmin - *ERROR* Failed to start Queue(WfPropagationQueue), state STARTING timed out2016-09-20 07:16:25,845 INFO [ajp-bio-8010-exec-6] wt.system.err wcadmin - *ERROR* Failed to start Queue(WfPropagationQueue), db state is STARTING2016-09-20 07:16:25,845 INFO [ajp-bio-8010-exec-6] wt.system.err wcadmin - Services defined on this node: MethodServer, executeQueues = false, cache master codebase null2016-09-20 07:16:25,845 INFO [ajp-bio-8010-exec-6] wt.system.err wcadmin - Queue Group/executionhost: (default/null), enabled true2016-09-20 07:16:25,845 INFO [ajp-bio-8010-exec-6] wt.system.err wcadmin - Inside a nested transaction? false2016-09-20 07:16:25,856 INFO [ajp-bio-8010-exec-6] wt.system.err wcadmin - Server (info) type wt.method.MethodServerInfo@5fa81d2e
If you have not already heard, Navigate 9.0 was released on Tuesday and is available for download!! This release includes: Component-based app development for custom production use apps (upgrade-safe) Improved Excel Export in View Apps Installer support for in-place upgrades from 8.5 and Navigate installation on an existing ThingWorx instance ThingWorx Navigate provides simplified access to PLM content for roles that are usually not trained PLM users, so they can view and contribute to Engineering content and workflows. With that, Navigate connects the entire enterprise including users in Manufacturing and Service and makes the vision of a Digital Thread a day to day reality. The latest product innovations in version 9.0 deliver a scalable and solid approach to modernized user interface building using configurable and reusable components. This new UI architecture enables buildi
Hello, Just wanted to know if PTC Integrity client a different product from Windchill RV&S or is it the part of it? Can I get some information this topic please. Thanks in advance.
Hello, please tell me how to use Info*Engine to output (get) all the "Describes Parts" that are located on the "Related objects" tab of the document (WTDocument) ?
All, register here for the "What's new in ThingWorx 9.0" - Webcast on Thursday June 25t
Is there a way to disable the authentication for a single endpoint (custom JSP).
Hello everyone, please tell me how to upload a file to WTDocument using Info*Engine?Or how to use java to create a document and upload a file to it?
Can permissions be set so a group can only see and download a stp file and creo view file of a part. Thank you for any help anyone can give me.
I have an existing report template in our Production system that is linked to a report as well as several saved reports. I've developed a new version of it in our Development environment, and I'd like to load the updated report via QML and have everything downstream update accordingly. Is this possible? Normal behavior when you load via QML with the same name is that it will add a 1 on the end so you end up with 2 reports
I would like to know whether it is possible to import workspace via external browser to windchill. Due to Covid-19 we are stuck working from home, All our employees have a Locked creo license in their laptop, Now we are working offline by downloading our windchill data. There is no dedicated system for each individual at the office to do remote access, but we have one common server. If it is possible to uplode CAD data vis external Browser then we'll export it from out Laptop and sent it to the Server which we'll take remote access to import it through external browser. I know there's a VPN option but currently setting it up is taking more resources so looking for any simple alternative
Hello All, We have one functionality "Part Number Generator" in Customization tab which helps the users to have a certain set of part numbers in store for them if they want to create new WTParts. Now I want to restrict certain users from using this functionality, either hide the functionality or disable the option. Please instruct me on how to proceed. P.S: I have done customization in Java code but not so much with the jsp and js and all. Thanks and Regards, Hari R
Hello, I want to know the feasibility of doing export/import classification through code. Please let me know if it is possible to do the same, if so please direct me to a related article. Thanks in advance. Regards, Hari R
Hi, I have created a file /opt/ptc/Windchill_11.0/Windchill/tasks/ext/re/report/SB_Report/SB_SubjectReport.xmlthe created Delegate*Name :SB_SBNumber *Repository Type :com.ptc.windchill Type Identifier : com.ptc.windchill.enterprise.report.ReportTask *Source URL :/ext/re/report/SB_Report/SB_SubjectReport.xml Description :Report Task Example to show number of document. executed commands from windchill shell,java com.ptc.windchill.enterprise.report.ReportHelper updatemodel andwindchill com.ptc.windchill.enterprise.report.ReportHelper modelupdate Restarted Cognos.Still can't find Data Source in cognos under "com.ptc.windchill.enterprise.report.ReportTask"What is missing ? Initially I just want to pass a hardcored value. XML Data <%@page language="java" session="false" access="http|soap"%><%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
anyone have suggestions on how to manage a single vault share for multiple Windchill systems on Windows? we have PRODUCTION and two TEST systems in place. as more testing demands came up, we copied the vaults to the TEST systems, doubling and then tripling the disk space required for the vaults. ultimately we'd like to have a singe vault share for all three systems giving PRODUCTION read/write access and the TEST systems read along with their own unique "active" vault on a different share for testing purposes. these unique shares would get wiped and re-attached for a refresh. i've looked at some older posts here, but didn't find anything conclusive.
I am picking up an in-process project of configuring SSO with the software mentioned in the question, and as I dive in I wanted to put out a question to the user community here to see if anyone has implemented this within their environment, and if so, could provide any helpful details/information as I go forward. Even if not the exact same software environment, but configuring SSO in general, that would be a significant help.Thanks in advance!
We have a System file that closes WQS [crashes] with the following error - "The Microsoft Jet database engine could not find the object 'Databases'. Make sure the object exists and that you spell its name and path name correctly." Recovery was to revert to an earlier backup, but lost a lot of edit time and user is not concerned the problem could repeat. At the time they were adding reference designator information - which would be mostly text field updates. Has anyone experienced this issue and determined a cause or fix?
Hello all. I hope all of you are great Anyone of you know how to select the workflow for the Change Notice depending on the file type. For example I want to use a custom Change notice workflow for the CAD files and also that the change notice workflow for a document file (like a MS Word) use another workflow when the user hit the Create new Change notice option.” In summary: Different workflows for different files types when a Change Notice is created. Thanks in advance.
I am trying to write an http POST request to create a Windchill Nonconformance (which is an object that is part of an add-on Windchill Module for Windchill Quality Management). I am using the OData servlet. In response to my post, Windchill rest services send back this response: {"error": {"code": null,"message": "Changing the subject for an Affected Product is not allowed."}} Does anyone know that this message means? My html body is this: {"Name": "NC1701B","Description" : "upright","Context@odata.bind" : "Containers('OR:wt.inf.library.WTLibrary:4148327')","AffectedObjects": [{"ID": "OR:wt.part.WTPart:152929","Quantity": 25,"UnitType": {"Value": "EACH","Display": "Each"}}]}
Hello All, My requirement is to add few custom attributes on workflow task page, so user will fill the values while completing the task. ex. Attributes to add on task page Attribute Country - Drop down list of country's Boolean Attribute - Radio options (YES/NO) How i can achieve this requirement. Thanks, Vivek
I have created a file /opt/ptc/Windchill_11.0/Windchill/tasks/ext/re/report/SB_Report/SB_SubjectReport.xml then, created Delegate, Name : SB_SBNumber Repository Type :com.ptc.windchill Type Identifier : com.ptc.windchill.enterprise.report.ReportTask Source URL :/ext/re/report/SB_Report/SB_SubjectReport.xml Description :Report Task Example to show number of document. executed commands from windchill shell, java com.ptc.windchill.enterprise.report.ReportHelper updatemodel and windchill com.ptc.windchill.enterprise.report.ReportHelper modelupdate Restarted Cognos. Still can't find Data Source in cognos under "com.ptc.windchill.enterprise.report.ReportTask" What is missing ? Also I can get output seen if I executed file from browser using url http://devapp2.organization.com/Windchill/servlet/IE/tasks/ext/re/report/SB_Report/SB_SubjectReport.xml Output:- <wc:COLLECTION xmlns
Continuing to have issues with a Process Assembly. The model tree is straight forward, the Process Assy has a single object in the model tree (another assembly). That child assembly can publish with zero problems, however the Process assembly fails every time. Has anyone experienced the issue displayed by the log below: 2017-12-15 10:51:45 Successfully copied all files 2017-12-15 10:51:45 Sending $JOB$ D:\cadworker\cadworker1\w2i1j1520\_wvsjob.paj 2017-12-15 10:51:45 Time out disabled 2017-12-15 10:52:19 Reply from worker $ERROR$ Helper: Connection to worker has been closed. Shutting down... 2017-12-15 10:52:19 Worker being stopped due to error return from conversion 2017-12-15 10:52:19 Sending reply by socket $ERROR$ Helper: Connection to worker has been closed. Shutting down...
Hi Everyone,I want to use existing Windchill objects for my workflow tasks. For example, please see below image..Here you can observe highlighted area Enter Review Details which navigates to respective object's page where default attributes are defined.Same way, I want to use them in my flow .Please guide me for this as I'm new to Customization. Also tell me how to create new objects like below through API.Thanks In Advance,Krishna Chaitanya
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.