• What´s the best way to organize very large Javascript Methods?

    Hi community, does anyone has some practical tips to not get lost in very large Javascript Methods? I right now work on a pretty UI heavy project that will probably contain a few thousands lines of code within one client Method. Within the standard…
  • 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.…
  • Feature licenses error when activate

    We are using a stand-alone server currently until we get ARAS fully stood up, then we will go live. We received the feature license keys and went to activate feature key but we keep receiving the pictured error below. It also pops up upon entering our…
  • "Aras.Server.Core.ItemNotFoundException" When transitioning from "In Work" to "Preliminary" with ECO Express's WF Activity

    Hi Community I'm having an issue and I'm hoping the community can help me solve it! In normal ECO Express WF of the Creator's operation goes to " Start--> Preliminary --> In Work" ,but what I'm trying to do is " In Work --> Preliminary" In other words…
  • 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…
  • Better version of 'Not a single Item' Error?

    Hello, Does anyone know if it is possible to edit a piece of code to produce a more descriptive error rather than just 'Not a single Item'. I understand the logic behind why this issue occurs and I have my own ways of finding where this error occurs…
  • 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…
  • Context from method to called email

    I've got an email that I'm calling from a "post" method on the Part lifecycle, but the default context that's passed to that email message isn't the Part, it instead seems to be the alphabetically first Identity in my database? Why is this happening…
  • Is it possible to reuse TreeGridView engine to display custom data as Tree?

    Hi Community, I have a custom SQL query that gets assembly information from another data source. In this data source, all relationships and related items are available in one table. Additional columns help to indicate, on which level / hierarchy position…
  • Renaming File via Document Relationship - A journey

    Hi Community, Need some help here. I have a method to rename a file related to a document. The idea is that upon check-in the filename will update to the Doc Number + Name + Rev + Generation It works for the most part but there are 4 errors depending…
  • Client side Form function and script not evaluating correctly.

    Good day all. TL;DR: I am having trouble getting an onLoad method to reliably print an evaluated value to a field. The form is as follows: Stock message contains: <span id='stock_msg'></span> I have a javascript onLoad method that compares…
  • Value of field doesn't change if the field type is itemtype and have onchange event.

    My scenario is after selecting any value in field 'A' which is of item type, I have to set/change the value of field 'B'. so i added a onchange event in field 'A'. like this const inputValue = this.value; window.handleItemChange('field B name', "new…
  • Get the Context Action Name in the Method

    Hi All, I have Multiple Server Side Item Actions Configured on the Part Item , I want the logic/functionality to be performed by each action to be controlled by the same method . In which case , is there a way to pass the Invoking action name to the…