Changing data type of property from filter list to multi value list, Changes needed to make for same functionality
Hi community, I have a property with datatype filter list, but I want to change it to multi value list, maintaining the same functionality of conditional options. What changes do I need to make. What would be the approach for it.0Views0likes1CommentWhat is the fastest way to get List LABELS (!!) in C# and JS?
Hi community, does anyone know a fast way to get the labels of list items in C# and JS? I am writing a small Jira connection were I transfer the content of a regular Innovator item. The item has a dropdown list. We can get the selected dropdown value quite easily with something like this.getProperty("mylist",""); But in my Jira item I don´t want to display the list value, but the list label. In best case I even want to specify the target language of the label that should be used. Currently I know two options, but both require too much code for my taste: 1. Make a "get" query against the "Value" table. 2, Get the full list item with all values and labels and than match the current property value with the full list. First option works fine when we only need to get the label of a single dropdown value. But it would produce a large amount of queries if we have multiple items in a loop. The second options works better for multiple items, as we only have to get the complete List one time. But I wonder if there is an inbuilt function to make this all easier to do by default? Does anyone know more? Thanks! Angela0Views0likes2CommentsDo the fields in the form show "Value" or the "Label" from a list
I have a filter list. the "Label" of which will show in "type" field of the "Document" form. I want to edit this "Label" because we want the "Type" to be different, and editing the "Value" erases the values from the Type field of every Document form where this value occurred. We ofcourse can't have this so the solution was to just edit the Label. However, In the near future,I also want the "Type" to appear in the right click menu on a Document under Process Plan --> operations --> Documents. This "Type" will also show the "labels", correct? Secondly, is Aras's default behaviour to show the "Label" of the list?Solved0Views0likes2CommentsDrop Down field with better auto completion
Hi, I'm using ARAS R19. The drop down fields (linked to a list) are very poor and difficult to use on big list. Indeed, on the following list: The user is not able to start to enter "ELEC" to quickly find the expected line. The completion works well but only on the start of the string, not on the middle of the string. Do you know how to enable autocomplete on the middle for all DropDown fields ? Is there a way to "replace" the default dropdown list by a more advanced one (like this one https://harvesthq.github.io/chosen/) ?623Views0likes2Commentsget property list from item type, issue reading the result item
hello, i want to get a list of names of propreties that start a certain way 'z%'. i've found aml that was supposed to do it, i' made an iom code to recrate that aml (actually creates the right aml). But what i get is only one item, so i want to know if the aml is actually good or if there is a specific way to get the properties from that one item i get. [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:8336f2cd-196d-4ebb-8979-eeead87b54f9:type=text&text=%3CAML%3E%0D%0A%3CItem%20action%3D%22get%22%20type%3D%22itemType%22%20select%3D%22name%22%20where%3D%22ItemType.name%20%3D%20%27ZFCcontrainteTemplate%27%22%3E%0D%0A%09%3Cname%3Epart%3C%2Fname%3E%0D%0A%09%3CRelationships%3E%0D%0A%09%09%3CItem%20type%3D%22property%22%20action%3D%22get%22%20select%3D%22value%2C%20label%22%20where%3D%22%5Bproperty%5D.label%20like%20%27z%25%27%22%20%2F%3E%0D%0A%09%3C%2FRelationships%3E%0D%0A%3C%2FItem%3E%0D%0A%3C%2FAML%3E] [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:d50be430-1135-40a5-be6a-46672b9d79f9:type=text&text=var%20FCitemType%20%3D%20inn.newItem%28%22itemType%22%2C%20%22get%22%29%3B%0D%0A%2F%2F%20FCitemType.setProperty%28%22name%22%2C%22FCcontrainteTemplate%22%29%3B%0D%0A%2F%2F%20FCitemType.setAttribute%28%22select%22%2C%20%22name%22%29%3B%0D%0AFCitemType.setAttribute%28%22where%22%2C%20%22%5BitemType%5D.name%20like%20%27ZFCcontrainteTemplate%27%22%29%3B%0D%0A%0D%0A%0D%0Avar%20property%20%3D%20FCitemType.createRelationship%28%22property%22%2C%20%22get%22%29%3B%0D%0Aproperty.setAttribute%28%22select%22%2C%20%22label%22%29%3B%0D%0Aproperty.setAttribute%28%22where%22%2C%20%22%5Bproperty%5D.label%20like%20%27z%25%27%22%29%3B%0D%0A%0D%0Aconsole.log%28%22FCitemType%20before%20apply%3A%20%22%2BFCitemType.ToString%28%29%29%3B%0D%0AFCitemType%20%3D%20FCitemType.apply%28%29%3B] thanks lucasSolved5.9KViews0likes7CommentsIs it possible to have a 3 stage filtered list?
By default, the filtered list has 1 filter layer hence 2 dropdown options to select from when creating a new Item. However, I would like to have 2 filters: Division > Process > Security measures. What would be the best approach to set this up?Solved4.9KViews0likes3CommentsAML to Update List Property
Good day. I added a list property to a few ItemTypes with a default value (itemtype, default value is the ItemType ID). When I create an entry the field is populated and identified correctly. When I try to update other entries using AML (Nash or Batchloader) the field has the correct information, but it is not recognized when I search the field. Example: DEMO-14 - this is the newly created entry DEMO_PDF - crated previously to the itemtype property being added I used Nash (and Batchloader to make sure) to update the property to the ItemType's ID. When I perform a 'get' action the fields display the exact same information. When I perform an Advanced Search, select the field, and select the appropriate Label from the list, only DEMO-14 is returned. I'm not sure what I am missing with this. Thank you for the help.3.5KViews0likes4CommentsTypeError: Cannot read property 'filed' of underfined
Hi, When I update data, use type List then error: "display_value_D_oneditstart handler failed with message: TypeError: Cannot read property 'field' of undefined" https://imgur.com/v5CaATD https://imgur.com/JX44iIF Please help me, thank you1.6KViews0likes0CommentsERROR: dynamic list! Cannot read property 'setState' of undefined!
Hello all, I'm very new to ARAS, so please help) The goal is to create a dynamic list, which will be filled by the onLoad form event with articles. The code is from the Programmers Guide 12.0 "7.32 How to Create a Dynamic List" (after small modifications): ###################################################################### var inn = aras.IomInnovator; var dropdown = inn.getItemById("LIST", "29D876DB477243D6AB00C96466CE240C"); var list = inn.newItem("List", "get"); list.setAttribute("select", "id, keyed_name"); list = list.apply(); listOfTeams = [{ label: '', value: '' }]; listOfTeams.push({ label: "testtt", value: "esttt" }); dropdown.component.setState({list: listOfTeams}); return null; ###################################################################### Error: Technical MessageEvent handler failed with message: TypeError: Cannot read property 'setState' of undefined [function onload$user$handler(e) { try { if (onload1(e) === false) return false; } catch (exp) { aras.AlertError(aras.getResource('', 'ui_methods_ex.event_handler_failed'), aras.getResource('', 'ui_methods_ex.event_handler_failure_msg', exp.description ? exp.description : (exp + ' [' +arguments.callee.toString()+ ']')), aras.getResource('','common.client_side_err')); return false; } }] Stack TraceClient Side Error So please help! Kind regards and thanks in advance, Leonid3.5KViews0likes1CommentCreating 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): ##################################################################### var inn = aras.IomInnovator; var dropdown = inn.getItemById("LIST", "29D876DB477243D6AB00C96466CE240C"); var list = inn.newItem("List", "get"); list.setAttribute("select", "id, keyed_name"); list = list.apply(); listOfTeams = [{ label: '', value: '' }]; listOfTeams.push({ label: "testtt", value: "esttt" }); dropdown.component.setState({list: listOfTeams}); return null; ############################################################################# The Error: Technical MessageEvent handler failed with message: TypeError: Cannot read property 'setState' of undefined [function onload$user$handler(e) { try { if (onload1(e) === false) return false; } catch (exp) { aras.AlertError(aras.getResource('', 'ui_methods_ex.event_handler_failed'), aras.getResource('', 'ui_methods_ex.event_handler_failure_msg', exp.description ? exp.description : (exp + ' [' +arguments.callee.toString()+ ']')), aras.getResource('','common.client_side_err')); return false; } }] Stack TraceClient Side Error ########################################################## I have no ideas how to fix it and cant find a solution in the forum as well! Thanks in advance!1.5KViews0likes0Comments