| Author |
How to Release an Ownership Lock?
|
|
| Ninerfan 2005-07-26, 7:56 am |
| Hi,
I have 10 pages that were edited by one author and submitted for approval.
They have not yet been approved.
Now the project has been given to a different author so he needs to work on
these files but they are still not ready to be approved.
How can I (as admin in Site Manager) or anyone else for that matter
explicitly release those locks so this other author can work on the postings?
Again we do NOT want to approve these pages yet. In fact it would be great
if I could pull them out of or cancel the workflow for them and also release
the locks.
This is pretty standard stuff in most CMS systems. How do I do it in MSCMS?
Thanks a bunch!
| |
|
| The Posting object has a ReleaseOwnership function that should take care of this problem for you. You can write some simple code the execute this function for the current postings in question (don't forget to commit the changes to the DB).
For the future, take a look at these console actions by Stefan that release the ownership of a posting each time it is saved. You can use them as new actions or replace the existing ones. They'll also make a good primer as to the code you need to write.
http://www.gotdotnet.com/Community/...D4-6D469BE34BC0
HTH.
- JR
> Hi,
>
> I have 10 pages that were edited by one author and submitted for
> approval.
> They have not yet been approved.
> Now the project has been given to a different author so he needs to
> work on
> these files but they are still not ready to be approved.
> How can I (as admin in Site Manager) or anyone else for that matter
> explicitly release those locks so this other author can work on the
> postings?
>
> Again we do NOT want to approve these pages yet. In fact it would be
> great if I could pull them out of or cancel the workflow for them and
> also release the locks.
>
> This is pretty standard stuff in most CMS systems. How do I do it in
> MSCMS?
>
> Thanks a bunch!
>
| |
| Ninerfan 2005-07-26, 7:56 am |
| Thanks JR this is just what I was looking for. ;-)
Hopefully next version of this product will have this feature included out
of box.
-Ninerfan
"JR" wrote:
> The Posting object has a ReleaseOwnership function that should take care of this problem for you. You can write some simple code the execute this function for the current postings in question (don't forget to commit the changes to the DB).
>
> For the future, take a look at these console actions by Stefan that release the ownership of a posting each time it is saved. You can use them as new actions or replace the existing ones. They'll also make a good primer as to the code you need to writ
e.
>
> http://www.gotdotnet.com/Community/...D4-6D469BE34BC0
>
> HTH.
>
> - JR
>
>
>
>
|
|
|
|