Programmatically add Item types to Poly type
Hello Experts We use a Poly Item type (call it Repo_Poly) to manage relation and some metadata between and a single source Itemtype to multiple Itemtypes in Aras We wrote a "Action" for Admins to add the Itemtypes to our "Repo_Poly" type to help with usability as we do other things in the background after adding the new type. Our Server method does the following Add a Morphae relation between the Poly type and selected Itemtype Add custom actions on selected Itemtype The thing to note is, this seems to add the Itemtype to Poly type but it does not seem to update the "List" which is used to managed Poly type. But when we create the relations which exists between our source type and poly type(Repo_Poly), the items under the relationship table are being shown as Restricted The DB entries seems to be identical for types added manually or programmatically As a test we set World permission on all the types involved but we still see the same error. We are unable to figure out what is missing, we are also unable to trigger the "beforesave" and "after save" events on the Poly type. We also tried adding the selected Item type to this "List" used by the Poly type but there was no change. Any suggestions will be highly appreciated94Views0likes11CommentsChanging File Type Column Width in Relationship Grid
Hi all, I'm trying to change the default width of the "File Type" column in all relationship grids. I was able to change "Related File" within the relationship itemType (related_id), but when I give myself editing permissions on the File item type, it loads with the new width, then immediately reverts to the previous size. Is it possible to change this column?39Views0likes2CommentsCan we add multiple reverse relations targeting a single relation?
Hi, We have the following scenario: I have a custom itemtype which has relationships with different itemtypes like Part, Requirement, etc. Now I want to show the reverse relation on my custom item type pointing to Part and Requirement. On custom Itemtype we have one relationship that has the source itemtype as custom itemtype and related itemtype is null. On this single relationship can we add reverse relation using a Relationship View for both Part and Requirement, and more? If yes, how to add more than one Relationship View? Or if there is any other way that leads to showing the different itemtypes relation using a single relationship? Thanks in advance. Best regards Tanjum102Views0likes1CommentFor API GET call, not receiving item type in the payload for custom part.
Hi, We have following scenario, If I do a get call for Part or Requirement, I'm receiving the respective item-types id as 'itemtype':'id' in payload. But if I do get call for a custom Item I'm not receiving the 'itemtype':'id' in its payload. If I have to get the 'itemtype':'id' for a custom item, do I need to update my item type or my API call? Below, I have added API calls and responses for different items. Get Call for Requirement: instance/Server/odata/re_Requirement('D2E185A3F91248CEB219C848C56EC97C')?$expand= Payload: { "@odata.context": "instance/Server/odata/$metadata#re_Requirement/$entity", "classification": "Requirement", "content": "<Requirement aras:id=\"4c2ebcb8a3d544769f42e1238ddb0b55\" reqId=\"70F10587B45F4B7DB612CD2455089234\" xmlns:aras=\"http://aras.com/ArasTechDoc\" xmlns=\"http://www.aras.com/REStandard\"><Requirement-Info aras:id=\"1e9e767cf6d24c838d902d3e1e3e5c65\"><Requirement-Chapter aras:id=\"d1c3cc1e37954198b01ad944bfb74150\"><aras:emph emphtype=\"text\"></aras:emph></Requirement-Chapter><Requirement-Title aras:id=\"7b86d25939b248d99aa3fc6a27aac6ff\"><aras:emph emphtype=\"text\">Asot Req 1</aras:emph></Requirement-Title><Requirement-Number aras:id=\"fe249c8cbe1f4926843bcc65703fa948\"><aras:emph emphtype=\"text\">REQ-000000272</aras:emph></Requirement-Number></Requirement-Info><Text aras:id=\"27be607cf9014ff591071e5a4b62a1e6\" /></Requirement>", "[email protected]": "en", "created_on": "2026-01-14T07:01:01", "[email protected]": "Draft", "generation": 2, "global_version": "32007", "id": "D2E185A3F91248CEB219C848C56EC97C", "is_current": "1", "is_released": "0", "keyed_name": "REQ-000000272 Asot Req 1", "major_rev": "A", "modified_on": "2026-01-19T07:39:05", "new_version": "0", "not_lockable": "0", "req_complexity": "Low", "req_priority": "Low", "req_risk": "Low", "root_element_name": "Requirement", "root_element_type": "Single", "state": "Draft", "item_number": "REQ-000000272", "req_title": "Asot Req 1", "itemtype": "55515617CB224C90AB5A9DAC0F061C2A" } Get Call for Custom Item: instance/Server/odata/poc_ASOT_Item('EE714F53C7D8438990900B58658C5763')?$expand= Payload: { "@odata.context": "instance/Server/odata/$metadata#poc_ASOT_Item/$entity", "created_on": "2026-01-19T13:57:35", "generation": 1, "id": "EE714F53C7D8438990900B58658C5763", "is_current": "1", "is_released": "0", "keyed_name": "ASOT_00086", "major_rev": "A", "modified_on": "2026-01-19T13:57:35", "new_version": "1", "not_lockable": "0", "poc_channel_name": "234", "poc_datasource": "DOORS_SOURCE_1", "poc_datasourcetype": "DOORS", "poc_displayname": "xyz", "poc_fqn": "rr33ee55", "poc_item_number": "ASOT_00086" } Do you know how to do this? Thanks in advance. Best regards TanjumSolved104Views0likes2CommentsCan Assembly has different version of BOM?
Hi, We have following scenario, I have one Part assembly, and has 8 Part BOM as shown below. Can we change the Part BOM to older revision that has state "Released". Note: Here Part assembly is in "Released" state and locked for updating. We can promote assembly to "Manual Change" state but related Part BOM got unlocked and got synced to their latest revision, which we do not want. Is there any way were we can change the few property of the Part assembly without unlocking the Part BOM? (We do not want to sync the revision of PART BOM if it has higher revisions.) Thanks in Advance !!161Views0likes2CommentsFilter ItemType properties to "Non Core" only
if you are an Aras administrator or developer and often work with ItemTypes and their properties you know that each ItemType has many "Core" properties, such as "config_id", "created_on" and so on. Regular ItemType has 23 such properties and Relationship ItemType has 27. if ItemType has only a few "User" properties you have to scroll up and down each time to find them among this "Core" properties. It's very annoying. But we can easily hide these properties that we rarely need anyway. Open any ItemType and switch to "AML" search mode on search toolbar of "Properties" tab. Paste this condition into AML edit box: <name condition="not in">'behavior','classification','config_id','created_by_id','created_on','css','current_state','generation','id','is_current','is_released','keyed_name','locked_by_id','major_rev','managed_by_id','minor_rev','modified_by_id','modified_on','new_version','not_lockable','owned_by_id','permission_id','related_id','sort_order','source_id','state','team_id'</name> Run search. You'll see that only "User" properties displayed. Click on "Star" right to "Properies" to add this search to Favorites and give it name like "Non Core" or "User properties". Now for any ItemType you can click down arrow right to "Properties", select your "Non Core" favorite search and filter properties to only "User" properties.1.4KViews1like2Commentsget 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. <AML> <Item action="get" type="itemType" select="name" where="ItemType.name = 'ZFCcontrainteTemplate'"> <name>part</name> <Relationships> <Item type="property" action="get" select="value, label" where="[property].label like 'z%'" /> </Relationships> </Item> </AML> var FCitemType = inn.newItem("itemType", "get"); // FCitemType.setProperty("name","FCcontrainteTemplate"); // FCitemType.setAttribute("select", "name"); FCitemType.setAttribute("where", "[itemType].name like 'ZFCcontrainteTemplate'"); var property = FCitemType.createRelationship("property", "get"); property.setAttribute("select", "label"); property.setAttribute("where", "[property].label like 'z%'"); console.log("FCitemType before apply: "+FCitemType.ToString()); FCitemType = FCitemType.apply(); thanks lucasSolved6.1KViews0likes7CommentsARAS31 import.mf deployment issue
Hai, We recently upgraded our environment from Aras Innovator 11 to Aras Innovator 31, and we are running into several issues while deploying our solution packages. I wanted to share the details here to see if anyone has faced similar challenges or has suggestions. In Aras 11, we used an import.mf file with the following structure, and everything deployed without issues: <imports> <package name="DatabaseIdentifier" path="com\aras\innovator\DatabaseIdentifier" /> <package name="com.aras.innovator.solution.PLM" path="PLM\Import" /> <package name="com.aras.innovator.solution.Project" path="Project\Import"> <dependson name="com.aras.innovator.solution.PLM" /> </package> <package name="com.aras.innovator.core" path=".\" /> <package name="com.aras.innovator.cui_default" path=".\" /> <package name="Custom_Pkg1" path="CustomPkg1\Import" /> <package name="Custom_Pkg2" path="CustomPkg2\Import" /> </imports> After upgrading to Aras 31, we tried using the same .mf configuration, but we are encountering multiple deployment errors. Issues Observed 1. Null Reference Error Object reference not set to an instance of an object. 2. Method Not Found Error It points to this AML:→ Error: “No items of type Method found.” <Item type='ItemType' id='8052A558B9084D41B9F11805E464F443' action='edit'> <Relationships> <Item type="Server Event" action="add"> <related_id keyed_name="FileOnGet" type="Method"> <Item type="Method" action="get" select="id"> <name>FileOnGet</name> </Item> </related_id> </Item> </Relationships> </Item> Import package 'com.aras.innovator.core' failed with message: No items of type Method not found. 3. Timeout Error During Import The package was then marked as a failed release (seen for custom_Pkg). faultcode: 999 faultstring: System.Net.WebException: The operation has timed out 1. In Aras 31, are we required to use manifest.json instead of the old import.mf format for custom packages? 2. If yes, where exactly should the manifest.json file be placed, and what structure should it follow? 3. How should we handle customizations or extensions to system-level packages like com.aras.innovator.core and com.aras.innovator.cui_default that previously existed in Aras 11? 4. Has anyone encountered the faultcode 999 / timeout issue during import — and how did we resolve it? Thanks in Advance SaliniSolved288Views0likes9CommentsPermission Per Item Control - Private Permissions
Hello, I am looking for a discussion/recommendation on a permissions question. For the Item Type Part, we want to do control on a part by part (Item) basis. I understand that we could do Private Permissions is there any other way? or is the Private Permission answer an acceptable way to do this.Solved179Views0likes3Comments