Your colleague is on holiday and forgot to release a press release you urgently need? You have to work on a text with multiple authors which shouldn’t get released or published by accident?
Here is a simple trick to make it possible – just add a link to an ioRedDotMode section of your template (you can use a popup window as well):
<a href="/cms/rdDialogAssignChangeUser.asp?Action=" target="popup">Change User</a>
This will give editors access to a built-in function to reassign the current editing user of a page, which is usually only available in SmartTree.
Use this at your own risk and use it wisely: There is a reason why it was originally built that way. Pulling a page out from under an editor while he is still editing that very page might cause data loss and a lot of swearing in your office. Let the edit-wars begin!
No related posts.
This sounds interesting and could be very helpful provided that this works for new pages as well. But I wonder how because you don’t see new pages saved as draft by another user in SmartEdit so you couldn’t access the link, could you?
That’s right, you can’t see new pages created by other users, even with this little trick. But you can create a page and pass it to another user.
Would there be any way to hide this link with authorizations? I’d only like my power users to change the user of a page, but my power users don’t have access to SmartTree.
Hmm. If you have just a limited amount of power users, you might try to read the username from the session and wrap the link with an if-statement in asp. But there is no Open Text out-of-the-box feature, which limits the visibility of the link.
FYI the RQL is pretty simple for this also:
(fill in the {variables} where needed).
whoops, XML filter… try again:
[IODATA loginguid="{LOGIN_GUID}" sessionkey="{SESSION_KEY}"]
[PAGE guid="{PAGE_GUID}"]
[CHANGE]
[USER action="save" guid="{USER_GUID}" /]
[/CHANGE]
[/PAGE]
[/IODATA]
bbcode style.
Hi Frederic, it only seems to work for an author of the changes, ie, only the author can transfer the ownership to other user, is that right?
Hi Paul,
this should work for other users as well, but I didn’t had the time to test it in detail with different user roles. I was asked for a quick and dirty hack by mail, so I delivered.
If you need a more stable version, you should go for the RQL solution with a little plugin (best would be a dedicated RQL user):
- Get the project GUID from the session
- Get users for this project
- Assign a user like wes already posted above