Microsoft Content Management Server - Deleting a posting

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > Deleting a posting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Deleting a posting
Mei Ying [MVP]

2004-11-02, 8:46 pm

Hi

Moving the posting works. Just ensure that everyone who
needs to perform delete operations has at least authoring
rights on the channel. You may also want to store the
original path of the posting in a custom property value.
Unlike the deleted items bin in Site Manager, the posting
may still be accessible from the browser depending on the
user's rights.

Another option that you can consider is modifying the
behaviour of the Delete button on the Web Author Console.
It won't alter the global behaviour of deletes and it's
slightly easier to work into the solution.

p.s>items from site manager are deleted permanently when
you press shift+delete.

regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Contact: meiyinglim@hotmail.com
---
>-----Original Message-----
>When a posting is deleted from the site manager, it is

moved to the deleted
>items folder. But when the posting is deleted from the

authoring site, it is
>deleted permanently. Is there a way to prevent this

behavior. I am thinking
>of capturing the CmsPosting_deleting event and copy the

posting to
>predetermined channel, so the posting can be recovered if

someone accidently
>deletes it.
>Is this a good approach or someone has a better idea?
>
>Thanks in advance.
>
>.
>

Stefan [MSFT]

2004-11-03, 2:47 am

Hi,

Mei Yings approach with the modified console action would be the best
solution for this.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Mei Ying [MVP]" <anonymous@discussions.microsoft.com> wrote in message
news:308a01c4c14d$43712e70$a601280a@phx.gbl...[vbcol=seagreen]
> Hi
>
> Moving the posting works. Just ensure that everyone who
> needs to perform delete operations has at least authoring
> rights on the channel. You may also want to store the
> original path of the posting in a custom property value.
> Unlike the deleted items bin in Site Manager, the posting
> may still be accessible from the browser depending on the
> user's rights.
>
> Another option that you can consider is modifying the
> behaviour of the Delete button on the Web Author Console.
> It won't alter the global behaviour of deletes and it's
> slightly easier to work into the solution.
>
> p.s>items from site manager are deleted permanently when
> you press shift+delete.
>
> regards
> Mei Ying
> ---
> Blog: http://meiyinglim.blogspot.com
> Contact: meiyinglim@hotmail.com
> ---
> moved to the deleted
> authoring site, it is
> behavior. I am thinking
> posting to
> someone accidently


Dominik

2004-11-03, 5:49 pm

We use the console replacement approach Mei Ying wrote here, too. We wrote a
custom console extension that replaces the out-of-the-box delete page option.
We have a hidden Restore Channel where for every day there is a subchannel
created with name of the date. In this subfolders the pages are moved. So we
can very easily go to a certain date and restore a posting.
Because we didn't want to give authoring rights on these restore channels to
the users we use for this operation impersonating and perform this operation
under a generic channelmanager account. So we do not have to care if we
create new authors / editors groups that they have access to the restore
folder.

Cheers,
Dominik


"Mei Ying [MVP]" wrote:

> Hi
>
> Moving the posting works. Just ensure that everyone who
> needs to perform delete operations has at least authoring
> rights on the channel. You may also want to store the
> original path of the posting in a custom property value.
> Unlike the deleted items bin in Site Manager, the posting
> may still be accessible from the browser depending on the
> user's rights.
>
> Another option that you can consider is modifying the
> behaviour of the Delete button on the Web Author Console.
> It won't alter the global behaviour of deletes and it's
> slightly easier to work into the solution.
>
> p.s>items from site manager are deleted permanently when
> you press shift+delete.
>
> regards
> Mei Ying
> ---
> Blog: http://meiyinglim.blogspot.com
> Contact: meiyinglim@hotmail.com
> ---
> moved to the deleted
> authoring site, it is
> behavior. I am thinking
> posting to
> someone accidently
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com