Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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.
Hi, I am using the Decode Datebase Function to return a datetime when a task has a status of "Completed". It looks like this: However, when I use the above approach the return type is string and not a timestamp.The reason I want a timestamp for this value is so the user can set the criteria/param before generating the report easily by selecting a date from the calendar picker (like in the image below) instead of entering free text.
Hello, i implemented OTB attibutes during the creation folders in Windchill (layout create new folder).Is possibile catch thes new attributes in the rest api?We are using "DataAdmin rest to get Folders from container ID"
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.
Hello all, I'm currently writing a custom JSP to summarise changes resulting from a Change Notice, I've managed to pull all the required data into the report except for Assigned Usage Expression (e.g. 'COLOUR= "GREEN"), which I'm struggling to get, does anyone know of an API method to retrieve this? I've tried:WTPartUsageLink.getExpressionData() - Returns null, seems to just return the ExpressionData field from the WTPartUsageLink table, which is completely empty, guess it's a redundant field ExpressionHelper.getDisplayExpression(Expressionable, WTContainerRef) - Returns "{Display : "" , invalid: false}", not sure why it's taking a WTContainerRef argument as this shouldn't make a difference to the returned expression, so maybe it's not doing what the method name implies.CS384380 states that there's no supported API to achieve this, however that's not to say there isn't one available. Worst case, I could always build the expression through QuerySpec
We need an API to get Affected End Items added in Variance at Variance's Affected End Items table. Please provide a sample code to get the Affected End Items.
Hello experts,Is there any API to generate CAD object step files via customization instead of generating via publish rules?
I created a user-defined dictionary with userdict command from the command prompt. The dictionary file is located at the default location lib/proximity/userdict, I was under the assumption that the words in the dictionary file would not display the red wavy underline when spelling check is used on an opened document in Arbortext. However, the words on the document which were also on the dictionary file are still display with red wavy underline. If someone can provide the reasons why and the solutions to make the user-defined dictionary to work as intended, your inputs are greatly appreciated.
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.