• How to use Visual Studio Code 2022 for Coding Methods

    I am new to Aras development, and I'd like to use Visual Studio Code 2022 ("VS Code") for coding Innovator methods. I found the ArasVSMethodPlugin project on GitHub , and its change log indicates that support for VS Code 2022 was added in version 1.21…
  • Code Snippet: Generic, Reusable Code to Get All Identities In a Group

    Hello everyone, Here is a code snippet to retrieve all identities in a identity (group) recursively. As I faced this requirement multiple times, and Innovator not having a standard function for it, I decided to create it myself. //*************…
  • predecessor Number Value For Activity2

    Hi Guys, Can you please help me to find out value of predecessor Number Value For Activity2 by Method . For project Management . Thank in Advance.
  • Snapshot Isolation - On or Off?

    Hi Community, We have this turned on due to some issue with migrating data but noticed it causes problems with certain methods, causing them to run twice. Generally this involves methods that vault files. Any suggestions on how to address this?
  • How can I trigger the classification to update and change forms from a different property?

    Hi Aras Community, I have a use case where my classification is technically controlling two things. What type of workflow they are on and what kind of form they see with the ability to switch the different kinds of forms. I'm trying to prevent mistakes…
  • Make server side code wait

    Hi Community, Hopefully an easy question - I am calling a server side method from a client method and I need the server side method to wait a few seconds to allow the items to save before processing. I tried the standard sleep commands but they don…
  • Calling 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…
  • GetItemRepeatConfig removes child items that are used multiple times. How to fix?

    Hi community, I use a classical "GetItemRepeatConfig" query to get a Part BOM over multiple levels. id="xyz"; Item partItem = inn.newItem("Part","GetItemRepeatConfig"); partItem.setAttribute("select","id,classification,keyed_name,item_number"); partItem…
  • Update workflow process to latest Workflow Map

    Any ideas on the topic? Failing this, resetting the workflow?
  • Update an item causes recursive loop

    Hi team, So I am looking to run a method on an item whenever it is updated to update two hidden properties on the item that drive some functionality later on down the workflow. The issue I am having is that when I use the onAfterUpdate event, because…
  • Calling server side Methods directly from CUI element ?

    Hi community, does anyone know anything about calling server side Methods from CUI elements? Right now we can only use client events for CUI elements. Sure this elements can call a server event and then return the result, but we ALWAYS need the extra…
  • Pass a Property to a Search Grid

    For our projects we may have a large number of documents and we're considering different ways to handle this other than trying to recreate some sort of "folder" ItemType to assign them to. One concept we have is the idea of either having buttons or…
  • How to get level/depth of items returned from an GetItemRepeatConfig AML query?

    Hi community, would be happy if someone can help me with this one: I have a GetItemRepeatConfig query over a multilevel Part/BOM structure. This query returns all Parts that appear on the various BOM-levels. Depending on the Part, I have around 3…
  • Pass a property into a window.open() command

    This seems simple, but I'm struggling with it. I've got a button added to a toolbar that I want to open an external URL with. The URL is saved as a property against the item. Have tied a method to the button and it's a Client-side javascript. Problem…
  • ARAS Job Scheduler System Stress

    Hello, I was wondering if anyone has any documentation on the impact of running methods through the Job Scheduler application. Would a method running in the Job Scheduler affect the user's experience? Thanks, Josh Bowden
  • Innovator is not defined Client Side Error

    I've got a very simple method that creates a new PR from a button on a TGV. This worked perfectly in V12, but is not working in our V15 instance. Any help would be greatly appreciated! The error message is: The method 'create_PR_from_tgv' failed.…
  • Get parent of context item in relationship action

    Hi all, I am using an action from a relationship grid which is driven by the PE_GetSelectedItems method. I need to get a handle on the parent item specifically as it looks like "this" returns a collection of all items open when used from this kind…
  • Disable 'Show Code Guide' and 'Show Method Help' buttons on the Method Editor by default

    Good Morning, I was wondering if there was a place in the code tree where I could disable these two buttons by default when opening a method editor. The Code Guide and Method Help is sometimes useful but mostly takes up space on my screen. I can only…
  • How can I open an item I just created via an action?

    Hi all, I have a client method that calls a server method to create an item based off some properties on the context item. How can I display the new item in a tab after it is created by the server method?
  • Run Aras Report from Method

    Good day all, How do I run an Aras report from a Method? I have several reports that I have created in Aras (not MS Report Services) and I can't figure out how to run one from a method. I'm trying to create a Modal Dialog so the use can pick the report…
  • Button not adhering to CSS

    Hello, I've got a button with very simple CSS (below). Problem is, the button isn't adhering to the code: {$this field rule} input; input[type="button"]{ height: 50px; width: 50px; } input[type="button"]:disabled{ background: #dddddd; } On both…
  • How to change a form dropdown list selection using a method

    I've got a form with a few dropdowns that are associated to static lists. I need to drive the selection of the dropdowns to update based upon a graphic that's made of multiple HTML fields (basically a 5x5 grid). - Dropdown1 - Dropdown2 Each grid…
  • Define context item for query called via method

    Hi, I am referencing this blog post: https://community.aras.com/b/english/posts/using-query-definitions-method-code I am running a query via method, how can I set the condition as the query seems to return all possible results without a context…
  • Using a method to update a team, doesn't seem to iterate beyond the first

    Hi Community. I am setting up a method to assign a user to multiple teams based on a form. The issue I am having is that it seems to only apply the user to the first team I select (using a multi-value list). Essentially, I am defining on the form…
  • What is the correct way to parse DateTime on a server side onAfterGet event?

    Hi everyone. I'm currently trying to evaluate the current date and a date property however, when I try do parse the string provided by getProperty, it gives me the error: String was not recognized as a valid DateTime. I can confirm the property…