• How to check my schedular is running?

    Hi, I have a method that need to run via schedular on every 1 minute. I need to check and hold the schedular until previous trigger (schedular execution) got completed. if the previous schedular execution is in process then we got error for next…
  • '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…
  • Any way to instantiate a C# class that is within another method or file?

    I have written a C# class helpful for me in refactoring some processing of an older method. This C# class could prove helpful for other modules which perform the same logic. Is there anyway to have this class defined in a C# server method that…
  • 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…
  • 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…
  • E-mail to Group Identity

    Good day all. I am having a problem figuring out how to create a list of e-mail addresses based on the members of an Identity. I am trying to set up a C# Method to review an ItemType and send an e-mail when there are items that meet the criteria. I have…
  • Update Parent Item when Relationships Tab is Changed

    Good day all, I have ItemType sm_ITA with a Relationship of sm_ITA_Assignment. sm_ITA_Assignment (Assignments) is not related to another ItemType. When an Assignment is added or deleted I need the sm_license_count property of the parent sm_ITA to be…
  • What is the correct way to parse DateTime on a server side onAfterGet event?

    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…
  • Reuse Code in C# Method

    Good day all. I am trying to use a variant on my previously posted Workflow Process Get Change ItemType . I want to reuse some of the code multiple times without having to write it out every time. The code references identId, but I can't figure out how…
  • Not a single item

    I wrote down the following to get data from a relationship and insert it in an item type but unfortunately im having the following error I dont see an issue with my logic if someone can take a look i would really appreciate it. Not a single item …
  • update property using csharp

    im trying to update value on vsy_rev can someone help with the c# code Innovator innovator = this.getInnovator(); decimal rev = Convert.ToDecimal(this.getProperty("vsy_rev"))+1; string new_rev= Convert.ToString(rev); this.setProperty("vsy_rev",…
  • How to solve the error: The remote name could not be resolved: 'HostUrl'

    Hi All, I am new to ARAS and i try to get familiarized with its concepts. In the current situation i try to connect two ARAS entities so they can send requests between each other (add, update, delete...) I created a server event method on ARAS N°2 to…
  • How to use a tree grid view to create an ASP.NET menu tool

    Former Member
    Former Member
    Hi, I would like to create a web form application ASP.NET to comunicate with Aras throught the IOM api. In Aras I created a query that I use for the tree grid view. The tree grid view contains the menu structure (with the main menu items and all levels…
  • Can I customize Tree Grid View input XML

    Hello, Question about Tree Grid View/method functionality. I'm are creating some kind of tree (for example Part BOM) & data comparison tool. I'm utilizing Query builder and I have 2 different query results in my method at hand. And now we are…
  • How can I use this library within aras 11 SP12?

    How can I use this library within aras 11 SP12? Hello, I am trying to send an email with a copy, to generate evidence, but I have only found that I should use this method of C # System.Net.Mail.MailMessage myEmail = new System.Net.Mail.MailMessage…
  • c# method with several functions

    Former Member
    Former Member
    Hi there, I am trying to make a recursive method in c# to process some relationships in my product structure which is based on several itemTypes. To do this I made different functions which are first called from a main. The only way I found to get…