What courses to do to become Aras developer?
My company is going to be deploying Aras Innovator soon, in a few months. We may have an in-house developer for this and I am very interested in this role. I know basics of JavaScript, made a few websites using React, HTML, and CSS. I was wondering what courses should I be doing to prepare for becoming an Aras developer. Does know advance concepts of JavaScript help? Did anyone do the Developer courses provided by Aras? Basically, what programming concepts, courses, documentations, and other resources will help me step into this role? Thanks!0Views0likes6CommentsSave User choices or Create Default list in Refine button CUI
When clicking the refine button : a list is presented : with already checked values corresponding to the columns (properties) of the presented ItemType. The method responsible of the Init of the button is : cui_common_refine_init Code : Toolbar.extendFormatters({ refine: columnSelectionMediator.cuiToolbarFormatter.bind(columnSelectionMediator) }); return { type: 'refine' }; I would like to know if it's possible to personalize these filters on the search by code or configuration, or associated to user preferences, or saving when checked/unchecked by User ? Everything is already checked and some users would like to be able to have a "default" view. Thanks0Views0likes1CommentJavascript method to set the default value in search grid?
We need to limit the search results of "Document" item for certain identity. The default value of "Classification" should be prefilled to "General" and should be unchangeable by the user. I was thinking if I can get the current identity of the user and then call a function that would prefill the "Classification" to "General" and make it uneditable. I have a code for finding the identity of the user. I need to know how to target the "Classification" field of "Document" item type in the search grid view thanks!0Views0likes2CommentsHow to update grid values without running .apply() (I want to update it only in the frontend and not post it)
Hello, There is a relationship grid row that I would like users to mass edit. I so far configured a method to appear in the CUI along with the functionality of having multiple rows highlighted, and can get the relationship Ids as well. What I need next is to reference the frontend dom of the grid, get a particular column of that row, and set it to something. Is there a reliable method for that? Best Regards, FrankSolved0Views0likes5CommentsItem.apply overwriting action, has it always done this?
After upgrading from version 12 to 31, we started getting an error when saving a certain custom datastructure, developed for us by Minerva back in the day: Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of type 'Node'. From what I can tell, this happens because Minerva's old code calls an action directly on the document.thisItem object var output = document.thisItem.apply("VE_GetCopyTreeGridHeader"); which "pollutes" document.thisItem with that action. When later hitting save, it calls this function instead of doing whatever it ordinarily would (probably a get action), resulting in the error. I observe that if I change the action to "get", it gets rid of the error message and saves any changes in the object itself, but not in a related items treegrid associated with it. If I change the Iaction to "update", it saves everything correctly the way it used to do in version 12. I see that the docs on item apply says that it overwrites the action, but if it always did that, how did this code ever work? (By the way, that .apply() overwrites the action is an error-prone side effect which I can't see any good reason for)0Views0likes1CommentMaking changes to typescript files in the tree
I tried to apply a trick from a previous post: How to open StartItem directly without the helper window - Development - Aras Community - Aras Community However, that file is now a typescript file in my tree. I guess that means I need to transpile it to javascript/do whatever else you at Aras do in your frontend build process, in order for it to end up in the right place? What is the recommended way to do this?0Views0likes4CommentsPrefill simple search criteria in the search grid
Hello, For Documents item type, in the search grid I need the "Classification" to be prefilled to "General" . I applied client side method to "classification" and "search_default" properties of Documents but it doesn't work. "search_default" property did not exist before so I just added it, I don't know if that makes a difference. method: return {classification:{filterValue:"General",isFilterFixed:false}};Solved0Views0likes8CommentsDisable more than one text field on the form
Hi Community, I am using a code from the "Disable Form Fields"-blog (https://community.aras.com/b/english/posts/disable-form-fields/) in one of my methods. In the test phase I realized that the code for the text field only works on one field. I tried to call all the required fields in the brackets, but it always used only one field: var input = getFieldByName("part", "part_number", "quantity"); input.getElementsByTagName("input")[0].disabled = true; How can I easily disable multiple fields at the same time on the form? Thank you in advance for your help! Best regards David6.4KViews0likes4CommentsTrouble Exporting HTML Table to Excel in Aras Innovator Custom Button
Hello everyone, I've been working on a custom button within the search tab for parts in Aras Innovator. The goal is to export a list of specific parts and their properties through a query and display them in an HTML table. Here's a snippet of the code I'm using to convert the HTML table to Excel and download the Excel file: [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:4ac1465e-c931-489c-a19e-bb242bc1c5f6:type=javascript&text=var%20htmlCode%20%3D%60%0A%3Chtml%3E%0A%3Chead%3E%0A%3Cmeta%20http-equiv%3D%27Content-Type%27%20content%3D%27text%2Fhtml%3B%20charset%3Dutf-8%27%20%2F%3E%0A%3Cscript%20src%3D%27https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fxlsx%2F0.16.9%2Fxlsx.full.min.js%27%3E%3C%2Fscript%3E%0A%3Cscript%20src%3D%27https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2FFileSaver.js%2F2.0.5%2FFileSaver.min.js%27%3E%3C%2Fscript%3E%0A%3Cscript%3E%0Afunction%20substituteTableToExcel%28%29%7B%0Avar%20table%20%3D%20document.getElementById%28%27all_Parts_AML%27%29%3B%0Avar%20sheet_name%20%3D%20%27ALL_Parts_AML%27%3B%0Avar%20workbook%20%3D%20XLSX.utils.table_to_book%28table%2C%20%7Bsheet%3A%20sheet_name%2C%20cellStyles%3A%20true%7D%29%3B%0Avar%20wbout%20%3D%20XLSX.write%28workbook%2C%20%7B%20bookType%3A%20%27xlsx%27%2C%20bookSST%3A%20true%2C%20type%3A%20%27array%27%2C%20cellStyles%3A%20true%20%7D%29%3B%0AsaveAs%28new%20Blob%28%5Bwbout%5D%2C%20%7B%20type%3A%20%27application%2Foctet-stream%27%20%7D%29%2C%20%27ALL_Parts_AML.xlsx%27%29%3B%0A%7D%0Adocument.addEventListener%28%27DOMContentLoaded%27%2C%20function%28%29%20%7B%0AsubstituteTableToExcel%28%29%3B%0A%7D%29%3B%0A%3C%2Fscript%3E%0A%3Clink%20rel%3D%27stylesheet%27%20type%3D%27text%2Fcss%27%20href%3D%27styles.css%27%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%24%7BexcelTable%7D%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%60%3B] return htmlCode; I'm encountering issues with the export functionality. When I click the custom button, the HTML table is generated correctly, but the Excel file download doesn't seem to work. Could someone kindly review the code snippet above and provide any insights or suggestions on how to troubleshoot and resolve this issue? I would greatly appreciate it. Thank you in advance! Version 12.0 SP8Solved0Views0likes2CommentsMethod for hiding button on a form
I need to hide a button on a Work Process form. Name of the button is cancel_workflow_button I can do this using the UI making another view where this button is hidden but I want to do this by writing a method. If someone can get me started on this that would be awesome. thanks!0Views0likes1Comment