// you’re reading...


Editing draft pages by other users in SmartEdit

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!

Share and Enjoy:
  • Print
  • email
  • Twitter
  • Digg
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • del.icio.us
  • MisterWong
  • Facebook
  • LinkedIn

No related posts.

About the author:

Frederic Hemberger Frederic Hemberger lives in Cologne, Germany where he works as a technical consultant and senior RedDot developer. After years of studying the ancient and mysterious ways of content management, he acquired the black belt of RedDot-fu. After teaching many students in the weird ways of the Dot, he retreated to the old misty mountains to meditate. Legends tell that he finally reached the mysterious state of IoRangeNoRedDotMode.


8 comments for “Editing draft pages by other users in SmartEdit”

  1. 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?

    Posted by Andreas B. | September 21, 2009, 1:41 pm
  2. 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.

    Posted by Frederic Hemberger | September 21, 2009, 2:07 pm
  3. 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.

    Posted by Chris | November 12, 2009, 11:34 pm
  4. 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.

    Posted by Frederic Hemberger | November 18, 2009, 8:01 am
  5. FYI the RQL is pretty simple for this also:

    (fill in the {variables} where needed).

    Posted by wes | December 17, 2009, 11:22 pm
  6. whoops, XML filter… try again:

    [IODATA loginguid="{LOGIN_GUID}" sessionkey="{SESSION_KEY}"]
    [PAGE guid="{PAGE_GUID}"]
    [USER action="save" guid="{USER_GUID}" /]

    bbcode style.

    Posted by wes | December 17, 2009, 11:23 pm
  7. 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?

    Posted by Paul | February 2, 2010, 7:10 am
  8. 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

    Posted by Frederic Hemberger | February 12, 2010, 5:28 pm

Post a comment

Stay up to date! - Get notified about followup comments

If you don't feel the urge to comment but wish to stay in the loop:
Just enter your email and subscribe to new comments.

Subscribe without commenting

Recent Tweets

  • RT @AirKraft: Transport Canada breakout: they manage 80K pages and 300K assets with WSM(RedDot). Wow! #OTCW 2010-11-11
  • The RedDot usergroup session 'Future of WCM' is in National Harbor 7, now. See you there! #otcw 2010-11-11
  • RT @yttergren: @AirKraft: Calling all WSM(RedDot) devs: share your solutions on http://bit.ly/bgPIof EVERY solution can win an iPad #OTCW 2010-11-10
  • Come to the Solution Exchange session. Enhance your (#reddot) CMS project! Chesapeake 12, 3:20pm #otcw Looking forward to see you there! 2010-11-10
  • More updates...