Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, please tell me how to make a backup of all files and how to restore Windchill?
Hello, please tell me how you can undo the last actions with Windchill files? How to restore a previous version if I didn't do a backup. I made a lot of changes in 2 days, and now I want to restore the contents of the files.
Hello, please tell me how to fix the situation, I performed the actions strictly according to the example from the documentation https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FIEUG_WSFWriteIEWS_IEUG_WSFCreateProject.html%23 . But now windchill does not start
Hello, please tell me how to run server Windchill? After an unplanned restart of my computer, I cannot enable Windchill. Tried through programs to start and through Windchill Shell to start the windchill start command, but it did not turn out to start the server. Only one thing helped-restart the computer, then the windchill server starts itself
Hello, please tell me what type should be the variable obj ? I found an example of editing a template https://www.ptc.com/en/support/article?n=CS150777 , but there was a problem with the type of variable, tried everything I knew and everything that was recommended, it did not work to pass the test. CODE: wt.maturity.PromotionNotice notice = (wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult results = wt.maturity.MaturityHelper.service.getPromotionTargets(notice); while (results.hasMoreElements()) { obj = results.nextElement();  
Hello PTC Community, I am fairly new to both Java and especially to the WC API, but I muddle through ok. I am stuck on some API and need the guru help! The intent: check for next available Version (Rev), common to a WTSet (that part works), then if the result is numeric, rev the whole WTSet to A.1, or if the result is alpha, then rev the whole set to the result. Most of the time the items should all be numeric, going to A.1, which is "legal" in our WC setup. I have tried both the following approaches: newVersion(Versioned version, VersionIdentifier version_id, IterationIdentifier iteration_id)-OR-newAdHocStringVersion(AdHocStringVersioned version, java.lang.String adHocVersionId) I gave up on "newVersion" because I could not get the "userClassName" reference to work out in MultilevelSeries (needed for VersionIdentifier)...there is no explanation for what is realy needed in this argument in the API. I tried using several things as the "user". Here are a few with the associated er
Hello, please tell me how can find the location of template files on local computer? I tried to find "default" of type "jsp", but after long searches did not define where it is
Need to apply option filter on the WTPart structure programmatically. What API's to be used ?
Please tell me how to perform the actions https://support.ptc.com/help/windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_BusLogicCust_DTIFrameworkRibbon_WCCG_DTIFramework_ClientEx.html to have a new group " Windchill and buttons in Excel? I added the code as in the documentation to all XML files, but the tab did not appear after restarting the server and clearing the cache. Attach screenshots of files in XML format
Is there a way to modify the additional files published names by using model parameters (like revision, or version, for example) as a suffix? What I'd like to do is something like this: <publish on="create-representation" display-label="Publish w/ additional files" additional-files="dump_to_all" output-suffix=">{revision parameter} </> but as another post noted, the keys aren't available.
Does anyone know the syntax required to access the comments entered for each promotion object line on a promotion request? I have the syntax necessary to loop through each object in the baseline, but these are the actual EPMDocuments and don't contain the comments that are part of the promotion request (as far as I can tell.) wt.maturity.StandardMaturityService p = new wt.maturity.StandardMaturityService(); wt.maturity.PromotionNotice pn =(wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult pn_targets; pn_targets = (wt.fc.QueryResult) p.getBaselineItems(pn); wt.epm.EPMDocument epmDoc = new wt.epm.EPMDocument(); while (pn_targets.hasMoreElements()) { Object obj =pn_targets.nextElement(); String objType =obj.getClass().getName(); if (objType.equals("wt.epm.EPMDocument")) { epmDoc = (wt.epm.EPMDocument)obj; String epmNumber = epmDoc.getNumber().toString(); String epmName = epmDoc.getName(); String epmCADName = epmDoc.getCADName(); String epmVersion =
Hi, I am trying to rename a published additional file of pdf type and download it to local.I referred articles CS216668 & CS252900 that suggest using afterloader hook methods.I was able to rename the primary content of the published file from the attribute values but however am not able to download the same to local.The articles show 2 methods - CS252900 renames the primary content of additional file using attribute info but no provision to download the same CS216668 creates and saves a copy of the viewable as an attachment, renames it and is downloaded. I am unable to combine both, as in rename the primary content of the additional file and downaload the same. I tried creating a seperate workflow containing a 'download to local' expression at Released state for the published additonal file but was only successful the first time.For the next iteration published the workflow isnt triggered and no file is downloaded. Anybody has any thoughts on this?
I'm currently using Selenium WebDriver to automate testing for Windchill, and I'm running into a problem. When the authentication window pops up, it pops up as an alert. Since it pops up as an alert, I can't automate the input of the username and password. There's no functions that allow for it. Any tips on how to fix this? I'm using Selenium 3, Java 8 and Firefox 45.
Tell me please where to write the code https://www.ptc.com/en/support/article?n=CS150777 , tried many options, but failed nothing. Here is the code to add a table to the page Description How to add Promotion Objects to the Instructions field on the task's details page User should see all the objects being promoted on the same page to avoid multiple clicks for navigating to the Promotion Objects page How to add Promotion Target Objects in workflow Email Notification Resolution Create global variable (say var of type String) Before activity add expression robot Append string to have all the promotion objects' numbers/names In activity create local variable Use that local variable in instructions Following code can be used to get the promotion target objects wt.maturity.PromotionNotice notice = (wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult results = wt.maturity.Ma
Hello, can you please tell me how to edit the templates? I tried to change the process template on the "Task" page, but when updating, creating a new "Promotion Request", the process did not change, pressing the "Check in" button did not help either
When we create a file in Creo and assign the pro_mp_mass to a parameter named Weight, we save the file and it uploads the weight to a Windchill attribute named Weight. We can see the value of weight in the Parameters screen in Creo in pounds, but in the Workspace. the weight has been converted to Kg. Where do you apply the setting in Windchill that weights are in pounds or at least in the same units as they are in Creo?
I wanted to display the group name of the user as the name of the action.
I'm new to this forum and looking for information on how to get started with the Windchill API. It is very difficult for me to get started. A few words in advance: I have been working as a designer with Inventor since 2008 and started programming Inventor at that time. Meanwhile I have also developed and released some Inventor apps. With VB.NET and VBA I know my way around. My previous searches didn't give me a clue where to start. Which references do I have to set and is there somewhere a reasonable manual with an example. I checked the eSupport and found a lot of documents, but nothing that really helps at my actual point of skills. I’m not a Windchill administrator, only a user with some basic knowledge. Now to my request. I want to check from an Inventor add in whether a file is checked out in the workspace or not. What is the workflow and required tools to achieve the need information? Is there an API object tree to get an overview? I’m quite sure this are onl
I have done some cursory tests and cannot get the system to default to blank when Parts are added to Affected Data. I cleared the default value and I do have an Enumerated list of values for each Inventory Disposition column. I want to ensure there is positive indicators of a choice for Inventory Dispositions, not just accepting the defaults. Ideally, I would like blank to show up indicating that nothing was selected yet. Tried restarting server but seems to always default to first value in enumerated list though blank is a choice on the row above in drop down. I do not have a setting that value is required in constraints.
A common complaint from our users is that they cannot tell what the task is related to when they are sent an Approval task email or an overdue email. Anyone know how to add the title of the CR in these notifications?
Hi, I want to change the default object (part, asm) name on Creo to follow a certain rule. Based on Windchill documents, this is done via OIR admin. I've had a look at a lot of articles and dicussions in PTC community regarding Object Initialization Rule (OIR), and it all points to goto OIR admin, edit the .xml under type 'Part'. Below is an extract from the .xml file. From what I understand, all I need to do is add a new line <Arg></Arg> under id="number" with my new numbering format. This doesn't seem to be doing anything. When I create a new part, it still does the default PRT0001 and increments 1 for the next new parts. What am I missing here? <AttributeValues objType="wt.part.WTPart"> ....... <AttrValueid="number"algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator"ignore="false"force="false"final="false"><Value algorithm="wt.rule.algorithm.BooleanBranch"><Value algorithm="wt.rule.
We are using Windchill 11.0 M030. We have several Products. 1) The Products that are no longer in use (MA & TC), but we want to keep in Windchill, should not appear in the search results. 2) We would like to hide the inactive Products and their contents from users. Is there a way to hide a product and it's contents from users but they remain visible for Admin users?
I have made a copy of the Part and EPM Document OIRs and made changes to the lifecycle used in them from basic to my customized lifecycle for parts. When I create a New Part in a workspace, it gets created but uses the two-phase lifecycle instead of my own. I am assuming that this uses the Part OIR, but maybe not and that may be driving the issue. Same when I create a New CAD Document, which I assume uses the EPM Document OIR. If these are not the right OIRs to modify, could someone point me in the right direction? Windchill 11.0 M030 CPS16
I have a requirement where I want to restrict the selection of past dates in need date fields in Windchill 11.0, If I update calendar.js it affects searches as well, Any recommendations other than workflow business rules?
After reading and watching the videos in https://www.ptc.com/en/support/article?n=CS241583 I have created a new versioning scheme put used the same numbers and letters as the OOTB versioning scheme, just with a new series name and seed names. Portion of file included: <?xml version="1.0" encoding="UTF-8"?><scheme><series name="StateBased"><seed name="NUMERIC"><value>1</value>(deleted lines)<value>99</value></seed><seed name="MILSTD"><value>-</value><value>A</value>(deleted lines)<value>AY</value></seed></series>-<series name="CentrusStateBased"><seed name="Draft"><value>A</value>(deleted lines)<value>AY</value></seed><seed name="Release"><value>0</value><value>1</value>(deleted lines)<value>99</value></seed></series></scheme> I can create Documents just fine, but crea
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.