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?
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…
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…
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…
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…
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…
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…
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…
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…
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…
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
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.…
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…
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…
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?
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…
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…
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…
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…
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…
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…
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…
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…