• Value of field doesn't change if the field type is itemtype and have onchange event.

    My scenario is after selecting any value in field 'A' which is of item type, I have to set/change the value of field 'B'. so i added a onchange event in field 'A'. like this const inputValue = this.value; window.handleItemChange('field B name', "new…
  • JS in Item view: Why is document.thisItem.node.childNodes modified on lock/unlock?

    While running a method OnFormPopulated, I reference the list document.thisItem.node.childNodes to get an overview of the properties of the current item. This NodeList contains all elements on first load, however, when a lock/unlock action subsequently…
  • How can i Disable FormattedText field using Javascript

    Im trying to disable FormattedText FormattedText field using on Formpopulate. unfortunately i have been unsuccessful. Can someone please tell me the script to disable it.
  • Have any document about aras javascript object?

    Hi, I want to work with some object as Form, Tab, Grid, add or remove items in grid ... of aras using javascript. Where can i find documents or have any way to start investigate? Thanks, QuyenTH
  • CMF Property Coloring

    Hello, I'm working through the CMF guide, and attempting to implement the task in 4.1.9 (Set the text color for a given zone) for a real world use case. In my Innovator instance, I have a CMF Item Type called MyPQD, with two properties -- MyStringProp…
  • How can a dropdown list be filled with values which can be found in an ItemType field

    Hi, is there a way to fulfill a dropdown list when the form is loaded with values that can be found in an ItemType field? I don't want to use the item as a data source.
  • fetch attribute data from Item xml

    Hi all, I am new to aras. i have a xml of item <Item type="Aras_abc" id="2DE6D89F95914A11BC0F50FE38F1BAAB" action="add" loaded="1" levels="1" isTemp="1" typeId="290D70A781564CC889F16344767CC6A7" LastModifiedOn="1620903746992" isDirty="1"> <has_higher_rev…
  • Color coding text value in an onChangeCell client event?

    I know that I can use a Server onAfterGet method to set the css property to change the color of cell text or cell background color in a relationship grid. But I would like to immediately highlight a data entry error that fails validation by highlighting…
  • How to call a client method from another client method?

    Hello everybody. I have several client methods which are sharing some common code. I would like to put that code in a method, and call that method from the other methods, everything is client side. How can I do that?
  • How to create dynamic dropdown list in relationship grid property

    Hi Team, How to create dynamic dropdown list in relationship grid property ? Note: I have parent form with Student details, in relationship grid I have property of subjects. After inserting new row, In the relationship grid the subject property OnEditStart…
  • Is it possible to use the change event trigger of an item to get the name of the field?

    hi All, According to this image, my method name is " change_field ". The field names of text boxes framed by dashed lines on the screen are "A", "B", "C", and "D". The text boxes that are framed with dashed lines have a text box below them that…
  • how to change relationship form value

    hi,All I set "Open Related Form" on [relationshiptype] so that I can edit the relationship with a popup window when I click "Add Relationship". But I want to bring out the default values in the popup window, I tried the following actions //my…
  • Open specific ItemType form from a client side method

    Hi All, I have an ItemType that is setup with two forms attached, one being the main default form used for viewing, editing, adding etc.. I would like to however be able to through a client side method open the "Secondary Form" loaded with a context…
  • ArasModules.vault.saveBlob() JS Function.

    Does anyone know where the JavaScript function ArasModules.vault.saveBlob() is defined? It is called out in the saveContentToFile function in the client/javascript/ExportToOfficeHelper.js file. The reason for the question is that the saveBlob() function…
  • How to Add Pagination in client side method

    content = "<table id="pagination">"+"<tr><td></td></tr>"+</table>;
  • Populate the WBS Elements for corresponding Activities2 in a project

    <AML> <Item type="WBS Activity2" action="get" select="name" where="WBS_Activity2.related_id IN (SELECT id FROM INNOVATOR.select_activities('9CB5E2CBBBDB1728B01882'))"> <Relationships> <Item type="Activity2" action="get" select="related_id(name)…
  • Add autocomplete function to a field

    Hello, we would like to implement fields where the user can enter text manually and then gets available values, similar like with list fields. But it should be possible to enter values too, that are not part of the list. How is this possible in…
  • Creating dynamic list failed! ERROR: "property 'setState' of undefined"

    Hello dear all, I'm very new to ARAS! I'm using ARAS V11SP14 and ... trying to create a dynamic list, which will be filled with articles. The code is from the Programmers Guide 12.0 "7.32 How to Create a Dynamic List" (after small modifications…
  • Set the property of type item to null value if the item is null

    I am setting a property of type item using the setPropertyItem from JavaScript code as below: var Item = innovator.newItem("Material", "get"); Item.setAttribute("select","id"); Item.setProperty("id", gridRow.entity.ExistingVariantMaterialId); Item =Item…
  • Login with javascript

    Hi I'm using cefsharp to automate aras. I want to login programmatically using Javascript code. I tried somthing like: document.getElementById('username').value= 'xxxxx' ; document.getElementById('password').value= 'xxxxx' but it does not…
  • Can you Remove xClass relationship with onChange field event?

    I'm trying to clear out the xClass relationship when the class of a part is changed. The code I have below is ran on the filed event of the drop down onChange, however it doesn't remove the xClass relationship. var rootItem = document.thisItem;…
  • innovator service and Javascript Methods

    I would like to know if it's possible to run a javascript method from Innovator Service. I would like to be able to use javascript to make async http calls over the network. I can currently use C# for this but the methods will not be asynchronous as far…
  • client side method to add days for a date return aN/aN/NaN when the browser is in Italian language

    Hi, I created new item type which have properties like first_delivery_date (date), total_number_of _orders(int), frequency(int), frequency_list(list)(values: Days, weeks, months), delivery_date_of_each_delivery(text). I wrote a client side method in…
  • Disable a Relationship Tab

    I added a relationship to Part Item Type and I tried to disable the relationship tab in certain condition( the condition is not added to the code yet) . Relationship name ="a_Cost Data", label =" Cost Data", I am not sure which one I should use for GetTsbId…
  • How to Set RelationShip field value result as onFormPopulated ?

    I have a itemtype call 'Part' , Part has a field call 'part price' (type is decimal) Part has a relationship call Part_detail Part_detail has a field call 'RP price' (type is int). I need "part price" to have thousand separator, but it is only…