Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I need to define the latest versions of drw data as addresses in SAP. When the user clicks on this address, he should see the picture of his data in the last version. How can I get the current address of the data with the code?
I have a very simple wizard when I just need to gather a text response from the user. I followed an example but must have missed something. My attribute panel appears but not the textbox I had expected. Here is what I see: Here is the builder code that I used: public AttributePanelConfig buildAttributesComponentConfig(ComponentParams arg0) throws WTException { ComponentConfigFactory componentconfigfactory = getComponentConfigFactory(); AttributePanelConfig attributeconfig = (AttributePanelConfig) componentconfigfactory.newAttributePanelConfig(); attributeconfig.setComponentType(ComponentType.WIZARD_ATTRIBUTES_TABLE); JcaGroupConfig group=(JcaGroupConfig) componentconfigfactory.newGroupConfig(); group.setId("justification"); group.setLabel("Enter Justification"); group.setIsGridLayout(true); JcaAttributeConfig attribute = (JcaAttributeConfig)componentconfigfactory.newAttributeConfig(); attribute.setId("justification_value"); attribute.setRequired(true);
I have a trigger script which segregates email messages by project. Right now the trigger script sends one summary email. I need to change it to send an email for each project. Does anyone know how to make a trigger script run multiple times from a script? Thank you,Maxine
Hello, I have a requirement where I need to create a new enterprise data and associate the same to a WTPart through code. I am not sure how to go about it, please share some information on the requirement and possible ways to achieve the same. Thanks,Sha
I need the XML file of the Task information history section and the database table of the Change History table, how can I find this file? I need to find where the data in the change history table came from.
Hi Comunity; In the TQM JISHUKEN A3 workflow, I want to restrict the users I want to check in and check out only and the edit button to them. How can I do that?
Is there any way to delete the default "Getting Started" link on the Start Page? We've done a lot of DFMEA, PFMEA and DVP configuration so that document is not correct for our organization.
how to get associated workflow process from all the versions of WTPart
Bit of a long shot but does anyone know if it's possible to add a custom field by the state (in the top right, under "Recently Accessed") that I can map a business attribute to so that it's displayed there?
I have no problem logging into my acct thru IE or Firefox browser, microsoft edge however launches me to the "Login Authorization Failed" without even having the pop for login appear. As I type it out, its probably an issue with my companies allow list for pop ups, but out of curiosity is there a setting in Windchill that allows the use of login with Edge, or should it work by default and I need to contact my companies IT so I can use Edge? If this is unrelated to PTC/Windchill, I'll just delete this topic, Thanks!
Hi, I did not find the example in eclipse please help me to find Import the cust_Windchill_src project a) File -> Import... -> General -> Existing Projects into Workspa b) Select Browse (next to "Select root directory") and click OK c) Your project will be listed and checked; click Finish.Thanks ram kumar
Hello,I am stuck and need suggestions what to do. I am trying to get CSRF_NONCE value, using rest query with java api (I working with Windchill 12.0 server). But what ever I do I get HTTP code 400.Tried queries were: https://myServer/Windchill/servlet/odata/PTC/GetCSRFToken()My code is:URL url = new URL ("https://myServer/Windchill/servlet/odata/PTC/GetCSRFToken()"); HttpURLConnection conn = (HttpURLConnection) obj.openConnection(); conn.setRequestMethod("GET"); conn.setRequestProperty("Content-Type", "application/json"); conn.setRequestProperty("Authorization", "Basic " + authString); //authstring is Base64 encoded conn.connect(); BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream())); String inputLine; StringBuffer response = new StringBuffer(); while ((inputLine = in.readLine()) != null) { response.append(inputLine); } in.close(); conn.disconnect();------------I am pretty sure that code is ok because if I try query "https://myServer/Windchill//servlet/
In my organization user revise CAD file but they forget to use collector option to revise WTPart file also. So all the time revision value of CAD file is ahead of WTPart file. So is there a way in preference that automatically WTPart file also get revised while revising CAD file without the use of collector.
We are using Eclipse to develop Windchill customizations, but we're having some issues displaying the javadoc popup for Windchill's API. For classes the popup gives me the javadoc information as expected, e.g. SearchCondition: But when I try to get information about the constructor for SearchCondition the javadoc popup throws an error message: "Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc." Here you can see that the javadoc location is specified for the codebase: As a workaround I can open the javadoc in the browser, but it would be great to access the javadoc directly in Eclipse. Is there a way to achieve this?
I need to restrict the attributes on my edit page to different users. For example, while I cannot see some attributes for user X, I want user Y to see all of them. How can I make this distinction?
Hi All,I want to list out all Soft types of WTDocumnet by using Windchill API's.I have created few soft types from type and attribute manager, now my requirement is to show all the soft types of WTDocumnet in a list by using API.My soft types from type and attribute manager as shown here,Kindly let me know the related API for this.Thanks,Vivek
Hello, can anyone help me on how to loop inside this infotable where i can display the output as json for each AttributeName having multiple AttributeValueText as separate objects with same AttributeName. For example an object having AttributeName1-AttributrValueText1 and AttributeName1-AttributeValueText2 Thanks.
Hello I am trying to get the total number of members of a WTGroup in Windchill via code, so the sum of all users in a group and all its subgroups. Actually I need to check if the group size is bigger than a specified limit. I tried to use .members() but it always fails with a PrincipalRepairFailedException error (Cannot process user because a related disconnected participant exists in the database). I have tried using OrganizationServicesHelper.members() or group.members() but it all leads to the same error. Does anyone know how to solve this issue. I do not need to know the user names and attributes, I just need to find the total amount or if the member amount of a group is greater than a specified limit. Best regards
Hi all, During our test of SFTPExtension extension, we noted that it is possible to call the extension from a javascript service regardless the time we spend in the extension. We never got a script timeout. Can someone explain why and how it works ? Thanks for your help. Cyril.
I'm looking for an API to get all the WTChangeReview objects from a WTPart.as shown. @HelesicPetr
I'm looking to create an event in Audit logs when I download a set of files using a custom action.Just like how an event gets created when you download an object. This is totally new to me, so please help me from the basics. If it's feasible please explain me how it should be done programmatically.
Hi, I have a problem about the langauage pack. I use Windchill 12.0.2.0 and language with Korean.When I download the part's dwg files, download popup's link has been crashed.But if i use the english, link is ok. How can I fix this problem?
Hi Comunity;I need to bring the fields in the red box below as a list, how can I do this?
Hi All,My requirement is to show a custom Attribute on Analyse Change request Task page of change Request.In this task, assignee can choose the correct values according to his choice from drop down values.Any Idea ?Regards,Vivek
I'm working on a custom action which opens up a jsp when clicked. When the jsp opens, I want to check the users license type and allow only if the user has got a certain license type, for example - PTC View and Print Only. Please share me the snippet if anybody has done this earlier.
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.