Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Now It's not possible to insert a decimal symbol for Spanish location "," (comma) from numeric keyboard if you use a Spanish Web Browser and Spanish Operating System.It can do a lot of mistakes, because, for example, an user try to write into a "Real Number Attribute" the number 2.345 and windchill stores 2345. Windchill doesn't alert about bad format.This error was reported in the Case 13013845. https://support.ptc.com/apps/case_logger_viewer/auth/ssl/case=13013845?from=loggerThe dot in the numeric keywboard would be the decimal symbol of the location. If an user use Spanish Web browser the decimal symbol would be "comma" or if an user is using English Web browser the decimal symbol would be "dot"
I would like to add my own validation logic to creating and editing a change task, specifically the set attributes page. I see in the JSP for create its using the default for "object": <jca:wizardStep action="defineItemAttributesWizStep" type="object"/> and that already has a afterVK validator: <objecttype name="object" class="wt.fc.Persistable" > <action resourceBundle="com.ptc.core.ui.componentRB" name="defineItemAttributesWizStep" id="defineItemAttributesWizStep" afterVK="setAttributesWizStep" preloadWizardPage="false" required="true" > <component name="defineItemAttributesWizStep" typeBased="true" windowType="wizard_step"/> </action> </objecttype> I do not want to upset and OOTB logic defined in the setAttributesWizStep and I only want this to be run for change task, not all objects. Is there an easy way to hook in this check? Would I need to break from the default call out for "object" in the create.jsp and change the objectHand
Hi,I am trying to make the ResultingFromChangeNotices table editable or in other words make it possible for users to create and edit views.Currently I am overriding the buildComponentConfig method with the following codepublic ComponentConfig buildComponentConfig(ComponentParams var1) throws WTException { TableConfig tableConfig = (TableConfig)super.buildComponentConfig(var1); tableConfig.setSingleViewOnly(false); tableConfig.setConfigurable(true); tableConfig.setShowCustomViewLink(true); tableConfig.setSelectable(true); return tableConfig;}As you can see, i get the Buttons for customizing the views, however the wrong wizard pops up if i try to create or edit a custom view as i can't edit the view's name in the first wizard step as it is possible normally. When I try to create a view nevertheless, it never finishes loading.
Hi All,Trying to check the feasibility to auto-collect the affected/resulting object in the change task.This would reduce the efforts of users to manually select each related doc, epm doc, etc.Basically, the related objects of the WTPart should get collected.Any suggestions/guidance appreciated.Thanks in advance. Regards,Durga
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.