Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I am having instance CAD Part and want to fetch Generic CAD Part using java code. Is there anyapi for this.
Version: Windchill 12.0 Use Case: Deployment AutomationDescription: Hi all, As a part of deployment automation I wanted to know if there is any way to Export and Import Type Constraints especially Legal Value Lists easily. Like maybe a Loader file.
I have a ticket open with support but my guess is that the community may have an answer first (again). New available entries in enumeration table are displayed correctly in the enumeration but are displayed in the Remove table when viewed from the Managed Type attribute that uses that Global Enumeration value list. We are on Version 11, M020. The global reusable enumeration is at site. Its a list of project numbers ( 1234 - Name of project). This table has a list of selectable values on the left and a list of removed on the right. The left can be selected, both can be searched if those on the right have been used on a CR, Document etc. You know how it is suppose to work 🙂 What is happening is I can move the items from the left column (selectable) to the right (not selectable) and the table when used displays these changes. All good. But, any new value added to the left is displayed in that Managed Attribute table (save, done) but then it does not displ
Through java i collected all the cad assemblies from the BOM in windchill and i added the Cad Assembly into the workspace, I wanted to checkout those Cad assembly from the workspace and do checkin from the solid works. I tried the below code to checkout but it is checkout from the windchill side not from the workspace//Get check out folder for the current user in the sessionwt.folder.Folder checkoutFolder = wt.vc.wip.WorkInProgressHelper.service.getCheckoutFolder();//Check out objectwt.vc.wip.CheckoutLink chklink = wt.vc.wip.WorkInProgressHelper.service.checkout(cad, checkoutFolder, "Check out comment");
Hello, I have an attribute under WTDocument which is customized to be a user picker using the data utility functionality. I want to restrict the selection of users to a specific role i.e., only the users under that role should be made available for selection. Request your insights for the same. Thanks,Sha
Can F (unreliability) be displayed in the FT diagrams following the calculations? I can see the updated diagram displaying the Q data but not the F data if unavailability is checked in the calculations. Thank you. (SW version: PTC Windchill Quality Solutions 11.0 Enterprise Edition MO30-CPS02)
I added the epm document to workspace though api, and i want to check out the added EPM document from the workspace. this is my code private void addToWorkspace(EPMDocument doc) { try { wt.fc.ReferenceFactory referencefactory = new wt.fc.ReferenceFactory(); wt.fc.WTReference wtreference = referencefactory.getReference(doc); wt.epm.EPMDocument epm = (wt.epm.EPMDocument) wtreference.getObject(); System.out.println("epm-->"+epm); wtreference = referencefactory.getReference("OR:wt.epm.workspaces.EPMWorkspace:1150900"); wt.epm.workspaces.EPMWorkspace workspace= (wt.epm.workspaces.EPMWorkspace) wtreference.getObject(); System.out.println("workspace-->"+workspace); //Get the EPMDocument configuration wt.epm.workspaces.EPMAsStoredConfigSpec asStored = wt.epm.workspaces.EPMAsStoredConfigSpec.newEPMAsStoredConfigSpec(epm); wt.fc.QueryResult queryResult = wt.epm.structure.EPMStructureHelper.service.navigateReferencesToIteration
Team Is it possible to GET OData data from within JSP code? Calling to some Java interface within WRS, so I can pass in some OData parameters and receive the Windchill data. The JSP code is invoked after user authentication, so I would not want to be re-authenticating in the call to WRS.
Team There is a "Windchill Security Labels Configuration and Implementation Guide" but I cannot find it. Please help!
Hello, in all the years of Windchill projects there is one problem-area that's always coming up:The (Creo) workspace and it's (annoying) limitations. Quite often there is a triple set of related objects: CAD Model, CAD drawing and a related item. (yes, that's somewhat simplified 😉 )Model, drawing and item have usually a different number - which results in the "problem" that in a table view it's hard to group those triple sets or pairs in the table view.A solution we sometimes use is to define an IBA on the EPM documents named "partno" as well as on the WTParts. that attribute always contains the value of WTPart.number.result: in the workspace it's possible to sort by column "partno" and the objects are grouped together. my customers like that. But... while this is "ok" for smaller installations it's creating a lot of "duplicate" data in the database and especially in the StringValue table which is quite often already huge even without that attribute. Problems
Hi experts, We are developing an add-on using some REST APIs(such as NewDownstreamBranch) to automate some UI operations of the BOM Transformer with workflow robot processing. Currently, when calling the REST API, we need to authenticate the workflow initiator, but we face the challenge of not having a way to obtain the user's password information. Is there a good way to obtain the password and pass it to the REST API? Would there be a way to obtain the password if it's an unsupported API? Alternatively, is there another authentication method that does not involve directly passing the password to REST API? If there is no viable method, we are considering requiring users to enter their password for this process.
Team I am configuring Security Labels. For the download confirmation popup ("You are downloading sensitive XYZZY information, please confirm'), I have been asked to make some of the words red. Can you use Rich Text in the message, similar to description fields elsewhere? I have tried using a Spring Boot color code "${AnsiColor.RED}" but it does not work. Perhaps a "<span>" tag with some css? Thanks
I'm trying to figure out how to use the query builder to make a custom report that will return a part structure with serial numbers of a part config instance. My goal is to have a report that can instruct or document what serials numbers went into a build and pull a report. For example: If I have a WT part number 00123 that has 3 different configurations (S/N 001, 002, 003) with a structure of parts underneath that all have serial numbers. How do I make a custom report to list that?
Hi all, I need to retrieve template reports via the OData API. I have used the following API /Windchill/servlet/odata/IE/InvokeIETask { "Task": "com/ptc/windchill/enterprise/report/ExecuteReportTemplate.xml", "Params": [ { "Name": "object_ref", "Value": "wt.query.template.ReportTemplate:1234" } ] } now i need to change the report criteria directly from the API. i tried to add a parameter but it doesn't seem to work. where can i find documentation? what is the correct parameter to pass? I have this criteria ((Associated Part.Latest Iteration equals 1) AND (Part Master.Number in 1234)) Thanks
Im getting this error while extracting DataMapping files from W2W com.ptc.windchill.migration.wbm.wc2wc.util.WBMException: java.sql.SQLException: Connection property: format error: Property is 'v$session.osuser' and value is '************************************.com' .
how to update the attribute value existing WTObject in Customization
Hello everyone!I've made changes to libs folder and moved some jars to another directory.Is there a way to add some custom jars to the JNLP constructor when I open the edit action on Workflow Template Administration?When I edit the JNLP file and manually add the jar files, this works perfectly. But, I want to generate these jnlp files with this jar files included.I use Windchill 11.
hello.Currently, through customization, the user runs the service upon check-in, and the number and file name are changed. However, creating a parameter and inserting a value is not reflected in the creo session parameters.Is there a solution?
Hello, II am trying to implement a rest service in windchill which mimics attribute and keyword search (For a Navigate application).1. Is there an efficient way to do this using a custom QuerySpec to search based on Modelled attributes and IBAs? I understand using a querySpec to get name, number but not an IBA. An example to search for two IBAs using AND condition would be helpful.2. As for keyword is there an api which is documented and supported to use in this scenario? It seems an article from PTC on an existing api has no documentation. https://www.ptc.com/en/support/article/CS157533
Hello,I am trying to get the numerical value of the Structure Level of a part in a mulitlevel BOM via Windchill REST Services, similiar to when exporting a Multi-Level BOM of Material Report under an assemblies structure tab. The GetPartStructure endpoint doesnt seem to have an attribute specifically for Structure Level. Is there another endpoint or a maybe a param I may be missing?
In one of our processes for a Document, the user is expected to upload an attachment into the Document Notebook section (in a particular folder). I am trying to learn the tables involved to report on such an upload and potentially determine that one has or has not been done prior to a workflow task being completed. Ex: For a Notebook such as below...... I can create a QB report to get the Document and Notebook folders... ... but I cannot find which table to add so that I can report the "Sample" attachment from the first image. Help?
After populating contentmap table,I have created a batch script to load content using Enhance Content Migration with WBM define output_file='copyScript.bat';spool &output_file;select'copy'||srcfilepath||'\'||srcfilename||' '||targetfilepath||'\'||targetfilename||CHR(13) || CHR(10) from contentmapwhere srcfilepath like '%EnDemo3%';spool off; - 'copyScript.bat' has created but how to run this bat file to see the content of my loaded object.
hello Team, I am implementing Rest service (GET )where i have to pass multiple oid of wtdocument and user Id .If user have access to that doc then response will be primary content Downloadable url.It is working fine when i pass single OID.How can we pass multiple oid in request ?Any other approach I have to follow .Need Guidance to achieve this requirement.
Team According to this Help page below, SL is compatible with DTI. Too many acronyms! SL = Security Labels DTI = Desktop Tools Integration https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/securitylabel/SecurityLabelDTI.html I have SL configured to pop up a Download Confirmation message window and wait for acknowledgement. However this just works for normal file downloads. When I set the preference so I am using DTI, there is a blank popup which disappears immediately. Thanks
Hi @HelesicPetr,Can you please help me into below queries:Question 1 : Is there any API for Import from spreadsheet.Question 2 : Anyone know about BOM extract report code so that we can use similar to create a BOM.
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.