Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Is there a way I am able to create a template for an ECN which allows me to assign users and reviewers to a change task in the template? Right now i am able to create the change tasks but it oenst allow me to assign anyone to that task.
When I go to initiate workflow process on the ECR workflow on the first task (Submit Change Request) when I try to complete it a java.lang.NullPointerException error pops up. How do I fix this to allow me to get through the rest of the workflow?
Hello, Someone at my company has gone in and modified the out of the box workflow templates instead of doing a save as. Now the ECR workflow specifically is messed up. Is there somewhere that I can get the out of the box workflow templates to import back into out Windchill database?
i created an epm document through java api, and i want to assign a family table status to it, i want it to be a generic type. I used this " .setFamilyTableStatus() " method but its giving an error saying "Family Table Validations Failed".
Hi, I was successfully able to create a wtpart and epm document using java api. Now i want to know how to create a link between them.
Stumped on this one. It maybe a CSS issue or something in the TableBuilder. I have created custom tables which look great but the last column seems to scroll off page forever. Something is controlling that to where I cannot shrink last column to fit on page and wrap. I have two system, one where it works and other where it was causing me problems. This is what I want. Columns can be expanded by user. This is what I get where last column goes off right forever and I cannot drag back. I do not even get corner menu to change wrapping. Since columns are huge, it does not wrap correctly and gets cut off on printout. I suspect this is a CSS setting or something in the table builder. Any ideas?
I am trying to create a change notice through api, and now i want to link a change request to it, and also other related objects.
Hi, Is there a way to open Word directly when downloading a file .wcdti please ? Thanks & regards, Camille
Hi All, I am trying to display the WTPart Icon as per certain criteria, for example, OOTB WTPart Icon will display if the Lifecyle state of that object is in In-Work, but when it get changed to released state, i want to change the display icon as well, now i want to show green color icon for that released object. Kindly share your thoughts. Regards, Vivek
Hi. I need to make some changes to WfAssignedActivity. The code runs from a separate thread (SessionThread) that starts in "Start" transition of activity. I get exception "wt.pom.ObjectNotPersistentException: Object "wt.workflow.work.WfAssignedActivity:39876147" is not a persistent" when i try to save changes with PersistenceHelper.manager.save() method. If i try to PersistenceHelper.manager.refresh so i get exception "Cannot restore Wf Assigned Activity because it no longer exists." But if i suspend my thread for example for 2 minutes with Thread.sleep() method, after that PersistenceHelper.manager.save works fine (and PersistenceHelper.manager.refresh as well). So how can i check that assigned activity is available for PersistenceHelper.manager methods?
Hello,We are working on a web service to upload files (PDFs) to Windchill. Depending on some information it should go to a specific folder or another. 1) For our tests we took as base the example given under 'prog_examples' called 'Attachments'. In upload.xml (this file uses the webject "Add-ContentItems") one can modify the destination of the file, by default is STAGING_AREA but we would like to change it to point to a specific folder. I was reading about the "WHERE" and "TYPE", but we did not manage to specify a folder that way, we get all kind of issues. Could anyone be so kind as to give us an example on how we could specify the destination folder using that file?One problem we are currently having is that Windchill reports there is more than one Part with the same number and name, which is obviously not right. I don't know how to fetch the first ([0]) returned item only. 2) For the next step, we would need more complex evaluation to decide the destination folder. Is it
Hi All, I have got a query on Windchill Versioning schemes and whenever we revise an object we are having an issue w.r.t version. So can you please let me know how to get it resolved. I have got an entry in OIR as <AttrValue id="MBA|versionInfo" algorithm="com.ptc.core.foundation.vc.server.impl.VersionInfoGenerator"> <Arg>wt.series.HarvardSeries.CustomSeries</Arg> </AttrValue> And within the State Based Versioning the series name is <series name="StateBased"> <seed name="NUMERIC"> <value>1</value> .. <value>99</value> </seed> <seed name="MILSTD"> <value>-</value> <value>A</value> .. <value>Y</value> <value>AA</value> .. <value>AY</value> </seed> </series> Whenever we create an object it is getting created as A.1. However if we revise it is going as AA.1 instead of B.1 ? Can you please let me know where w
Hi All, What is Build process mechanism and how it is used for Customization deployment purpose? also if we used this build process, the build name will be displayed when we enter Windchill version command, so its easy to know the system configuration/customization. Any help in this regards is really appreciated. Regards, Vivek
When a new member is added to a Project an invitation to join email is sent to the new member person. When a new member is added to a Product no invitation email is sent. Is there a way to switch this functionality on so that new Product members recieve an invitation to join email?
Hello there, Is there a way to programmatically apply the Related Assembly Filter to the ProcessPlan Structure (Process plan > MPMOperation > Allocated Parts) displayed ?
Good evening, I have begun experimenting with a tool to read a workflow ZIP file and produce an HTML document with a graph. Graphviz provides tools which seems suitable. I am attaching a sample. There are three options: let Graphviz control the layout, guide Graphviz in the layout process, or reproduce the positions in the original workflow. Would this be useful? Thank you. -- ClaudeM
Hi, I have got a soft type of Configurable Reference Link (which connects two part soft types) where the data has to be loaded into Windchill using the WIndchill API. Can anyone let me know how to do the same. Thanks in advance. Best Regards, Aditya
I'm tying to add additional checks that will run before a user can complete the promotion request wizard. These should validate that (a.) the user did not select themselves and (b.) at least one person has been selected for each of the promotion request roles. I would prefer to stop the wizard from completing vs. trying to catch these problems after the workflow has started. From what I'm reading, this seems to be possible by overriding the promotion request delegate. There is a sample code snippet by @BhushanNehe here: https://community.ptc.com/t5/Windchill/How-to-stop-a-User-selecting-himself-as-an-Approver-in-Promotion/m-p/144787/highlight/true#M17171 There is also help documentation here: http://support.ptc.com/help//windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_BusLogicCust_WorkflowAdmin_MultPartSelectWizard_Sect3.html%23 I'm guessing I need to create a Java file, compile it, and then register a servic
Hello, how to duplicate a managed baseline. I can not copy / paste the objects of a Managed Baseline to a new one because there are too many of them. message: The number of objects selected exceeds the maximum number of objects allowed on the clipboard. Please select less objects to add, or clear objects from the clipboard, and try again.
I have written a custom task to fetch WTGroup objects belonging to a particular PDMLinkProduct. Following is the code that I have used: QuerySpec qs = new QuerySpec(WTGroup.class); qs.appendWhere(new SearchCondition(WTGroup.class, "containerReference.key.classname", SearchCondition.EQUAL, product.getPersistInfo().getObjectIdentifier().getClassname().toString())); qs.appendAnd(); qs.appendWhere(new SearchCondition(WTGroup.class,"containerReference.key.id", SearchCondition.EQUAL, product.getPersistInfo().getObjectIdentifier().getId()), new int[] { 0 }); QueryResult qr = PersistenceHelper.manager.find(qs); But I'm unable to return these fetched WTGroups in QueryResult using Return-Groups. Does anyone know how to return these objects from the custom task?
Hi, Is there a way to change the font color of an action label ?
I'm working on a workflow to obsolete files (i.e. change state to Obsolete and move them to a folder that has limited access). One of the requirements is to also notify the users of the file that is being made obsolete. I've looked through topics here and it seems that the preferred way is through QueryBuilder. Has anyone done this with expressions within a workflow? I'm not having a lot of luck finding methods in the JavaDOC that seem like they might work.
Hi all, there is a course called "Windchill Client Customization " on precisionlms.ptc.com. One of the first task/example asks to download latest BIF SDK (jar file). But unfortunately the link point to empty resource. Any idea where could it be dowloaded from, or maybe somebody is able to share it with me. regards Krzysztof
Hi, I want to do a promotion request with API and it works with this: https://www.ptc.com/en/support/article?n=CS133053 But within this request the process isn't selected well. If I do it manually the process is selected automatic, if I do this by API the process isn't selected. How can I add the process to the promotion request with API?
Hello community,it should be possible to delete/disable/hide views (like Design, Manufacturing) having objects without performing a reassign View reg. CS24135If a view represents a plant which is no longer used but there are objects using this view already, you are not able to diasble/hide the view. In this case the view can be used but it is not allowed to be used.When creating a new View Version / Downstream the view should not be available.Thank you for your support.RegardsStefan Petras
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.