Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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
Hello Community ! I created a virtual table on the windchill database to use them in the query builder of an report template, but unfortunately the virtual table is not visible in the object list of the tab "Tables and Joins" of the report template (edit mode). How to make the virtual table visible in this list ? Thanks for any hints !
Здравствуйте, есть ли команда для остановки всех агентов и запуска всех агентов?(Остановите все и начните все)
Hi, everybody!I have created a subtype of the Document using the following code: package com.acme; import wt.doc.WTDocument; import wt.util.WTException; import com.ptc.windchill.annotations.metadata.*; @GenAsPersistable(superClass=WTDocument.class, properties={ @GeneratedProperty(name="sizeC", type=Integer.class, initialValue="3", javaDoc="Integer value to represent the size of C.")}, iconProperties=@IconProperties(standardIcon="netmarkets/images/stop.gif", openIcon="netmarkets/images/stop.gif") ) public class AcmeModeledDoc extends _AcmeModeledDoc { static final long serialVersionUID = 1; public static AcmeModeledDoc newAcmeModeledDoc() throws WTException { AcmeModeledDoc instance = new AcmeModeledDoc(); instance.initialize(); return instance; } } Everything works , I can create a document, specify the sizeС.I tried creating a second subtype with link it to the previous one: package com.acme; import wt.doc.WTDocument; import wt.util.WTException; import com.ptc.wi
One of my first projects in Windchill was to implement Nonconformance. Being new to Windchill I was relunctant to make many changes to the out-of-the-box implementation. While walking my clients through the process of Nonconformance I was consistently being asked the generic question of "Why can't I see that information in my task? Why do I need to dig into the Nonconformance to see the information I need?" and I couldn't give them a good answer. I did what I could but the best I could do was use the PersistableAdapter api to get information stored in the Nonconformance itself. For example... com.ptc.qualitymanagement.nc.Nonconformance mine = (com.ptc.qualitymanagement.nc.Nonconformance)primaryBusinessObject; com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(mine,null,null,null); obj.load("dateFileOpened", "number", "name","description","OBSERVATION","ncKey","requester"); java.text.DateFormat df = java.text.D
While implementing CAPA for our company, I realized that they use the DataUtility field to identify a method that allows them to show or hide specific values based on other attributes... If Risk Required is set to yes, then show the Risks table. If Change Notice is required, then show two more attributes to define Change Notice Type and Name.... etc...I tried to create one that I can use for similar purposes. Show/Hide and Require/NotRequire attributes in a subtyped ChangeActivity based on a variable called Intent. Didn't quite work out. I'm not looking for help troubleshooting, but more looking for clearer examples of how to make a DataUtility. The examples I have found have been superficial and not very helpful.
Hello everyone , who has encountered such an error?How did you solve it? Windchill Error Contact your administrator for assistance. Information for their reference follows. Request Id: Request URI: /Windchill/app/ Query String: Status Code: 500 Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultHandlerMapping' defined in class path resource [config/mvc/mvc.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'CARDataService' available
The calculate method of the RuleAlgorithm interface is passed an array of the parameters, provided within the AttrValue tag of the OIR e.g. <Attr id="SomeAttribute"/>. While RuleConfigurableTypeAttributes.properties can be configured, one is still typically limited as to what one can list there.I would think there would be some APIs (e.g. action bean) used by the form submission framework to call the RuleAlgorithm implementation that can also be called directly from the RuleAlgorithm implementation to access the form data. Any ideas?Environment: PDMLink 11.2 M010
We want to add one column in folder page. Where name, number all details coming there we want one more column percentage. How we can achieve.
Hello, I have implemented a logic where an IBA attribute of WTDocument will get updated at certain point in a change task workflow. But for one object the IBA attribute is updated two times which is causing some issues in the upcoming activity nodes. For example: If the attribute name of a document is "Info" and the value I am trying to persist is "value", when the IBA updation logic is executed the value is coming as "value","value". I can see two entry in the database in String Value table for the document. Can anyone please shed some light on this? Thanks and Regards, Hari R
how to get documents template from library using api code through a workflow , i have a code which convert template to document automatically but only one input , i need to give the ibrary container as input to convert all templates into document
Hello community, I try to create a data utility which I can use in an usagelink.what I need is following: - Read the enumeration behind an custom usagelink attribute, - Filter out some entries, - create a suggestBox for the rest ob the entries. - persist the choice of my user. Can you help me in the right direction? I don't think i will find some examples for exact this case but all what i have found works for Parts but not for usagelinks. much appreciated for every help. MSuarez
Hello, Is it possible to modify part usage attribute (Quantity) without creating a new iteration of the parent or doing a check-out/check-in? I have the following code to modify "findNumber" which is also a usage attribute. Please provide your suggestions. QueryResult qr = WTPartHelper.service.getUsesWTPartMasters(parentPart); while (qr.hasMoreElements()) {WTPartUsageLink ul = (WTPartUsageLink) qr.nextElement();WTPartUsageLink usageLink;PersistableAdapter obj = new PersistableAdapter(ul, null, null, new UpdateOperationIdentifier());obj.load(attName);//attName="findNumber"obj.set(attName,attValue);usageLink = (WTPartUsageLink)obj.apply(); IBAValueDBService ibaserv = new IBAValueDBService();ibaserv.updateAttributeContainer(usageLink,((DefaultAttributeContainer)usageLink.getAttributeContainer()).getConstraintParameter(),null,null);PersistenceServerHelper.manager.update((Persistable)usageLink); } Regards, Hari R
Hello, What is the Correct way to map an Attribute from the WT-Part to an ALIAS Attribute on the Uses Occurence Attributes? I haven't found a working mapping yet. Thank you 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.