How to create a new Part TOC menu item that does a custom search?
Hi, On the ACE 2017 Europe conference, a technique that utilized Federated Data to add a TOC menu item that did a custom search was showcased. In my case, I want to add a new TOC menu item, besides the Part menu item, that searches among Released Parts. I.e., the menu item should be called "Parts Released", clicking it and then clicking the "Run Search" button should return a list of parts that are released. On the conference, they said that I should create a new dummy ItemType, and redirect its requests to the real Part by modifying the onBeforeGet to server event. Apparently this is related to data federation according to the presenter. However, I do not remember the exact steps to implement this. I got the impression that there should example code demonstrating this on Aras' GitHub page. However, I have browsed through several pages of Aras' repositories on GitHub, and I cannot find any project that sounds to be what I am looking or. Does anybody know how to achieve what I am asking for? Or where sample code can be found? Please tell me if you want me to clarify anything in my description. Thanks,60KViews0likes29CommentsARAS 12 - How to remove "Create New XXX" button ?
Hi, I defined an ItemType named "Cost". This is a relationship without related item. There is nothing in the "Can Add" of this ItemType because nobody can create a "Cost". There are only created by code. In ARAS 12, I have this: What should I do in CUI to remove "Create New Cost" ?11KViews0likes8CommentsHow can I pass additional event parameters in CUI elements?
Hi community, does anybody know, if it´s possible to pass additional event parameters in CUI elements? Example: I have three CUI menu buttons that do a more or less comparable job. The corresponding Methods just differ in a few lines of code. So I would prefer to use just one unified Method for the three CUI elements. But right now I cannot determine, which of the three buttons acutally triggers the Method. Is it somehow possible to add event parameters to the button item itself? Can I perhaps use the additional data field somehow for this purpose? Or is there a Method that shows me the orignator of the Method call? As alternative, it would also be ok to use standard Actions for this job. But as far as I know, I cannot pass even information in Item Actions. Just ItemType Actions allow us to use the "Body" property. Thanks for any help! AngelaSolved5.3KViews0likes2CommentsDisable a Relationship tab
Hello Team, I need to disable a relationship tab as the User selects a option button on the form. Detailed Info: I have a option button on a form. Once the user selects this option, a tab from relationship below should be disabled. I am trying to work this out on the OnChange Field event for the option button but its not working. I am able to do the same on the OnFormPopulate event but it wont work on real time, only when the form is refreshed, it works. I need a solution where i can be able to disable enable the relationship tab as soon as the user selects or deselects the option button. Please advise. Thanks in advance, Mithun3.8KViews2likes1CommentNew or Add from Relationship Tab without Locking Parent
Hello All, Working in context of a Project, but could be applied elsewhere. I need to have the ability to relate (via new or existing Items) against the Project. The Relationship view provides this ability, but only when the parent item is locked for editing. I want to remove that restriction in terms of locking the parent for editing. Is there a good way to do this? In other words... don't have to hit edit, but unlock the grid and buttons circled in green. Our users are most familiar with the context of things being in a project, so I'd like to maintain the use of the relationship view if possible. Thanks!3.1KViews0likes4CommentsMethod to Hide/Disable Tab Buttons
Good day all. Does anyone have a method for hiding/disabling the New Relationship and Delete Relationship buttons based on the state of the item? We have a custom change ItemType, with a Relationship to Files called Redline Files. I would like to be able to disable these buttons during the Review stages of the change. Thanks for the help.3.1KViews0likes2CommentsHow to pass additional custom parameters in Form call?
Hi Community, I want to launch a custom Form from an CommandBarMenu CUI event. Users can select multiple items in the grid and then click the CUI button. Then a form shall open up in which users can do certain operations with the selected items. I want to pass the id´s of the selected items to the launched Forms. But I right now didn´t find an elegant way to pass the idlist or multiple items. I right now create a temporary item, but I am not very happy with the solution. I somehow think that passing custom paramters to Forms should be possible. I just don´t know how. Does anyone of you know a solution? My main problem is not the actual passing of the custom parameters. But I don´t know how to retrive it later. Here´s my current code; var idlist = options.selectedRowsIds; var inn = new Innovator(); // Create temporary item to pass idlist (workaround!) var tempItem = inn.newItem("Part"); tempItem.setProperty("_idlist",idlist); // Launch Form var topWnd = aras.getMostTopWindowWithAras(window); topWnd = topWnd.main || topWnd; var params = { title: 'do something', item: tempItem, formId: "9336D7E4DD244391AEC9593DD8A5D85B"' aras: aras, //innovator: this.getInnovator(), dialogWidth: 1200, // set width int dialogHeight: 600, // set height int content: 'ShowFormAsADialog.html', idlist: idlist <<<<<<<<<---------------------------------------- // is it somehow possible to pass custom parameters with the form to avoid the tempItem? And how to I get it? }; Thanks for any ideas! AngelaSolved3KViews0likes4CommentsCustom CUI items in relationships - do I add them in the Parent or Child ItemType?
Hi community, Innovator 12 offers us the new wonderful possibility to use custom CUI elements in relationships. Let´s assume we want to add a custom button to the Part_BOM relationship tab. I know that I have to modify 'Client Style' in the corresponding ItemType. But do I have to do this in Part or Part BOM? 1. When I add my button in the Parent itemtype (Part) and use location 'ItemView.RelationshipsCommandBar' -> will my button be used in all related tabs? 2. When I add the button in the Child itemtype (Part_BOM) -> will it just be used only in the Part BOM tab? I haven´t found any sample for a custom relationship button in Innovator 12 so far. The existing ones are used on a global level. Maybe anybody has tried this already and can share some experience? Does the position have some influence to the Item context? For regular Actions we can choose the context to be Item or ItemType. I wonder if the same can be achieved with CUI elements. But I assume this question is worth an additional thread. Best regards! AngelaSolved3KViews0likes2CommentsInstruction: Removing the Enterprise Search Toolbar in Aras Innovator V12
Hello everyone, Here is a short instruction on how to remove the Enterprise Search (ES) bar when logged in into Aras V12. This can be helpful to prevent confusion amongst end-users if you decide not to use the feature. Before: After: This can be achieved by taking these steps: Open the TOC and go to Administration > Configuration > Client Presentation Perform a search and open the single record that you find named 'JavaScript' On the 'JavaScript' item, click on the 'Global' item / URL On the 'Global' item, open the 'Command Bar Section' relationship and expand the 'Name' column Scroll down until you find an item with the name 'com.aras.innovator.mwh_es_toolbar' and open it In the 'Command Bar Item' relationship, find the button 'com.aras.innovator.mwh_es_search_button' and set the action to 'Remove' instead of 'Add' I hope this helps. All the best from Almelo. Daan2.8KViews2likes2CommentsInstruction: Changing the Header Logo in Aras Innovator V12
Hello everyone, Here is a short instruction on how to change the client header logo when logged in into Aras V12. Whereas V11 used a simple .svg file inside the code tree, in V12 we need to dive a little deeper: Open the TOC and go to Administration > Configuration > Client Presentation Perform a search and open the single record that you find named 'JavaScript' On the 'JavaScript' item, click on the 'Global' item / URL On the 'Global' item, open the 'Command Bar Section' relationship and expand the 'Name' column Scroll down until you find an item with the name 'com.aras.innovator.cui_default.mwh_header' and open it On the 'com.aras.innovator.cui_default.mwh_header' item, open the 'Command Bar Section' relationship and expand the 'Name' column Find the item with the name 'com.aras.innovator.cui_default.mwh_header_logo' and open it Click 'Edit' and attach your logo file to the property that has the 'Image' label Note: using .svg files is recommended by Aras because it scales without stretching and your logo will not get blurry or pixelated (.svg is a vector format). I hope this helps. All the best from Almelo. Daan2.8KViews2likes2Comments