Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 13.0 Use Case: I am working on an InfoEngine Task that queries for multiple object types, as well as several attributes from each object, with a read-only Operation Identifier.Description: Dear PTC Community, I've encountered some frustratingly strange behavior, and can't wrap my head around why this is happening. In our I*E Task, we take a list of input objects, and create new PersistableAdapters to access the data within: PersistableAdapter pa = new PersistableAdapter(object, null, SessionHelper.getLocale(), OperationIdentifier.newOperationIdentifier(OperationIdentifierConstants.VIEW)); For this case of Attribute `state.state`, we process it as follows (abbreviated):PersistableAdapter objAdapter = pa; AttributeTypeSummary ats = objAdapter.getAttributeDescriptor(attribute); DataSet ds = ats.getLegalValueSet(); if (ds != null && ds instanceof EnumeratedSet && loadedValue != null){ LWCEnumerationEntryValuesFactory ee
Version: Windchill 13.0 Use Case: I'm trying to make an attribute to get who created a CAD file back to a CAD parameter.Description: I know there's a attribute under preference management>Workgroup Manager Client>Mapping System Attributes and File Properties>Created By Attribute, the problem is that using this mapping the value received on the cad parameter is username (username:organization name), what I need is to only the username, without (username:organization name).I've tried making an alias attribute using this mapping iterationInfo.creator^wt.org.WTUser~name, it worked but I couldn't pass it back to CAD, I undestand that is a limitation from alias atribute and calculated attribute.I've also tried to add a value to Mapping Custom System Attributes and File Properties as DESENHISTA:iterationInfo.creator^wt.org.WTUser~nameDESENHISTA:iterationInfo.creatorDESENHISTA:wt.org.WTUserDESENHISTA:wt.org.WTUser~namebut none of them worked.
As per the original post. Hi @SW_10353216 ,I am also working on the similar requirement in the custom table builder , i have implemented the wizards and tables , unfortunately i am not able to fetch the table data in my custom form processor to process the user selected field . How did you handled the user provided data from the table in your form processor
Version: Windchill 13.0 Use Case: Working on getting specific WTPart attributes overlaid on published drawing PDFs. Description: I thought this would be simple enough but I ended up struggling the last two days in trying to achieve the following: Code collects and makes available an EPMDocument ID. ✔️ EPMDocument could be either a drawing or a model and it will have an associated WTPart. If this is a drawing: tried this from the community: How to retrieve drawing that references an EPMDocument from Java . This does the reverse and gets the drawing from a model. Ok. So I figured I'd do the reverse and use the EPMStructureHelper.service.navigateReferences(etc etc) instead... from here I can't resolve either the EPMReferenceLink IDs or the EPMDocumentMasters (depending on the boolean settings) to get the related model. It's not clear to me where to go to get the "rolename" values or "buildrule" integer values to be able
is there any api to create Change Notice by setting custom template to it through java code in Windchill 13
Hello All.Greetings! I need to establish a connection to new SAP System using SAP as ESI target type.Need to trigger this transaction with XML to some SAP Integration suite (Cloud Integration) Would appreciate any assistance on how to configure ESI target in windchill system and is there any preference to input "Endpoint URL" and Username password provided to enable this connection Is there any way I can obtain "Client" and "SystemID" values from URL
Important note/reminder, that to ensure upgradeability of your WRS-based solutions, PTC urges customers and partners to CALL WRS WITH A FIXED VERSION:To avoid breaking existing client applications because of versioning of a domain, client applications should request a specific version of a domain.(see https://support.ptc.com/help/windchill/plus/r13.0.2.0/en/#page/Windchill_Help_Center/WCRESTFramework/WCCG_RESTAPIsVersioningofAPI.html )If a serious issue with current WRS is discovered, PTC may have to implement a breaking change in WRS, for this a new version of the affected domains will be introduced. Calling a fixed version and not the latest ensures a Windchill system can be updated/upgraded without breaking your custom WRS client, as the breaking change does not impact the existing versions.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.4I want to make sure that a folder is always selected when sharing a project. It seems difficult due to access rights, so I would like to handle it with JavaScript on the screen. Is it possible to customize the second screen of the project selection screen to ensure that a new location is always selected?
Version: Windchill 12.1 Use Case: How to navigate from part to module variant in rest API I have tried using these links.But there were no results. https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://support.ptc.com/help/windchill_rest_services/r2.3/en/windchill_rest_services/example_prodmgmnt_variant_spec_read.html&ved=2ahUKEwi-ntqrjrqNAxXnjGMGHacAJloQFnoECBwQAQ&usg=AOvVaw0azbgXuQK3OZWqhdPAKQ6fDescription: Could you please help to navigate this downstream .
Hi, We want to develop custom validation using java class but we didn’t find comprehensive documantation about custom validation. You have comprehensive and very useful documents about Odata rest api, but I could not find a document about customizing with java. Do you have a comprehensive document about customizing with Java?
What are the different parameters/values can be used in service context tag while registering validators/data utilities?
When doing a Classification Manager export of parts link, it does not include any Instantiable data. Instantiable column is not coming in export sheet. The exportable sheet should also include the Instantaible property.
In Windchill, the "Material Type" attribute of a Part or Product is not editable through the user interface (UI), which aligns with our expected system behavior. However, we have observed that when updating Parts or Products via the Importable Spreadsheet functionality, it is currently allowing updates to the "Material Type" attribute. Is it possible to customize the behavior such that, during spreadsheet import, if a change to the "Material Type" is detected, the system blocks the import and throws an appropriate error?
Version: Windchill 12.1 Use Case: I am attempting to create a PartUsageLink using Windchill REST services: URL: POST /ProdMgmt/Parts('{PartId}')/UsesDescription: A Vanilla build of Windchill allows me to create a PartUsageLink using this REST endpoint. However, when we deploy our Implementation Partner's CCD build to our environment, that endpoint is no longer available. They are not sure why this is. There are no customizations or configurations done to any REST endpoints directly. What would cause this problem and how can I make this endpoint available again? Below is a pic showing the REST endpoint available in our DEV environment (Vanilla) vs. our INT environment (with configurations deployed). When I attempt to hit the endpoint in INT I get this response: { "error": { "code": "OPERATION_NOT_SUPPORTED", "message": "The operation is not supported" } } The POST /ProdMgmt/Parts('{PartId}')/PTC.ProdMgmt.CreateUses returns the same erro
I've been reading up on Afterhooks and post publishing so I think I am in the right area but looking for guidance as to possibility or different approaches. I have a need to combine a user generate PDF with an ECAD published representation. For quality reasons, at this time I do not think its possible to publish a good PDF off an .eda file (WYSISYG) and I have an archive of existing PDFs in representations to merge in. This is using WTDocs were the PDF might be loaded as secondary content. I've done this manually were I created a .pvz by downloading a published ECAD representation, adding a file and reuploading as a new representation. Works as I expected in that the .eda file and the PDF are visible when you open the representation giving users a choice. The PDF is also available for download from the Representations table. Check. I suspect that just adding a file to the Representation in code will make the PDF available for download from the Representations table but would not be vis
1. Our Windchill version is 12 CPS 17 using PDMLink/ProjectLink etc. Our industry is Aerospace and my role is a Windchill developer My objective here is below. In Part Structure tab, user could select the list of child and navigate to Viewing panel --> Show --> Documents, only displays the Describe document & Reference document.We would like to show the Secondary Described By document as well.Adding to this, Would be great if we can segregate the actions from Viewing panel --> Show --> (Instead of Documents), add Describe Doc, Secondary Describe doc & Reference doc, so that user can choose the required type and displays doc in the structure
Version: Windchill 12.1 Use Case: I'm trying to create a rule on OIR to number CAD files based on the folder.Every folder holds files from a different project and my company wants to number then with a specif prefix and have a new sequence for each folder.Description: The rule I've written is the following:In this code the product context is Treinamento, the folder is PJ123 and the number sequence is PJTESTE that I've created for this folder.This code is to test in which folder it is been created. Further conditions I will create after the folder condition is working.<!-- set the number to a generated number --> <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator"> <Value algorithm="wt.rule.algorithm.CaseBranch"> <Value algorithm="wt.rule.algorithm.StringInListTest"> <Attr id="folder.id"/> <Arg>PJ123</Arg> <Arg>/PJ123</Arg> <A
Hello.If Downstream is created using OOTB's BOM Transformer, Thumbnail is created in the Downstream Part, but if it is created in Java using the Windchill API, Thumbnail is not created.Create a Downstream Part using the Windchill new BranchForView API.When you create a Downstream Part, the thumbnail of the part created is not visible.Upstream Part has Thumbnail.I'm looking for a way to make the Downstream Part show Thumbnail.A little bit of information is good, so please share it.Thank you in advance.
I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020 CPS30I just try to reach out you guys if you can help me finding the customizations markers location from server to modify some reports from there.Here are the errors that I facedN/A
Version: Windchill 12.1 Use Case: Can we implement SuggestTextBox in AdvancedSearch?Description: Version: Windchill 12.1 Use Case: Can we implement SuggestTextBox in AdvancedSearch?Description: Can we implement SuggestTextBox in AdvancedSearch?I have implemented a SuggestTextBox on ECR creation layout, and I need similar suggest text box in the advanced search as well. Right now, I have search for the value as a string, but wondering if there can be suggestions available in advanced search too.something like this
Retrieving and Expanding the Contents of an Information Structure and using the listener need to get the particular folder data of information group.Looking for where we want to add prefix of 'n' number of information group names in the name of dynamic document when we insert this DD under information group.
Version: Windchill 12.1 Use Case: We have different subtypes for parts, and each subtype has a custom icon. The custom icons are already configured. Many of these subtypes can be an end item. When "end item" is true on the part, we want to add a glyph to the custom icon.Description: I am able to create a custom IconDelegate following this documentation: https://support.ptc.com/help/windchill/r12.1.2.0/it/index.html#page/Windchill_Help_Center/customization/WCCG_UICust_PresentInfoUI_IconDelegates.html But I am not sure how to add more glyphs/adornments. I understand there is the IconCache cache with _addGlyphs() and mergeImages(), but I don't know what is the best way to add another glyph to the class. Has anyone done this before?My workaround would be to create another set of custom icons for each subtype, to be assigned when they are end items.
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.4We are in the process of RH1 upgrade from 12.0.2 to 13.0.2. The customization to make wokflow comment mandatory as per CS35488 is not working in 13.0.2 system but its working in 12.0.2 system. There are only 2 instruction available in this support case for 9.0 to 9.1 & 10.0 to 12.1. No instruction available for 13 release. Please suggest.
Version: Windchill 12.0 Use Case: I want to link latest (master) document to WTPart. I have to relate two types of documents to WTPart version specific and master document document. For this purpose I implemented WTPartDescribeLink and WTPartReferenceLink. The GET method was already available to retrieve the DescribedBy and ReferencedBy and I am looking to customize it for other methods like POST, PATCH and DELETE.Description: I have implemented the WTPartDescribeLink with the help of following ticket attached. I tested it after implementing it and it is working fine. CS285572 - How to create WTPartDescribeLink / WTPartReferenceLink using Windchill REST Services in Windchill PDMLink Now I am trying the same approach to implement WTPartReferenceLink by modifying PartReferenceLink.js and PartReferenceLink.json files. I just followed the same as for WTPartDescribeLink. the only change was reference to master document as instructed " attributes.add(new A
To create a classification structure by importing a csv template.
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.