Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi,I want to add one calculated attribute at sub type of document and it should be present only for one type of document not for others how can we achive it?@HelesicPetr , @manoj_dokku2 @kchaithanya Regards,Pushpak
HiAt times we seem to have huge log files. Apparently some more or less innocent errors are logged with their full stack trace of executed java methods, Sometimes more than 100 lines long for a single occurance.Is there a way to only display the top methods in the stack trace ?
I know this can be done with the search tool, but I'm having some trouble getting the results. I'm trying to make a custom report that can do the following. Search by a prefix or sequence (preferably a drop down menu if thats possible?)checkbox/option to return WT parts and/or CAD documents.Any ideas on this one?
TeamWho has tried to configure Security Labels? The help page says that this rbinfo data type should be String:WCTYPE|wt.access.SecurityLabeled~SCA|<SECURITY_LABEL>.dataType=java.lang.Stringexample:WCTYPE|wt.access.SecurityLabeled~SCA|CORPORATE_PROPRIETARY.dataType=java.lang.String https://support.ptc.com/help/wnc/r12.0.0.0/en/index.html#page/Windchill_Help_Center%2FSecurityLabelConfigSLDefine.html%23The file in WCsrc/wt/access/accessModelRB.rbInfocontains this different type:WCTYPE|wt.access.SecurityLabeled~SCA|ALL_SECURITY_LABELS.dataType=com.ptc.core.meta.common.AttributeTypeIdentifierSet The help page says :"Do not delete or alter the existing lines that begin with:• WCTYPE|wt.access.SecurityLabeled~SCA|ALL_SECURITY_LABELSWhich type is correct? I get an error in the log file:8:22,232 ERROR [main] wt.access.configuration.SecurityLabelsHandler -The SecurityLabelResourceKey 'WCTYPE|wt.access.SecurityLabeled~SCA|ALL_SECURITY_LABELS' is invalid. Pleaseveri
Hi team,In xconfmanager, you can undefine or remove:--reset Reset the site specific value of a property or set ofproperties to the declared default value.--undefine Reset the property such that its value will be null--remove Treat the named property as an ordered set and remove avalue from it in the site.xconf. I have been configuring Security Labels, and I set a property that should not have been set. Then I tried --undefine and --remove but the property key remains in xconf.site and the related properties file. I would like to get rid of it completely. Will --reset get rid of the property? Maybe I need to use the backups?thanks -- Rick
Hello, I am currently using a Query Spec to look for all WTParts that match a specific query (query for name or number).I am also applying a SearchCondition with Iterated.LATEST_ITERATION = true to look for the latest iteration. spec.appendWhere(new SearchCondition(WTPart.class, Iterated.LATEST_ITERATION, SearchCondition.IS_TRUE), new int[]{index}); I am now trying to expand the query by a latest revision filter since with the Iterated.LATEST_ITERATION = true it returns the latest iterations of all revisions but I only need the latest iteration of the latest revision of this part. Using the Windchill Search I was able to do exaclty this but I need this as a Java Query. You can see the required functionality in this picture. Best regards
Hi all, At the moment the full path of the classification is displayed on the details page. We would need to display only the last class. So instead of having for example: Technical\Screw\Nr1 screw to see only Nr1 Screw. Has anyone changed this on their systems or has any ideas? Alex
Hi all,we have three CAD-Worker running. With one feeding queue and then one "working queue" for each worker. Sometimes, all three CAD-Worker are "blocked" with big assemblies/drawings (>1000 parts) for partially more than one hour (especially due to long transfer, download and thumbnail generation times). These long times alone are not nice and need to be optimized. But we also see a huge delay in the feeding queue resulting in hundreds of items waiting for the big assemblies to be finished.Is there any way to organize the queues a bit smarter? E.g. handling small assys and mono parts with a higher prio than big assemblies so they aren't stuck in the queue?Does this need customization or can this be configured directly within Windchill?
What is the use of Primary attributes Phone info page layout & Primary attributes tablet info page layout?
Workgroup manager for Solidworks deep customization, need particular enterprise Language high level (like CATIA with CAA RADE), in case for example I need to build abstraction libraries (dlls) for Windchill Workgroup Manager, to interact at runtime level ?
Team,I have a very secure Windchill product. The general population can only Read and Download one revision of any object. We accomplish this by setting up a "Public" folder where the general population has read and download. We also set up a "Private" folder with a custom domain and only the Product Managers have access. When a new revision gets "Released", the Product Manager moves the old revision out of the Public folder and puts it back in Private, The Product Manager also moves the new revision from Private to Public. While this is labor intensive, it works exactly as desired. We do this because we have problems with users building to the wrong revision. In the case of a CN Task, nobody except Product Manager can see the new revision. The new revision is still "In Work" or "Under Review" and it's hidden in the private folder. I'm looking for a way to have the Change Activity workflow extend Read and Download permissions
When FloatingPointWithUnits type attribute value is set to null after the creation, upon save and check-in, value is not setting to null.
I just created a report to list all part instances (using wt.part.WTProductInstance2). The report works fine as the admin, but when I run as a user I get the following error. ERROR: Access is restricted for this user. Nested exception is: wt.query.template.invalidQML.exception. Access is restricted for this user. I have a report admin group generated to give permissions (https://www.ptc.com/en/support/article/CS292726) but users still cannot run this report. Any ideas?
Using WC 12.0.2.7, I am trying to auto-create and link change objects at various levels (PR to CR, CR to CN, etc.). I have searched the community for examples and found one called "Create Change Request from Problem Report and Default to same Container" that seemed to have some useful code, but the linking between the CR and CN in the example used the older model of linking. wt.change2.FormalizedBy fb = new wt.change2.FormalizedBy();fb.setChangeIssue(ci);fb.setChangeRequest2(CRNew2);wt.fc.PersistenceServerHelper.manager.insert(fb); I cannot find examples of the newer objects used for linking (ChangeProcessLink?). Does anyone have an example? Related question: Does anyone have the most recent JavaDocs available from PTC (or can anyone tell me where to get them)? My copy appears to have many gaps (such as the "insert" above call which does not appear in my docs on the "PersistenceManagerSvr" interface used in "PersistenceServerHelper.manager").
I wanted to override the code which is getting invoked after clicking on ok button of the revise action
Does anybody have any good information or documentation about Partslink Classification and reuse. I want to suggest my company use this to help classify parts, but I need good documentation to sell them on the idea.
How to set a default value for the "Target Promotion State" attribute of the New Promotion Request WizardIs it possible to set a Default Life Cycle State for Target Promotion State attribute while creating a new Promotion RequestIs it possible to set a Default/pre-defined value as Released for the Target Promotion State as it appears blank/empty with a dropdown while creating a new Promotion Reques
My Requirement is to read a (CR)text box value, when Clicked to fetch the values, I have to show a Dropdown list of (CN's) associated to it. I'm just trying to read the values first. <html> <head> <script> var request; function sendInfo() { var v = document.vinform.t1.value; var url = "http://Server/Windchill/servlet/odata/v1/ProjFolder/EndpointName?%24count=false"; if (window.XMLHttpRequest) { request = new XMLHttpRequest(); } else if (window.ActiveXObject) { request = new ActiveXObject("Microsoft.XMLHTTP"); } try { request.onreadystatechange = getInfo; request.open("GET", url, true); request.send(); } catch (e) { alert("Unable to connect to server"); } } function getInfo() { if (request.readyState == 4) { var val = request.responseText; document.getElementById('amit').innerHTML = val; } } </script> </head> <body> <marquee> <h1>This is an example of ajax</h1&g
I was creating a WTChangeRequest2 with the below code mentioned WTChangeRequest2 ecr = createChangeRequest();WTSet links = new WTHashSet();int count1 =0;createdDocs.stream().forEach(e->{Changeable2 co = e;RelevantRequestData2 relevantRequestData;try {relevantRequestData = RelevantRequestData2.newRelevantRequestData2(co, ecr);relevantRequestData.setDescription("some description:"+count1);links.add(relevantRequestData);} catch (WTException | WTPropertyVetoException e1) {e1.printStackTrace();}});ChangeHelper2.service.storeAssociations(ecr, links); @HelesicPetr
Hello, I have a below requirement, request you to shed some light on how the same can be achieved. i) There are two IBAs loaded at WTPart level, let's say IBA1 and IBA2.ii) If a specific value is selected for IBA1, IBA2 must be populated with an auto generated number similar to what we do for WTPart number generation. I want to know the feasibility to achieve the above requirement by modifying the OIR of the part, since it would require less customization as compared to developing a data utility. Thanks,Hari
My requirement is to export part structure with some details.It should be dynamic as per custom view - columns selected by userI wanted to read part structure as is line by line with same order how it works in ootb export actionIf anyone aware of this API to read table data. Please reply hereThanks
Hi there, the default behavior of windchill is, that if somethings goes wrong during checkin process, the checkin comment is lost.So I tweaked <Windchill-installation>\codebase\templates\uwgm\cadx\checkin\checkintables.js a little to make a copy of the comment to a new window like: var comment_window = window.open(); comment_window.document.writeln(comment);(I intentionally left all code out, which "prettifies" the new window) works great! Now I want to copy the comment directly to the clipboard.But when I try this// copy comment to clipboard navigator.clipboard.writeText(comment) .then(() => { alert("successfully copied: " + comment); }) .catch(() => { alert("something went wrong"); }); I get the error under Creo 8.0.6.0, "checkintables.js Uncaught TypeError: Cannot read properties of undefined (reading 'then')" What am I doing wrong?
I would like to add some inputs to my promotion request approve task. There are comment inputs and vote inputs.... but I wanted to add a could of boolean attributes (radio buttons would be nice) for common reasons for rework. Then, I can collect report data about why Promotion requests are being sent back for rework.Missing DimsNotesGD&TDesign IssueStuff like that. I thought I saw an article that says it's not possible but want to ask the community if they think otherwise or have an alternative solution. The referenced buzz kill...https://www.ptc.com/en/support/article/CS310508
how the Windchill BOM will work, If we choose different part numbers. What will be compared in the result ?
Is it possible to have a view in the workspace that displays the objects as a structure?Basically with the same options I have in the sava interface with name, rename or change state.(see attach) Matteo.
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.