Refresh challenge of CommandBarSectionItem - Dropdown
Dear Aras community, This is my first discussion thread, so please let me briefly introduce myself. I am the team manager of a small CAD/PLM team at a German company, and we recently managed to transition from a 20‑year‑old PLM system to a new one that all of you should know. We went live in December 2024, and little by little the Aras fan base in our company is growing. 1. UseCase introduction We handle many of our customizations ourselves, and we make extensive use of Aras Program Management. To track the work we do for our customers, everything needs to be linked to a customer project. That’s why we implemented a project_origin_id on every relevant business object (Part, Document, CAD, ECO, and other processes). If a user is connected to a project, then anything they add (create) is automatically associated with that project. This is visible through relationships on the Project ItemType. Users can connect themselves to a project via an action on the project called Assign Project Context. Now, after more than one year of running the system in production, we want to improve this feature for changing the project context. The idea is to have a dropdown list that displays every relevant and active Project item. When the user selects a project from the list, the OnClick method will attach the user to that project: (user.project_context_id = dropdown.value). In the following screenshot you will see our implementation so far: 1: should refresh the list (2) 2: dropdown list with all relevant customer projects 3: opens the current selected project in a new tab 4: detach the user from the project and should refresh the list (2) 2. The challenge The dropdown initialization and the OnClick method work as expected. However, we are facing a very frustrating challenge: the dropdown list needs to be refreshed whenever Button 1 or Button 4 is clicked. Unfortunately, we have not been able to implement this. At the moment, the dropdown list is only re‑rendered when the user logs in to Aras. 2.1 Include Events We could identify that the Command Bar Section Item of the dropdown item has a configuration field which is called IncludeEvents. When you select an event named Update State than the dropdown list gets initiallized too often: Perform a search on an random ItemType -> 4 x dropdown init gets started Perform a refresh an an random ItemType form -> 2x dropdown init gets started Switch tabs -> 2x dropdown init gets started Commit a change on a random ItemType -> 2x dropdown init gets started Because of performance issues we can not use IncludeEvents. 2.2 Initialiaze Dropdown We did manage to initiallize the dropdown when other Buttons gets clicked. But the values and labels does not gets rendered in the dropdown item. Below you see our code example for Button 1 (refresh). let dropdown = control.data.get("user_project_scope_list"); // Name = Name des CommandBarItem (DropdownListe) if (!dropdown){ aras.AlertError("The dropdown list was not found. This is an unknown error. Please contact your administrator."); return; } let newOptions = {value: "testID", label: "Project Test - Customer Test"}; dropdown.options = newOptions; dropdown.value = "testID"; // TODO: INIT oder REFRESH, ODER RENDER aras.AlertSuccess("The button has been refreshed."); When I am debugging this method I see that in my local scope the object this: Window exist. this.mainLayout.init seems to initialize the whole window but I only want to initialize my dropdown button. 3. The Question So my questions is if anyone of you did manage to new render a Command Bar Section Item in the header of Aras which is found under Command Bar Section: com.aras.innovator.cui_default.mwh_header? This would helps us a lot to gets this new feature Live in 3 weeks. I would appreciate every hint you can give me. Regards Patrick Ps.: Sry for formating ... I could not publish my very first discussion here without any disallowed html tags.Solved166Views0likes8CommentsCustomizing BatchLoader in ARAS 31 to Add Users with Identities
Hi everyone, I recently migrated from ARAS version 11 to version 31. In ARAS 11, we used the BatchLoader tool to import user data from an Excel file, which included both user details and their associated identities. However, after migrating to ARAS 31, I noticed that the BatchLoader no longer supports adding users and identities together in a single operation. The AML mapping now restricts us to using only one ItemType at a time, which makes it difficult to replicate our previous process. Has anyone tried customizing the BatchLoader in ARAS 31 to overcome this limitation? I’d really appreciate any guidance or suggestions on how to achieve this. Thanks in advance for your help! — Salini42Views0likes0CommentsWhat characters are forbidden in regular Innovator passwords?
Hi community, when creating regular Aras accounts (no LDAP) I noticed that certain characters in passwords don´t work. The user cannot login if certain characters are used in the password, e.g. " or §. Is there an official list of characters to avoid? Thanks! Angela78Views0likes5CommentsUpdating user role
HI, I tried to give some role like config management, component engineer, change specialist II role to user. But the part creation and Product creation feature is not getting activated. Is there any wait time it takes for the role to get updated or something? It doesnt seem to updating the roles as per selection. Regards, Bejoy Thomas60Views0likes6CommentsUnable to do a SaveAs for an existing user
Hello Aras community, Am trying a "SaveAs" for "admin" user using "root" login in order to create a new user, Getting attached error for it. Please let me know if this is the correct way to create a new user, apart from the other ways.35Views0likes1CommentCalling SearchDialog from Server method
Hi, Is it possible to show SearchDialog from a Server method? I can use MaximazableDialog in Javascript to show the SearchDialog and get the response in callback. But I want to use such facility in a Server method. In my particular case, I am trying to send email using a server method. If the Recipent is already entered then it sends the email. But I want to prompt the user to search for another user item when Recipient is not pre-defined. If that is not possible then any alternative suggestions will be appreciated. Kind Regards, Vikas834Views0likes3CommentsRestore root User
I have disabled the root user and don't know, how to restore. Admin user don't have the permission. I found this solution: https://community.aras.com/f/archive/365/support-q-amp-a---how-can-i-restore-the-root-user But SQL remains following error: Invalid object name 'User'. Can someone help me?2.9KViews0likes1CommentAdd User Identity
Good day all. We have created an Identity called sm_AddUsers (v11 SP10). We have a separate team that is taking over the responsibilities of adding users to the system and they do not require any other elevated privileges, so I don't want to add them to the Administrators Identity. I can't seem to get this Identity setup correctly with permissions to be able to add users. The current error they receive is Add access is denied for Alias. Aras.Server.Core.PermissionsNoCanAddFoundException I went through User, Alias, Identity, and Member ItemTypes and made sure the Identity was in Can Add and the permissions where set the same as the Administrators (except User, they cannot delete). I'm at a loss for why this is happening. Is there something else that affects who can add a User? Thank you for your help.Solved4.6KViews0likes2CommentsUser Can't See an Entry
Good day all. I am using Aras v11 SP10. I have a weird problem. The system is using an ItemType s_Part for the parts instead of using the OOTB Part. A user created two parts in the system. When he created the parts he could find them, but no other Users could find them in a grid search (admin accounts could find them). I promoted the parts to Released and now none of the Users can see them. I can still find them with my admin account, but I can't find them with my User account (didn't matter if I was looking under Current, Latest, Released, or Effective). I used Nash to verify that is_current is set to 1. I'm at a loss for what is going on with this. We used to have the Lifecycle for the parts with Released as the only point on it (parts were usually released by the associated Parts List document). We added the standard Part Lifecycle to s_Part. Nothing has changed with the Permissions. Thanks for any help that can be provided.Solved5.1KViews0likes4Comments