Browse By Tags

  • What is the correct syntax of writing "where" statement in AML with C#

    I need to write just write one line of AML wrapped in C# and store the ID of the item in a variable code: Innovator inn = this.getInnovator(); string amlString= @"<AML><Item type='Document' action='get' where='item_number='MADL002828'' select='Document…
  • Is there an easy way to run code after a change/creation transaction finished?

    Hello, I need to send a created/ changed item to another service. I have some code that just needs the ID of an Item, it then retrieves it from the database and sends it to the other service. The problem I am facing is that, I can't find a way to…
  • Method event version type "Version 2" - where do we find more samples and guidelines?

    Hi community, does anyone of know how to use the "Version 2" type for ItemType Server Methods? Let´s assume we use an onAfterAdd/Update event in the Part BOM ItemType. With Event Version 1 the event is fired for each single row. Which version 2 it…
  • Server Method working when given a GUID, but not when using this

    Hello, When I run this server method from the method itself and use a GUID to get the Item I want to update the method works fine, but when I change it from a GUID to = this; and run it from the Item Type on the server events "OnBeforeUpdate" it crashes…
  • 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…
  • Project view for Sub WBS Elements

    Hello Community, I am trying to customize the Project item view to be able to view sub WBS elements as separate projects so that Project Managers at different levels can view and interact with the schedule of their own project without having to view…
  • 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. //*************…
  • Need Guidance: Prevent On Close Server Event to get called when there is Error (when voting) and the CM Activity is not Closed?

    Hello All, I'm creating a server-side method that sends an email to the Change Leader. It gets invoked " on close " in association with a Change Management workflow activity. The email should be sent only when the activity is closed, and the workflow…