Browse By Tags

  • 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…
  • 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…
  • Property validation - Dialog to Confirm Ok or Not

    Hello All, I've been struggling with a property validation use-case and I'm sure it's something that'd be useful to lots of folks. Have a working server event that blocks the user from proceeding if a certain property is left blank; however there…
  • How to use GrantIdentity ?

    Hi, On ARAS R12, in server methods, I needed to grant temporary some rights. For that, I did something like this: var myidentity = Aras.Server.Security.Identity.GetByName("My Identity"); bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity…