UI doesn't load for one user - anyone had a similar problem?
On our test server, on one particular database, one particular user doesn't get an UI when logging in. I've tried digging into the frontend calls, and it seems it's this call: https://{our test server}/Server/MetaData.asmx/GetConfigurableUi?accept=json&database={one particular db}&date=2025-05-02T13%3A01%3A58.94&item_classification=%25all_grouped_by_classification%25&item_type_id=&lang=en&location_name=TOC&user={me} which fails, with a "not a single item" fault. I am in fact logged in, and can e.g. go see the session information on the user button. Deleting all client side caches or logging in with incognito mode makes no difference. Have anyone else experienced this?6Views0likes5CommentsTreeGridView performance
We have "changes" tab to list, in a tree grid view, the change objects which have gone through on a given Part. However, loading this tab is terribly slow. I have found out that the query itself is quite fast. When I run it in the query editor, it takes less than a second. However, the Tree Grid View can take almost 20 seconds to load. Even on a fresh part with no change items, it takes 15+ seconds. The call which takes time is an odata call to /Server/odata/method.rb_GetTreeGridData, which takes the entire 2500+ line rb_TreeGridViewDefinition as input (why? It's a server side method, although a very odd one I can't see the implementation of, and the data it gets passed lives on the server too!) Have anyone had any success in optimizing the loading of tree grid view structures?0Views0likes7CommentsHow 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?0Views0likes4CommentsZombie tabs
At least two places in our system we experience zombie tabs, tabs that after an error message are impossible to close. I can now reproduce the issue: We have a custom "Delivery Risks" tab on parts. If I add a new risk and open it, the UI thinks the object is in a dirty state. Just opening it and closing it again, I get a popup with "Changes have not been saved. What do you want to do?". If I select "save" here, I get the error "The Command for the Command Alias 'SaveItem' failed." and the form still thinks the object has unsaved changes. However, if I click "Discard", I get the following error in the web console: Uncaught (in promise) CUIError: The Command for the Command Alias 'UnlockItem' failed. at T0 (factory.ts:152:8) at Object.execute (factory.ts:169:24) at onUnlockCommand (include.aspx?classes=tearoffWindow:915:36) at async eval (eval at x0 (factory.ts:53:9), <anonymous>:30:10) at async T0 (factory.ts:140:10) and I now have a zombie tab which is impossible to close. I can avoid creating a zombie tab by clicking "Edit" and "Save" manually in the form. Even though there are no changes, that apparently syncs the state properly. Requesting the object with AML studio, newly created items in potential zombie state look exactly like ones which have been edited and saved, so the problem isn't in the database end. Fully logging out and logging in again also clears potential zombie state, but merely closing the Part does not. So it's some kind of Item cache in the frontend which thinks the Risk object is dirty - or possibly it's the Form Item which is dirty. I suspect it has something to do with how I save the item. It's saved in a slightly unusual way, in a popup form. But before I dig into explaining how, does any of this sound familiar to you? Perhaps someone with better understanding of how the front end caching in Aras works can immediately tell me what's wrong here. This is Aras 31 by the way.Solved0Views0likes4CommentsHow to add another section of a form in a different tab in Aras
Hi community, I am new to Aras, and I am exploring different features of the tool, as an administrator. I am writing this post to seek help in implementing a UI change. I want to add different forms in different tabs in the itemview. The number of properties for an itemtype is too big, so I want to break the form into multiple sections, create a form view for each section, and add the different section views in different tabs in the first accordian in the itemview. I want to do it this way also to have an easy representation of which tabs will be available to view or edit for different item classifications and users. I was able to follow this blog post: item-views-with-cui to add tabs to the first accordian, but adding any "Form control" in the Window section only displays the default form in both tabs. I'm also not sure what to add in the "Additional Data" field here. I don't know if my approach is correct. Please do let me know if there is a better way to do it. I fabricated an image to better explain my question: All replies are apprecieated. Thanks, Prasanth.0Views0likes3CommentsTypeError: this.newItem is not a function - Client Side Error
I am attempting to run a Javascript/ client side method that calls other client method, and for some reason I am having a difficult time getting anything to work as I would expect. My confusion lies in many areas. The syntax check runs 'ok', no errors, but something tells me it is not working correctly (or at all) because it comes back with an OK immediately, no wait time. I am simply trying to grab an item of a particular name, grab it's ID, and hand that ID to a known, working method, that requires this item I am getting as the context item. var itemName = this.newItem("Itemtype", "get"); itemName.setProperty("name", "desired name"); itemName = itemName.apply(); var body = itemName.getID(); return innov.applyMethod("Second Method Name", body); When I run this from the intended run location (a button with an OnClick field event), I receive an error. My initial reaction is that, this.newItem is most certainly a function, and works both in server and client side code, not sure why this is the error. Very well could be something that I'm missing or not understanding. There is no other information in this error message, has anyone seen this before?5.3KViews0likes4CommentsInstruction: 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