Click here to Skip to main content
Licence 
First Posted 14 Mar 2005
Views 22,580
Bookmarked 13 times

Release Ownership in MCMS 2002

By | 14 Mar 2005 | Article
In MCMS 2002, releasing the ownership without changing the posting state.

Sample Image - releaseowner.jpg

Introduction

In Microsoft Content Management System 2002, if the state of the posting is not saved, after releasing the lock on a posting using the API, it will change the state back to Saved. Microsoft has stated this as a bug in the system. I had a situation in which I really needed to release the lock without the state change. At last I figured out an ugly way to achieve this.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

How It Works

It directly changes the owner of the posting in the database (ugly). Because it is a direct database change, the server cache must be cleared in SCA to see the changes. By passing the GUID of the posting, the relevant Node is taken from the database and the owner of the posting is changed.

Configuration

dataConfiguration.config file must be modified to point out the MCMS database name and server name.

<parameter name="database" value="mcmsdatabase" isSensitive="false" />
<parameter name="server" value="mcmsserver" isSensitive="false" />

Summary

Even though it works fine for me, please do check before using this. Because this is a direct database change, you must be very careful before using this.

N.B: Unfortunately, direct access to the MCMS database without using the MCMS publishing API breaks the Microsoft Support Boundaries for MCMS. So, if you are interested in using Microsoft Support, please don't use this.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Chester Ragel

Web Developer

Singapore Singapore

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 15 Mar 2005
Article Copyright 2005 by Chester Ragel
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid