Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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.
Looking for the right way to call this. I have the user object passed in and want to search for change notices created by that user that are still active. Do I have the right call? I saw a message that "CREATOR" was ambiguous when compiling. QuerySpec spec = new QuerySpec(); int changeNotice = spec.addClassList(WTChangeOrder2.class, true); SearchCondition sc = new SearchCondition(WTChangeOrder2.class,WTChangeOrder2.CREATOR, SearchCondition.EQUAL, user.getDisplayIdentifier()); spec.appendWhere(sc, new int[] {changeNotice}); spec.appendAnd(); sc = new SearchCondition(WTChangeOrder2.class, WTChangeOrder2.RESOLUTION_DATE, SearchCondition.IS_NULL); spec.appendWhere(sc, new int[] {changeNotice}); spec.appendAnd(); sc = new SearchCondition(WTChangeOrder2.class, WTChangeOrder2.NEED_DATE, SearchCondition.LESS_THAN, timestamp); spec.appendWhere(sc, new int[] {changeNotice}); QueryResult lateCN = PersistenceHelper.manager.find((StatementSpec)spec);
How can I get the "SOFPART" attribute value of the document type object in the promotion?SOFPART contains multiple string values I wrote a code to deal with this situation, but the attribute value is empty. Where am I making a mistake?CODE: try { wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice) primaryBusinessObject; wt.fc.QueryResult qr = wt.maturity.MaturityHelper.service.getBaselineItems(pn); while (qr.hasMoreElements()) { java.lang.Object obj=(java.lang.Object)qr.nextElement(); if (obj instanceof wt.doc.WTDocument) { wt.doc.WTDocument wtdoc = (wt.doc.WTDocument) obj; wt.content.ContentHolder contentHolder = wt.content.ContentHelper.service.getContents(wtdoc); wt.content.ContentItem item = wt.content.ContentHelper.getPrimary((wt.content.FormatContentHolder) contentHolder); com.ptc.core.lwc.server.PersistableAdapter persistableAdapter = new com.ptc.core.lwc.server.PersistableAdapter(wtdoc, null, java.util.Locale.getDefault(), new com.ptc.core.meta.
Hello, is there any OOTB possibility to keep attributes synced on WTPart and EPMDoc, when associated by Owner Link and the Attribute names do NOT match? Thanks & Kind Regards
I have a scenario,consider I am creating the following objects using Windchill Custom API loader.EPMDocument -xyz.prt, versions A.1,B.1,C.1WTPart - abc, versions A.1,B.1,C.1I use the below static methods to initialize the objects.EPMDocument.newEPMDocument(docNumber, docName, authoringApp, docType, cadName) for epmdocumentWTPart.newWTPart(number,name) for wtpart My question:First, when A.1 instance is created, i believe the API also creates its master object in the background. What happens when i move to B.1 creation, with same API code? will it attempt re-creation of master object (or)override existing master object during B.1 and C.1?
I am trying to retrieve the part configurations but I have not found an endpoint for this yet. How can I get the part configurations? I want to access the location in below photo.
Hello all, Need your help, I created one Action button which will create a new document in windchill. But once the document is created we get success feedback message in OOTB with an hyper like to the info page of newly created document. but I tried all the API which are available but unable to create that hyper link. can any one help me. How to get that hyperlink?
I have created a customized menu using custom action. onclick of this action i want to perform some UI validation so for that i have created a validation service and implementing post select validation in java class. i have made an entry to register action into service.properties and service.properties.xconf as below in service.propties i have addedwt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/twx_custom_mashup/null/0=ext.example.rest.validator.MyValidator/duplicate service.properties.xconf change: <Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator"><Option serviceClass="ext.example.rest.validator.MyValidator"selector="twx_custom_mashup"requestor="null"cardinality="duplicate" /></Service> suggest me if i am doing anything wrong. if its ok its not making a call to validation service. appreciate any help on it in advance.Thanks
Hi, I have a list of Serial Numbers that I need to "translate" into Base Part Numbers. Is there a WRS endpoint that takes a serial number or list of serial numbers that returns the base part number? TIA
I am setting up a GIT repository and creating a pipeline for Windchill . Customer is managing Customizations with SafeArea and Windchill has ThingWorx Navigate , Workers , Replica and all other Integrations. We are on github and using git hub action .Requirement is to manage a pipeline for building and managing the code deployment from Dev -> Test -> Preprod -> Prod environment . Can you please help me with how to manage and create a pipeline? What should be my branching Stratergy ?When CPS or next Upgrade happens, this master repository should server as main .
Hi Everyone, I've created a data utility and have called in the Type and Attribute Manager to overwrite the UI for one of the out of the box variables on a custom document type. This works when the variable is referenced in one of the document layout pages, however, the attribute I want to modify also appears in the item identification information section of the document and in various other tables throughout Windchill. From my understanding, the item identification isn't defined in the type and attribute manager, but rather through the display identification service. Is it possible to create another data utility/service to automatically overwrite this ootb attribute (only in this document type) globally, rather than having to register the data utility to the attribute in the Layout window and creating other services which implement different interfaces, such as the DisplayIdentification interface? Does anyone have any insights or experience creating a global overw
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.