Zombie 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.0Views0likes3CommentsHide Relationship Tabs based on Parent Classification Type
Hi All, Use case : On Part Item , based on the classification Type selected , the Part BoM relationship tab should be Hidden/Made Visible. I know it is now possible to hide tabs without using any custom code with the help of CUI , Refer : https://community.aras.com/b/english/posts/hiding-tabs-using-cui With the help of the same I was able to set the Tab Visibility based on the Item Type Classification : However , On Creation of the Part Item when the user selects the Classification Assembly , the CUI changes are not available, only when the user closes the Part and opens it again does the "Part BOM" relationship become visible. Is there any way to invoke the CUI changes on the Form Events ? Or should I be using a Method to hide/unhide the relationship tab rather than the CUI for the current use case. Thanks.5.7KViews0likes6Comments