Search on "locked" status not available in relationship view
Hi, As you can see in the following screen capture, an ItemType (in fact, a relationship with NULL related) can be filtered on "locked" status when displayed from global table: But, when the same ItemType is displayed from a relationship view, this is no more possible: Why ? Is there a solution to allow filtering on "locked" status on relationship without related from the relationship table? Regards.6.4KViews0likes3CommentsisLocked vs isEditMode
Hi, In my application, by javascript, I need to know if my opened ItemType is in "Edit" mode or not to enable or disable some html widgets. In ARAS 11, I used document.thisItem.isLocked() to know that. In ARAS 12, with the same code, the behavior is the following one: When the ItemType is not claimed: FALSE ==> This is the expected behavior When the ItemType is in "Edit" mode: TRUE ==> This is the expected behavior When the ItemType is not in "Edit" mode but claimed: TRUE ==> This is NOT the expected behavior So, isLocked is not good method to know if the ItemType is in "Edit" mode or not. My question: What is the javascript method to use on an ItemType to know is the "edit" mode is enabled ?4KViews0likes1CommentCatch 'ItemCannotBeLockedException' when state=Released
Hi, I'm trying to figure out how and where to catch the Aras.Server.Core.ItemCannotBeLockedException exception so I can display a custom error message to the users. The executed AML is: <Item type="MyCustomDocument" id="123134234234" action="lock" />. I have implemented "OnBeforeLock()" on my custom ItemType, but this method isn't hit when the ItemType is in Released state. So the question is at which stage in code is the exception thrown and can I sort of catch it or handle it?3.1KViews0likes2CommentsSee when and who claimed an activity
Hi We try to use as much as the out of box functionality as possible. We have just released a part request process in Aras and in this process we use the Claim functionality in "My InBasket". It works as supposed, but now users are asking if we can make it possible to see on the itemttype who has claimed the activity and when it was claimed by that person? Is that possible and if so how? Perhaps add to the infobox in the top left corner where Created By, Locked By, and etc is shown. Best Regards Henrik Olesen Kamstrup A/SDenmark2.7KViews0likes2CommentsUnlock Item using REST API
Hello, Consider the scenario 1. User A has locked the Document from Innovator GUI and edited Name property but did not Save, unlock and Close 2. Same user using REST API (through Postman, does not matter though) unlock the Item. Rest call as below PATCH: http://<hostname>/odata/Document('8B07D4B0D3AF4376BC031336E2E0E216') { "@aras.action" : "unlock" } The response status is 200 ok. 3. Try to unlock Item again by firing the same REST API: Status 500 Internal Server Error "ItemIsNotLockedException" which is considering #2 above. This indicates Item is not locked. 4. Go to Innovator UI and access Item ( In this case above Document ), UI shows up Document as "Locked". Refresh, logout have no impact. Status on UI is "Locked". Even I cannot Unlock, "Save Unlock and Close" from Innovator UI for this Item. I would like to know 1. What is the problem in this scenario and why there is the discrepancy in REST API and Innovator UI behavior 2. Why dont "@aras.action" : "unlock" checks if the document is in edit stage and not to unlock in this case 3. How to fetch the lock status of an Item using REST API. Instead of using locked_by_id property of Document Item Type Any help / suggestions are greatly appreciated - Gautam2.6KViews0likes1CommentHandle Lock Unlock
Hi All, Please consider the following Use Case: On Part Item , On After Update Server Event based on the property Values update the Related Document Property. For this I am using the action edit to update the Document. From the Design point of view, What should be the ideal way to handle the lock unlock status of the item being updated. Regards, ShrutiS2.3KViews0likes2CommentsDB Lock
When I use applyAML, sometimes it will cause DB Lock. What conditions will cause this cause? By the way, I have the error message. When I applyAML =><AML><Item type='Activity' action='EvaluateActivity'><Activity>109890D287C24699A1EA639B921F3E18</Activity><ActivityAssignment>698758D37ACA41FDA7A23A3B412868C1</ActivityAssignment><Paths><Path id='3DD97DD4DAE948608796D353E71AF337'><![CDATA['Approve']]></Path></Paths><DelegateTo></DelegateTo><Tasks></Tasks><Variables></Variables><Authentication mode=''></Authentication><Comments></Comments><Complete>1</Complete></Item></AML> => System.Xml.XmlException: An error occurred while parsing EntityName. Line 4, position 203.1.9KViews0likes1CommentVoting Problem: you are trying to edit is in a Not Lockable lifecycle state
Good day all. We are still using version 11 SP10. One of my change ItemTypes (customer created) is having a problem all of a sudden. When voting to Incorporate, a message appears saying that I am trying to edit the item and it cannot be locked. I have the Life Cycle set so the change cannot be edited in a Review state. I have sever change ItemTypes set this way and never had a problem in the past. I don't know what is going on with this now. Any help would be appriciated. Thank you. s_DCN is the change ItemType. Error Buffer Message <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"> <SOAP-ENV:Body> <SOAP-ENV:Fault xmlns:af="">www.aras.com/InnovatorFault"> <faultcode>SOAP-ENV:Server.ItemCannotBeLockedException</faultcode> <faultstring> <![CDATA[The s_DCN with ID 6527F1F44271407EB92B1926C718E5BB you are trying to edit is in a Not Lockable lifecycle state.]]> </faultstring> <detail> <af:legacy_detail> <![CDATA[The s_DCN with ID 6527F1F44271407EB92B1926C718E5BB you are trying to edit is in a Not Lockable lifecycle state.]]> </af:legacy_detail> <af:exception message="The s_DCN with ID 6527F1F44271407EB92B1926C718E5BB you are trying to edit is in a Not Lockable lifecycle state." type="Aras.Server.Core.ItemCannotBeLockedException"/> <af:item type="s_DCN" id="6527F1F44271407EB92B1926C718E5BB"/> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>Solved984Views0likes1Comment