Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello I am currently modifying the where used table. I managed to add some additional columns and now I am trying to make it configurable, so you can edit and create your own views. Extending the WhereUsedTreeBuilder class and addingjcaTreeConfig.setConfigurable(true);jcaTreeConfig.setShowCustomViewLink(true);to the buildComponentConfig at least displays the edit and save actions for the views. I can also create and edit views. The problem is that Windchill adds almost all attributes to the tab "Column Display" and whenever I try to remove an attribute from it, it says:ATTENTION: Action Is Not Valid. The <attribute name> column cannot be removed. Please choose another column.So, it is possible to create views, but I cannot select which columns this views should contain since Windchill does not let me remove most of the attributes so I end up with a view with a couple of hundred columns.When editing the default columns (All Revisions or Latest) Windchill also displays the sam
DearWe like to enforce a more structured naming convention for WTDocuments. For the moment the name is taken from the filename but we will not accept anything anymore in the future.I like to work with Java code as a validaion list can be used there.I understand that this must be part of the OIR, so the user will be prompted to give a proper name during the adding.Can someone point me to the correct startpoint ?Regards Bernard
Hi,How I can configure in import.json to add delete service in WRS.For GET and POST services we have Functions and Actions Similarly do we have anything for PUT and DELETE?Thank you
Hi,I want to add one box exactly before the Search Picker on windchill home page. Their I want to show the message about maintenance activity how we can achieve that.Thank You. @HelesicPetr
Hi teamWe have created a subtype in the Type and Attribute Management Utility on our Dev server (a subtype of Problem Report with different fields). Now we would like to migrate it to the QA and eventually Prod server. I was hoping to see an Export/Import feature like we have for report templates, but this does not seem to exist. Do I have to recreate it manually on the next server?thanks -- Rick
"wt.part.WTPartwt.part.WTPart|com.ptc.ElectricalPartwt.part.WTPart|wt.part.Placeholderwt.part.WTPart|com.ptc.windchill.mpml.resource.MPMResourcewt.part.WTPart|com.ptc.windchill.mpml.resource.MPMResource|com.ptc.windchill.mpml.resource.MPMOperationAssignableResource" Any guidance will be helpful.Thanks, In advance.
Hello everybody, I have a problem with setting the document Type of a new created Document from a expression Robot Workflow. I managed to create a WTDocument but cant set the subtype type. I found this article, but could not get it to work: https://community.ptc.com/t5/Windchill/How-to-create-subtype-of-WTDocument-by-API/td-p/482345 Thank you for your help. String name = "Test1234566788"; // Name String number = "12343455677"; // Number String lifeCycleName = "LC_TEST"; // Lifecycle name String container_path = "/wt.inf.container.OrgContainer=Test/wt.inf.library.WTLibrary=Test"; // The container where the document will be created/located String folder_path = "/Default"; // Folder path wt.doc.WTDocument doc = wt.doc.WTDocument.newWTDocument(); doc.setName(name); doc.setNumber(number); /// ----------- TESTAREA ------------------------------- doc.setDocType(wt.doc.DocumentType.toDocumentType("WCTYPE|wt.doc.WTDocument|de.test.TESTDocument")); /// ----------
Hello! I would like to add some WTPart IBAs to the WTPart Where Used table. I have tried creating a new table builder and extending the WhereUsedTreeBuilder but no matter what I try, the table stays the same and the columns I added via the table config in code are not displayed.Is it even possible to extend this table or am I doing something wrong? Best regards
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.
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.