Here is an RQL that allows you to lock a SmartTree page segment. I
think that a user can only live on one of these at a time.

<TREESEGMENT type=\"page\" action=\"lock\" guid=\"" + page_guid + "\"
parentguid=\"" + parent_link_guid + "\" userguid=\"" + user_guid + "\"
languagevariantid=\"ENU\"/>

So you would first determine the user who has the segment locked that
you want to access, then you use the above to change the segment that
user has a lock on (so that the segment you want to access becomes
free).....

Something else that may be related are the files in the CMS\ASP folder
that are named like this:

LockControl6DD87A305D6047BE964705263982FC79.rdcms



On Oct 7, 12:39 pm, Fej Reblok <[email protected]> wrote:
> Hi there,
>
> I've tried to find this by reading the logs but I must be missing
> something.  I need to enhance some plugins such that they lock pages
> when someone starts editing  and unlock when they are done, and  if a
> user tries to edit a locked page,  tell them that the page is
> currently being edited by some other user, just like how Red Dot does
> this - only I need to do it in a plug-in based editor.
>
> I am able to see if a page is locked by seeing the attributes coming
> back from a page load action but I cannot see how I can set a page as
> locked or unlocked.  Does anyone have the RQL for this?
>
> Thanks.
>
> fej
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to