Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, I want to know the feasibility of doing export/import classification through code. Please let me know if it is possible to do the same, if so please direct me to a related article. Thanks in advance. Regards, Hari R
Hi All, Wanted to see which ways there would be to attack this... I have users that will get promotion requests with say 10 or more drawings... once the promotion request inevitably goes thru the rework process, my users cannot tell which drawings have been iterated, and need rechecking at a glance. I was thinking perhaps there is a way to display this in a notification email? Or a new tab on the promotion request page which says whether a drawing has a new iteration (True/false) since the last submission? Thanks in advance for weighing in!
Hello, Is it possible to configure email notification sent from Windchill to email accounts of Office 365, inside our organization? I have been told that it is not possible, but I can believe it.
HI, I have SAP BAPI and I want to use them in Java Code. Only requirement is to use those BAPI. I have a Linux system. Can someone please guide me how to use sapjco API's , Where should I deploy these jar files in Windchill environment? I think there is no need of SAP Adaptor configuration.
Hello, I want to know the use of EPMVariantLink and in which scenario should we use it ? In my team they are using the below API to fetch the EPMDocument and then fetching the EPMDocumentMaster. Why can't I use the below mentioned alternate way, please explain the difference between them. As-Is logic: private static EPMDocumentMaster getParentsByEPM(List<EPMDocument> parentsrList, EPMDocument instanceEpm)throws WTException{ parentsrList.add(instanceEpm); QueryResult ft_qr2 = EPMStructureHelper.service.navigateGenericToIteration( instanceEpm, null, true, null); if(ft_qr2 != null && ft_qr2.size() > 0) { while(ft_qr2.hasMoreElements()) { EPMDocument epm = (EPMDocument) ft_qr2.nextElement(); par
Attached is the source code Installation: merge codebase/config/actions/custom-actions.xml.xml to custom-actions.xml merge codebase/config/actions/custom-actionModels.xml.xml to custom-actionModels.xml merge codebase/config/mvc/custom.xml.xml to custom.xml copy codebase/com/customer/license to codebase/com/customer/license restart Windchill PS: please pay attention if you working with the WTSafeArea The example has not being tested separately and has been refactored for the community. So there might be an error. Please ask if there are some coding problems.
Hello, we use Windchill as the back end product of xml in Arbortext Editor. We've been told that Windchill is the best way to manage and use content that is reused in multiple documents. Does anyone have experience doing this or does anyone have instructions? Thanks!
I am trying to work backward from creating a new workflow for promotion requests... I want to make an additional lifecycle to select from. I need to edit the OIR to allow a drop down for lifecycle selection. But... I just noticed that at the organization level.. I have both the site-OOTB and the slightly modified organization level OIR in the list. My question is... how does windchill pick which OIR to use? Thanks for any insight!
Is there a way to auto exclude parts from a certain context from being collected in the promotion process? I don't want library items showing up in the collector. Thanks, Mike
HI, I am executing a java class from terminal in windchill environment. If I use System.out.println("Print this "); method , output gets printed in methodserver log file. I want this output to be printed on Terminal from which I executed my java file. How any I achieve this?
Hello, Is there a way to generate a popup warning message such as "Are you sure to modify a released part?" When a user try to modify a part at released state? When clicking Yes, it allows user to continue modifying, if No, Nothing happens. Thanks !
Hello everyone When creating project plans on Windchill Projectlink , we created it by choosing the automatic execution option. The biggest reason why we chose this; 1-) Emailing to users,2-) Not opening a task to past days,3-) We chose this method for more than one reason, such as not deleting the closed activities. Normally our working hours are from 8:00 am-6:00Pm Monday to Friday for the week. There are situations when the friends in the project cannot close their tasks due to their intensity during the day. But there is a situation I noticed yesterday. If it is necessary to give an example outside of working hours, when they close their tasks after 6:00 pm, the actual work value is 0. This is the same not only in the evening but also on weekends. How can I bring actual work value to real effort when they close their tasks on weekends and evenings? If anyone knows, can there be support?
Hello, I have created one simple workflow in that second activity i have selected designer as participant role .But when i select participant particularly it wont send task to assigned role user.But when we select individual user it will work properly. In role i have selected required < any. It assigned to creator itself.
My company has its own raw materials folder in Windchill. In our part drawings, we use the parameter PTC_MATERIAL_DESCRIPTION. When we need to change a material description, we have to do it in Windchill and in the material file itself (see attached picture), because PTC_MATERIAL_DESCRIPTION is driven by the material file description, not the windchill common name. I have two questions: 1. Is there a way to link the Windchill material common name and the material file description so we only have to update the name in Windchill? or 2. Is there a way to pull the material common name from Windchill into a parts parameters? Thanks, Bob
API to develop a search functionality in jsp page to get the related Object list while entering the number.
HI, I want a API to get all levels of where used part, I am using the below API to get where used StructHelper.service.navigateUsedBy(part.getMaster(),true); but this gives only 1st level parts. I want all levels as shown in Where Used tab in windchill. For now I am giving recursive call to the function to get all levels, but this is taking long time, processing time is too high, Is there any better way to do so? @SuppressWarnings("unchecked") private ArrayList<Object> getPartStructure(WTPart part,ArrayList<Object> objectList) { try { ArrayList<WTPart> set=new ArrayList<>(); QueryResult resultWhere=StructHelper.service.navigateUsedBy(part.getMaster(),true); while (resultWhere.hasMoreElements()) { Object object = (Object) resultWhere.nextElement(); &n
Hello everyone, how can I link two Document subtypes?In JAVA, I create two document subtypes.But I don't understand how to link them together as in SQL
Hello, I have created two part configuration on a part. In Part information page on "Part Configuration" tab I can see all part configuration related to that part. What is the API to get All Part Configuration from part.
Hi, I am trying to terminate the workflow by using the below API. After terminating workflow, the process name get disappeared as shown in the attached image. WfEngineHelper.service.changeState(pro, WfTransition.TERMINATE); Does anyone have any idea about this?
Hi All, I am trying to write a utility where I need to remove groups from the Guest Role. Is there any API which I can use to fetch all the Groups attached to Guest role and then remove them from it. Thanks Sitanshu
Hello,I am trying to use the PTC Plugin with Jenkins. I am trying to do a checkin. I was able to do a checkin using the Freestyle project...but when I try it in a pipline ...I get a API exception ... <Filename>: Invalid remote fileI will provide my pipeline callsici configPath: '#/NYAB_SE#TOOLS/Jenkins/jobs/CCBII-P/Junk/project.pj', includes: '**/*.txt', itemID: ':none', password: '{AQAAABAAAAAgKzhzVNF4TCb/UOzWS6XMXb9Czlqxk8mpp0UOMTQBFUI6xYcv83bY1+7hIbfxg+RL}', serverConfig: 'fa969335-8e6f-4836-92e8-009378b122a2', userName:'XXXX'Somewhere I read that it does not support remote slaves...but it worked using the freestyle so I'm not sure how to make it work for the pipeline...can you help?
I have an IBA attribute where we use a "legal value list". This list must be changed once and a while. It would be great this list by code. Is it possible to change or edit the list by api and java? Thanks in advance
Hi, How to display navigation menu according to role? We need depending on the role of the member, it is to limit the displayed navigator.As an example, the product manager can see all (blue squares) navigators.Roles except the product manager can see only to the navigator in the red square. Please help us what chapters to look at when developing, and what files to edit in the codebase. Thanks, Warm Regards, SeonHo Cha,
Hi All, We are migrating WTDocument without using WBM to Windchill 11 system. We have now added some extra attributes (soft attributes) to the WTDocument and then we are trying to migrate the same WTDocument once again. Can anyone suggest me like how would I be migrating it ? Is it using LoadFromFIle or should I be developing a utility for the same. If yes can anyone share me some code snippet for the same. Thanks in advance. Best Regards, Aditya
Dear Everyone, Hope you are good I applied Pre Operation Hook for PRE_CHECKIN event and build the example java file UwgmC11nEventListenerTest and class file created in <WT_HOME>/codebase\com\ptc\windchill\uwgm\proesrv\c11n location. But there's no log recorded in method server where checked in the WTPart or EPMDocument. Can you help to validate the listener service. Thanks in advance.
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.