Lock document WEB

How I can make to lock a document for web using the function Lock of the R6?

tks

Subject: Lock document WEB

Maybe http://www.xetrion.com can help you.

Subject: Lock document WEB

http://www-1.ibm.com/support/docview.wss?rs=0&q=7003259&uid=swg27003259

I don’t think document locking is a built in option to work on the web. They mention a way to check if the document is locked in the above article - but no way of locking it from the web. Looks like the function is built for ND6 client environment.

Excerpt from above link…

“In summary, this is a very smooth feature if the database replicates among Domino 6 servers that can easily communicate with each other, and if the users have ND6 clients. If your system is not set up this way, you should do appropriate testing to ensure that you can at least train your users as to what error messages or problems they may encounter.”

Subject: RE: Lock document WEB

I think you’ll have to write yur own form of record locking

As it’s on the web it would have to be something like this

When the document is first created & saved, it gets a field call editable set to TRUE

Now, when it’s opened again in edit miode, if editable=TRUE you can show the edit button

clicking the edit button puts the documentin edit mode

You also need to set up an agent in the WQO that checks the URL to see if it contains ?edit, and then checks the editbale field to make sure that it’s TRUE

If i is TRUE and you’re now in edit mode you need to set editable=FALSE, and save the document

Now, when a document in edit mode is saved via a button from the browser, once again you reset editable to TRUE

OK, the final step is another check in the edit button, so that the agent it calls checks at that point to make sure it’s OK to carry on with the edit, just in case two people open it at the same time and one hits edit first

I think that’s everything! :sunglasses: