RESTFul API Delete Method Error 405
I tried to delete ItemType by following the Document about RESTful API in Aras. For example, PostMan was called as below (DELETE) localhost/.../exItemType ('abcde') If you call it url A 405.0 - Method Not Allowed error message is returned. Additionally, I tried to remove the RelationshipShip for itemType, but the same error occurred. Relationship remove was also carried out according to Document's method. For example, PostMan was called as below (DELETE) localhost/.../$ref This also returns an error of 405. How can I use RESTful to remove itemType?0Views0likes2CommentsFeature licenses error when activate
We are using a stand-alone server currently until we get ARAS fully stood up, then we will go live. We received the feature license keys and went to activate feature key but we keep receiving the pictured error below. It also pops up upon entering our database. Has anyone seen the below error before?1.9KViews0likes4CommentsProject view for Sub WBS Elements
Hello Community, I am trying to customize the Project item view to be able to view sub WBS elements as separate projects so that Project Managers at different levels can view and interact with the schedule of their own project without having to view or modify the other WBS Elements. While also enabling the Program manager to have a complete view including interdependencies of activities between multiple projects. I expected Program item to do this, but it doesn't really do anything as far as I know. Anyway, I was able to achieve what I set out to do(sort of) in a couple of different ways but I am faced with multiple issues. Case 1: I tried replacing the property wbs_id of a project with a Sub WBS Element of a different project, the view is generated as expected. Case 2: I create project items for each Sub WBS Element I expect to have and then add them to the Sub WBS relationship of the a program level WBS Element. Again, the view is generated as expected. In both cases I'm not really respecting the property "is_top" of the WBS Element, I haven't found it really being used anywhere. But in both cases, whenever I try to edit any of the project items I get the error : "WBS Activity2 already exists" or "Sub WBS already exists." Error details: <af:legacy_detail>WBS Activity2 already exists.</af:legacy_detail> <af:legacy_faultstring>Violation of PRIMARY KEY constraint.</af:legacy_faultstring> I tried to fix this by changing the "action" attribute from 'add' to 'create' of the relationship item xml elements inside the AML generated inside the method Project_saveProjectTree(This server method updates all the items whenever a change is made in the project view.) This seems to have fixed the issue in some scenarios, and it lets me edit the lower tier project items as intended. However in some other cases, such as when I edit a program level project item I get the error: "Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. The statement has been terminated. Warning: Null value is eliminated by an aggregate or other SET operation. Warning: Null value is eliminated by an aggregate or other SET operation. ..." The last sentence repeats about 17 times. The error details don't provide any additional information. The perplexing part about the issue is that I DO NOT get this error when I extract the AML query that is generated inside the method Project_saveProjectTree, and then submit it through Nash or Innovator Admin. It only fails inside the method. So, I'm not quite sure why this is happening or if my approach is wrong from the beginning. Any inputs on the issues or a better way to achieve what I want to do with respect to the project item are appreciated. Thanks in advance, -Prasanth0Views0likes0CommentsGetting Item id from custom context method on Tree Grid View
Hi, I have two new ItemTypes that i use to add project activities and tasks to the Part ItemType like this: I have created a new query definition and tree grid view to display the structure on a new tab on the Part: I have also created a custom context menu item with corresponsing method that is intended to set the Done property on the selected task. The issue i am struggeling with is that i cant get the Item id of the selected row. [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:cdb7d76d-02e5-42c4-96a0-74ad83b5e671:type=javascript&text=var%20taskItem%20%3D%20aras.newIOMItem%28%27Task%27%2C%20%27edit%27%29%3B%0D%0Avar%20tgvContext%20%3D%20inArgs.contextParams.tgvContext%3B%0D%0Avar%20tgvGrid%20%3D%20tgvContext.grid%3B%0D%0Avar%20tgvGridData%20%3D%20tgvContext.getGridData%28%29%0D%0A%0D%0Avar%20dataObject%20%3D%20tgvGridData.focus%5B0%5D.row.cells%5B0%5D.data%3B%0D%0Aaras.AlertError%28%22Result%3A%20%22%20%2B%20dataObject%29%3B] as shown from the output i get "INVALID_ID_VALUE" Hope somebody can assist here.1.1KViews0likes5CommentsTypeError: this.newItem is not a function - Client Side Error
I am attempting to run a Javascript/ client side method that calls other client method, and for some reason I am having a difficult time getting anything to work as I would expect. My confusion lies in many areas. The syntax check runs 'ok', no errors, but something tells me it is not working correctly (or at all) because it comes back with an OK immediately, no wait time. I am simply trying to grab an item of a particular name, grab it's ID, and hand that ID to a known, working method, that requires this item I am getting as the context item. var itemName = this.newItem("Itemtype", "get"); itemName.setProperty("name", "desired name"); itemName = itemName.apply(); var body = itemName.getID(); return innov.applyMethod("Second Method Name", body); When I run this from the intended run location (a button with an OnClick field event), I receive an error. My initial reaction is that, this.newItem is most certainly a function, and works both in server and client side code, not sure why this is the error. Very well could be something that I'm missing or not understanding. There is no other information in this error message, has anyone seen this before?5.3KViews0likes4Comments"Aras.Server.Core.ItemNotFoundException" When transitioning from "In Work" to "Preliminary" with ECO Express's WF Activity
Hi Community I'm having an issue and I'm hoping the community can help me solve it! In normal ECO Express WF of the Creator's operation goes to " Start--> Preliminary --> In Work" ,but what I'm trying to do is " In Work --> Preliminary" In other words, moving the workflow back one step. Therefore I'm using the following peice of code for dynamic voting of workflow : Dim sbVoteXml As New Text.StringBuilder("") sbVoteXml.Append("<Item type=""Activity"" action=""EvaluateActivity"">") sbVoteXml.Append(" <Activity>{0}</Activity>") sbVoteXml.Append(" <ActivityAssignment>{1}</ActivityAssignment>") sbVoteXml.Append(" <Paths>") sbVoteXml.Append(" <Path id=""{2}"">{3}</Path>") sbVoteXml.Append(" </Paths>") sbVoteXml.Append(" <DelegateTo>0</DelegateTo>") sbVoteXml.Append(" <Tasks />") sbVoteXml.Append(" <Variables />") sbVoteXml.Append(" <Authentication mode="" \ "" />") sbVoteXml.Append(" <Comments></Comments>") sbVoteXml.Append(" <Complete>1</Complete>") sbVoteXml.Append("</Item>") Dim itmVote As Item = Inn.newItem() itmVote.loadAML(String.Format(sbVoteXml.ToString(), sActivityID, sAssignID, sPathID, In_REVIEW)) itmVote = itmVote.apply()However, I got the error "Aras.Server.Core.ItemNotFoundException"...The "Preliminary" activity state is "closed", which may be the cause, but I don't know how to solve it. Do you know how to move the activity back one by using a server method etc.? In addition, should I think about "PE_ChangeItemTransition" too?(This Aras's standard method perform validation of Change item(ECN, ECO, etc..) which situated in state or promoted to another state)Could someone please let me know why this error is happening. I will be happy to help you with other information as needed. Thank you.1.7KViews1like1CommentBetter version of 'Not a single Item' Error?
Hello, Does anyone know if it is possible to edit a piece of code to produce a more descriptive error rather than just 'Not a single Item'. I understand the logic behind why this issue occurs and I have my own ways of finding where this error occurs but it would be a lot easier if the error tells you which method it originates from. Thanks, Joshua2.2KViews0likes2CommentsResponse speed of the ver11 become fast?
Hello all, I manage some development team of Aras Innovator for my clients. Some clients needs to become fast of response speed ver11 Sp8/15. Actually, upload xls/csv file to Aras and searching are very slowly response, 5mins or more. I'd already confirmed network speed, server spec, DB tuning, a lot of times. But, Aras DB will rock and down about uploading file or searching. Please, shared this and discuss or advice me. Thanks.1.5KViews0likes0Comments