Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Is it possible to get the non-latest iteration of a document using List-ContentItems? I am using search-objects to get version B.1 which is in a state of released, but there is a B.2 that is inwork. I am then call List-ContentItems with that document which has an obid that starts with OR:. The List-ContentItems task returns the VR: version of the document which appears to be the version identifier, representing all iterations of the document, rather than the OR version, or Object Version of the document, representing a specific iteration of the document I am passing into the List-Content items webject. I am trying to get the content for the non-latest iteration of a document.
Hello All, I have a requirement where I have to hide the field Primary Content in the create and edit layout of WTDocument. I understand that it is not a part of PDM functionality but I would like to customize this and keep the primary content hidden in the form. Requesting you to shed some light on the options. Thanks,Sha
When I set restrictions on attributes, it does this on both the create and edit screens, but I don't want to restrict users on the create screen because they have to fill the form on that screen and start a new form. On the Edit screen, only the people I want should edit this data, not everyone. How can I bring this restriction?
Hi All,With the same license and groups I can able to see Rename action in WC11 but In WC12 Rename action is disabled with same configuration anything needs to be done?Thanks
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS111.API to create reference doc for on doc ojbect.2.API to get reference doc by doc version.2.1 get all version for one doc.2.2 get referenc doc for each version doc.
I've struggle with this for some time and now I want to see about fixing it. I know that PDMLink tables do not print well. You are limited to the view window and output is highly dependent on the adjustments the user can make. This is a strange one that was reported to me. Here is the screen view of this BOM table, derived from the multilevel BOM report: Here is how that looks in print preview if I try to PDF the page: It erased the Ref Designator column. WYSINWYG for sure. Anyone know what is going on here? Since this is a custom table I can edit column properties if need be.
Has anyone successfully integrated walkme with Windchill? Specifically doing walk thru's for change requests.
I believe someone suggested look at this in the past to remind users of tasks or things. I am not looking for the banner message which I used for system announcements. I am looking to have the yellow banner message ping users perhaps when they log in. I am not sure that's a triggerable event. Is this documented in Customizer's guide and if so, under what search terms? Is there a better mechanism? I can see this working to appear when the user logs in or at a certain time of the day. I am holding just sending an email in my back pocket. Example: "You have X tasks in your queue that need attention and XX tasks are past due"
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.
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.