Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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.
I would like to know if its possible to call custom javascript when wizard page is getting closed either on the close button or window close? Please help me how to do that?Thanks in advance.
Is there a way to use an attribute that is set on the context to drive an attribute for the objects within that context when they are created? Something like assigning a "code" to the product, and make the attribute for a CR/CN/PR/Variance/DR etc match that same code
Hi, I am creating custom domain Reporting as explained in WRS1.5 document. But when I call metadata get request on this domain, Error message Delegate not valid entity type and selector logged in method server. Kindly help to resolve the error. Thanks in Advance.
Attached here are updated jsp files. I updated using info posted by daraki in response to my original post. It makes the code more generically applicable, i.e. I removed some hardcoded content and now read that info from the Windchill properties.
Hello, The client has a need to default the notification sender email address for all notifications being sent from Windchill. To enable this I have made the following changes: 1. Added wt.workflow.work.UseDefaultNotificationSenderEmail = true 2. Changed <ie:param name="FROM" data="senderEmail@client.com" default="<%=DEFAULT_FROM%>"/> in <WT_HOME>\tasks\wt\mail\Sendmail.xml I wanted to check what is the best practice to customize Sendmail.xml file? Thanks in advance! Regards Gaurav
Dear all, I want to create link for object which will open in different tab or page, can anybody provide solution how to set link? FYI Snippets String label = part.getNumber();UrlDataUtility dataUtility = new UrlDataUtility();URLData urlData = new URLData();urlData.setDisplayName(label);urlData.setUrlLocation(link.toString());gui = (UrlDisplayComponent) dataUtility.createSingleValueDisplayComponent(component_id, obj,urlData, mc); I have used this for link creation object number. Thanks Regards,
Hi all, The Criteria in the Advanced Search is ordered alphabetically and also its case sensitive. So if there is a criteria with lowercase it will be added after all the other. Is there a way to remove the case-sensitive and only have them ordered alphabetically? Alex
Hello , We want to send mail to particular member from team after releasing the Promotion request .How we can achieve If we set notification robot then it will send to all user we want only selected users. Regards, Dhananjay
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.