Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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
I am creating a new Create Document layout. By default, I see under the Primary Content Source area of the layout, a selection box for where the file is and the file name box. I would like to add to this section of the screen layout. In Type manager, I can modify the layout and add fields, but they go either in the Attributes section or the Business section. How do I get these fields into the Primary Content Source section? Windchill 11.0 m030 CPS16
The customer opened this case with the description The Hyperlink attribute is currently limited to 200 characters, but this is too short to contain links to Creo View annotations within Windchill itself. Customer needs to increase the length to about 600 characters or come up with another means of linking fields/attributes in a WTPart subtype to specific Creo View annotations. I suggested the following articles as possibilities here CS155068 – How to extend the length of the WTPart's Name attribute https://www.ptc.com/en/support/article?n=CS155068 CS36423 – Is it possible to extend the column length of Modeled Attributes of type String https://www.ptc.com/en/support/article?n=CS36423 CS24652 – What is the maximum length of a global string attribute https://www.ptc.com/en/support/article?n=CS24652 CS213940 – Is it possible to increase the column length of a modeled attribute to accept over 1333 characters https://www.ptc.com/en/su
In the Windchill GUI, on the structure tab (info page of a WTPart), I can define and reuse Filter for the configuration. See the following immage:I would like to export the part structure using one of the saved filter I created in Windchill. My first approach is to try to find the instance of ConfigSpec, but I could not really find the way to go.Is the following a good starting point or should I look for "Filter" instead of ConfigSpec?: ConfigService.getConfigSpecFor(NavCriteriaContext(....)) Thanks,LM
Please, tell me how to add the table "Promotion Objects" from the page "Promotion Request" (screenshot 1.jpg) to the "Tasks" page (screenshot 2.jpg), so it turned out - screeshot 3.jpg ?
I have created a new Windchill instance (11.0 M030 CPS16) and created a new org admin user. When I go to do things, the OrgAdmin does not have rights to do so. I cannot see the Libraries or Products that wcadmin created. I cannot do a SaveAs to a profile at the org level. I just relogged as the Librarian and that account can see all 3 libraries. What setting is missing in a new setup that allows the org admin (and other users) to do common tasks?
Has anyone increased the number of WS frames and then had performance issues that could be tied to the increased number of Frames being saved/cached? What is the max number of WS frames that you have set it to without noticing any problems? Although the default currently is 40 (WC11), I have had mine set to 100 ever since we started using them (probably around WC 9.1). I don't think any problems I have had are tied to it, but hard to be certain. I want to change it for everyone. I also read in an old thread that, unfortunately, it is not 40 frames per WS but 40 per user. So even 100 seems low in that context. The good news is that the help file says that only frames go toward that subtotal and not all events in the WS event manager.
HI all, I am using Apply-Service webject to fetch alternates from part. Below is the code snippet. <ie:webject name="Apply-Service" type="OBJ"> <ie:param name="INSTANCE" data="${FORM[]instance[]}" default="windchill"/> <ie:param name="SERVICE" data="wt.part.WTPartHelper"/> <ie:param name="METHOD" data="getAlternatesWTPartMasters"/> <ie:param name="STATIC" data="false"/> <ie:param name="GROUP_IN" data="parts"/> <ie:param name="ARG" data="wt.part.WTPartMaster=masterReference" delim=";"/> <ie:param name="GROUP_OUT" data="alt"/></ie:webject> For one particular part , the code executes till last line i.e. "<ie:param name="GROUP_OUT" data="alt"/>" . After that the control is not coming ou
Hi Folks, Anyone know of a way to create link to the highest version of a primary content file? If not, how about a static link to the object itself? Perhaps post a link on a document: Create a JSP page that accepts a parameter (docNumber). Then it has to get the latest version (Released for Production) of the document by querying, from a URL for the information page and forward it to that URL.
How to create new documents from the templates of a specific library and attaching the newly created documents as related objects automatically when creating a new WTpart , Can anyone help me with this??
There is a BOM structure. The condition is that before a child is not at its RELEASED state, Parent cannot be released.I have used wt.doc.WTDocumentHelper.service.getUsesWTDocumentMasters() to get the child document.I want to get the state of the child document. SO I used, WTDocumentMaster childPart = (WTDocumentMaster) childInfo; wt.lifecycle.State childState = ((_LifeCycleManaged) childPart).getLifeCycleState();ERROR is -> wt.doc.WTDocumentMaster cannot be cast to wt.lifecycle._LifeCycleManagedI cannot get the state of the object. The above function does not work for WTDocumentMaster. Neither does object.getState().How should I
Ooohhh the frustration... can anyone with a dictionary "PTC - plain English - PTC" explain me what this is about... https://www.ptc.com/en/support/article?n=CS183904 What I'd want it to be and what it looks like in the pic in that CS is a truly Ad Hoc Task you can assign to anyone without relation to any process. Ie. not a Change Notice Task, Approve Promotion Task, just a random task to notify someone "Hey I want you to take a look at this and assigned you a Task so you see it in Windchill instead of sending you email about it." If so, how would a user trigger it?
Hello, well I have a problem that I cannot solve and I need help or guidance how to solve it. I am trying to get EPMDocument's (Creo part) visual representation (a .pvs file) using RESTFul query. Here is my query (for testing purposes we are using Swagger): GET --header 'Accept: application/json' 'http://<wct-server>:<port>/Windchill/servlet/rest/visualization/objects/OR:wt.epm.EPMDocument:147522537' on our windchill installations (I am using WcT 11.0 M030 CPS13) the result looks like: { "id": "...", "attributes": { "representations": [ { "id": "OR:wt.viewmarkup.DerivedImage:....", "attributes": { "default": true, "launchCreoView": "http://<Wct-server>:<port>/Windchill/wtcore/jsp/wvs/edrview.jsp?objref=OR%3Awt.viewmarkup.DerivedImage%3A422931&url=http%3A%2F%2Fhades.fsb.hr%3A90%2FWindchill%2Fservlet%2FWindchillAuthGW%2Fcom.ptc.wvs.server.util.WVSContentHelper%2FredirectDownload%2Fcad-0000001809_prt.pvs%3FContentHolder%3Dwt.viewmarkup.DerivedImage%253A
When creating a versioning scheme in Windchill 11.0 m030, we have the need to jump versions. We initially create parts/documents at version A. These get revised to new versions up to a point where we decide to jump the version to version 0 for a production release. When I select the file for a Revise action, I am only getting the next version in my version table. It will not let me change the version to the numeric sequence in my version file. What do I need to set to get the revision box to allow me to select my next revision?
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.