This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to lock,unlock,close,open document using javascript or c#

jagdish - Tuesday, August 28, 2012 4:22 AM:

Hello.......I am beginner in Aras and i want to know

How to Lock ,Unlock, Close Document using javascript or if any server side language like c#.....................???

please give me Reply .....................!!!



fli - Wednesday, August 29, 2012 7:47 AM:

Hello Jagdish,

Try...

top.aras.saveItemEx(document.thisItem.node,false);

and then...

http://www.aras.comhttp://www.aras.com/Community/forums/t/2632.aspx

BR / Christoffer



lisawu - Wednesday, August 29, 2012 11:53 PM:

hi ~ jagdish

this is a sample code using javascript.

Unlock -->  top.onUnlockCommand();

Lock --> top.onLockCommand();

BR

Lisa~^^~

 



jagdish - Wednesday, September 5, 2012 5:47 AM:

THANK YOU   Christoffer.......................!!



rrt - Thursday, March 3, 2016 3:18 AM:

hi Christoffer Stub Michelsen

what is code for open item using javascript

thanks in advance



jagdish - Wednesday, September 5, 2012 5:45 AM:

Thank you ......................!!!

 



fli - Thursday, March 3, 2016 9:20 AM:

Hi,

top.aras.uiShowItem(ItemType, Item ID); 

Br Christoffer



rakesh - Wednesday, March 9, 2016 3:57 AM:

hi Christoffer

How can i done it using CSharp???

thanks



rrt - Tuesday, March 15, 2016 3:44 AM:

hii Rakesh

are you able to get c# code to  save item type? 

if got then give me solution please

thanks in advance