Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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.
Version: Windchill 12.1 Use Case: Add configurable link in comparison reportDescription: I have created a new configurable link in Windchill for my object types. I want to add this Configurable link to Comparison report from Compare action on the object.What is best way to do this.
Hello. I am writing java code in Windchill, one of the parts of the code is getting a representation. The REST API has a method for getting representation. How do I use the REST API? How do I get user credentials to send requests?
Is there an api to get Role from user through java code in windchill.
Version: Windchill 13.0 Use Case: Hi there, I want to return described by documents to the layout. So far i'm returning wt document. I need help in constructing URL and return, kindly help, thank youDescription: Return link to layout using data utility
I have a wt.folder.SubFolder. How do I get the contents of this subfolder?"/v6/DataAdmin/Containers('"+containerId+"')/Folders('"+folderId+"')/FolderContents/" does not appear to support this type.
Version: Windchill 13.0 Use Case: At my company, we've been working on a business specific help wiki, using SharePoint. This would include help tutorial pages on how to do common business specific tasks, using business specific language. The idea of this is to reduce the amount of time it takes to bring new users up to speed, and to reduce the amount of time spent supporting users on tasks that they don't do very often. We want to make it easy to access this wiki by including a link to it from the Windchill help menu.Description: The question I have is "how do I customise this menu to add the extra link?". Up to now we've customised the header to include the link, but it would appear that option is being removed in the future, now the ability to add banners in the UI has been added, presumably for SAAS customers. Using the new banner option in the UI covers over where the link would be in the header, making it unsuitable for us. Adding the link to the company specific help page in
We want to assign the object name 'TAFE_S325.5_46HP' to attribute values. We have 3 attributes: 'customer', 'emission', and 'engine'. We assign 'TAFE' to 'customer', 'S325.5' to 'emission', and '46HP' to 'engine' without underscores in the object name.
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.1.5Hello,I'm working on a customization of Windchill PDMLink and, at some point i check the permissions using:ContainerTeam team = ContainerTeamHelper.service.getContainerTeam((ContainerTeamManaged) container);HashMap teamMembers = team.getAllMembers();Randomly and on rare occasions i get a non-reproductible NullPointerException coming from WTPrincipalCacheElement.getImmediateMemberReferences.I don't know what causes it and what i should do about it.Here are the errors that I facedCaused by: wt.util.WTException: java.lang.NullPointerExceptionNested exception is: java.lang.NullPointerExceptionat wt.org.StandardOrganizationServicesManager.members(StandardOrganizationServicesManager.java:5305)at wt.org.StandardOrganizationServicesManager._members(StandardOrganizationServicesManager.java:13445)at wt.org.StandardOrganizationServicesManager._members(StandardOrganizationServicesManager.java:13412)at wt.org.StandardOrganizati
Hi Team,I'm trying to edit create and modify date on WTPart as the years a showing incorrect.We cannot use the update query in DB as it doesn't fit in the guardrails of deployments.Just happen to find the PersistenceServerHelper which implements server side methods.Has anybody done this n past ?Any reference will be appreciated. Regards,D
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.2How to modify the WT Part Name Across Windchill Applications.
Hello, Reference of topic Even though this setting is on, this value is not visible at all. Is there anything else we should check? We called PTC support. We did not get a response from there either.
Hello Everyone, How to change color of custom tab (red instead of green) on DCN information page based on some conditionse.g. if DCN is not released and there are objects in custom dependent object table in that tab.
Version: Windchill 12.1 Use Case: i have the string attribute called "Cappio" it has update based on the classification attribute value. step 1: I created the Classification tree, in the Bolt node i created the attribute "M" it having the enumeration list. Step 2: i need to retrieve the attribute value, update in the "Cappio" attribute using Persistable AdapterDescription: # I am getting the default value of the attribute, but i don't want the default value i need the value that is stored in the attribute public static String getEnumerationItemDisValue(String Nodeview, String accoppiamento) throws WTException {String displayValue = null;boolean enforce = SessionServerHelper.manager.setAccessEnforced(false);QuerySpec qs = new QuerySpec();int enumerentry = qs.appendClassList(LWCEnumerationEntry.class, true);int enumvalue = qs.appendClassList(LWCLocalizablePropertyValue.class, true);int enumlink = qs.appendClassList(LWCEnumerationEntryLink.class, false);int enumpv = qs.app
Version: Windchill 13.0 Hi everyone, I found a reference in the ptc support explaining that it’s possible to retrieve Primary End Items in Windchill using REST API by filtering on WCTYPE|wt.pdmlink.PDMLinkProduct as typeId and selecting productReference. However, I’m not sure what the exact endpoint is to call in order to retrieve this data.Link: https://www.ptc.com/en/support/article/CS271349Could someone please share a concrete example of the full REST endpoint (including base path and entity name), ideally with $select or $expand usage if applicable? Thanks in advance for your help!Description: Retrieve Primary End Item via REST API
Windchill 12.0.2.13Tried approach:1. I have a custom workflow in which, through an expression, I obtain the attribute(of primary business object) that holds user value. For this user, the reporting manager(type: WTUser) is retrieved from the AD. 2. A workflow variable 'supervisor' of type WTUser is created and the WTUser value obtained in step-1 is assigned.3. In the workflow activity(Participants tab --> Variables section), the 'supervisor' variable is defined as 'Assignee'. Expectation: Task, if generated successfully, should be assigned to the 'supervisor' user. However, on the task page, the variable appears as a dropdown and the task is assigned to the admin. Workflow expression robot to assign Supervisor value:try {wt.doc.WTDocument doc = (wt.doc.WTDocument) primaryBusinessObject;ext.tools.iba.IBAUtility flsIBinst = new ext.tools.iba.IBAUtility ();String attUserValue = (String)flsIBinst .getAttributeValue(doc,"flsUserId");ext.util.ADUtil ADUtilinst = new ex
Hello, I have the below list of requirements for which I am considering to make use of Part Request object.i) A workflow process is required where different tasks for the teams are triggered.ii) Different teams edit the Part Request and enrich the part informationiii)Teams should only be able to edit/update fields corresponding to them. Example: Mechanical team when trying to edit the Part Request, should only be able to enter values for attributes corresponding to Mechanical Department.ii)Parts should not be created in the system until the enrichment by different teams are completed But in Part Request I see limitations with layouts as it cannot be customized. As an alternative way, I am planning to add new actions under Part Request Actions tab where different teams will see an Edit-like option to enter the attributes corresponding to them. I was hoping to get a new perspective on this and how one shall go about the implementation of a custom wizard with specific
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.