Browse By Tags

  • How to stop\pause life cycle promotion to edit a part?

    I need to edit some Part properties such as State, Release Date, Revs, etc. But everytime a Part is edited a new version is created where the Rev increments. I do not want this to happen. I want to edit the part and have it not create a new version…
  • Get item using multiple Where conditions and edit the item

    I am trying to edit the State of a Part with a specific generation, "1". The output of the following is just "<Result/>" Innovator innovator = this.getInnovator(); string configId = this.getProperty("config_id"); Item itm = this.newItem("Part", "edit…
  • Connecting to Linked Server (External SQL Database)

    Hello all, After many attempts and support of Aras Support, we are still unable to execute SQL Stored Procedures on an external SQL database. Context Aras Innovator Version 26 SQL Server 2017 Goal Execute a Stored Procedure on an external…
  • 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. //*************…
  • Looking for equivalent of SQL select max(property) in IOM

    I am looking for the equivalent to select max(property) in IOM. The below SQL query returns exactly what I want, but I understand that this should be used as a last resort and want to make sure I'm not missing something. select MAX(item_number) FROM…
  • 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…
  • Technical Documentation - Content Generator for an Image?

    In Tech Docs Content Generator examples, I've run across: this.Factory.NewItemProperty this.Factory.NewText this.Factory.NewTable this.Factory.NewElement I'm trying to pull a Graphic from another item (requirement) and apply it into the…