Browse By Tags

  • 'The given key '()' was not present in the dictionary.' Error

    Wanted to provide a solution to an old post on here. In our situation, when this item presented, it was a missing item from one of the float codes, specifically for updates. This is a C#, server-side method. Under the 'new Dictionary' item list, we…
  • Need server method to hide property of an Item for specific identity

    As the tilte says. We want the "Classification" property of ItemType "Document" to be hidden for a user if they are part of a specific identity. I also want the value of "Classification" to set as "General" for these users when they search of Documents…
  • 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…
  • 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 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…