Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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
Hello Community! Is there a possibility to create a new Attribute, where I can pick a User? Thanks in Advance!
When you receive a Workflow Task, the user must be able to get an IBA (with dropdown) in the Input Panel, only when he selects Reject as the routing option. How can I do it?Below is the exampleSomething like this :So Only when I select Reject, an IBA should appear with some values. How to achieve this customization without using Information Modeler.
Has anyone considered (or successfully implemented) a means of displaying for a user whether she has permissions to share to a project BEFORE trying to share and it failing? In my head, I'd like an option perhaps as a column in the Structure tab (for assemblies) that says something like "Sharing permissions" and then displaying "No sharing, Share ok, Share and check-out" per user based on their specific domain access (i.e. whether the user has read, read/write, and change permissions policies for a particular domain). We have a lot of users participating with external suppliers and often it comes up that something can't be shared (always because of a permissions issue). I'd much rather users have this info up front rather than going through the steps and then at the end getting the failure.
Hello, I want to generate a wsdl where one bean class is a sub class of another bean class. Please refer the attachment for more details, fullfeedback must come inside feedback bean. Once the wsdl is loaded in SoapUI, the data must look like the one in the snapshot. Please assist in writing the xml using which I can generate the desired wsdl. Thanks and Regards, Hari R
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.