|
Home > Archive > Microsoft Content Management Server > October 2004 > How to access channel managers through programing?
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 |
How to access channel managers through programing?
|
|
|
| Hi, there:
I want to access the channel managers( or all administrators) for a
specific channel ( or a posting ). Can I do that through program? Thanks!
| |
|
|
|
|
|
|
|
|
|
|
|
|
| Stefan [MSFT] 2004-10-26, 5:48 pm |
| Hi,
Although administrators can act in any other role they usually do
administrative tasks.
They would be bothered about emails that they should approve something if
they are not part of the real workflow.
And there is no way to restrict an administrator not to have this right!
To avoid this the administrator will not automatically be returned in the
approvers list if he has not been added to the actual approver list.
There is no supported way to get such a list.
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
--------------------------------
"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:C5B22C5B-5646-42A5-9287-FE25AC9ABF1E@microsoft.com...
> Hi, there are two problems: I seem to have a very long list of
admistrators.
> So adding each one to editors( or even moderstors) seems not good,
especially[vbcol=seagreen]
> administrators already have any right anybody wants.
> Two: I wonder what happened when the page is published, what will the
> posting.approvers contain.
> Correct me if I'm wrong, the status of posting vs that values
> posting.approvers have
>
> Status: posting.approvers:
> Change is submitted --------- Editors for the posting
> Editor approve posting---------Moderators for the posting
> Moderators approve ---------Administrators or nothing?
>
> Is there any way to find a collection of CMS users, other than
> posting.Approvers?
> Maybe I'll have to go through each user to check CanCreateChannel,
> CanApprove properties.
> All that I'm trying to is to find appropriate person to notify when a page
> is changed
> in this way or that. Thank you very much.
>
>
>
> "Stefan [MSFT]" wrote:
>
rights.[vbcol=seagreen]
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm[vbcol=seagreen]
http://www.gotdotnet.com/community/...t+S
erver[vbcol=seagreen]
the[vbcol=seagreen]
A as[vbcol=seagreen]
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm[vbcol=seagreen]
http://www.gotdotnet.com/community/...t+S
erver[vbcol=seagreen]
all[vbcol=seagreen]
and[vbcol=seagreen]
group[vbcol=seagreen]
no[vbcol=seagreen]
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm[vbcol=seagreen]
http://blogs.msdn.com/stefan_gossner/category/4983.aspx[vbcol=seagreen]
http://www.gotdotnet.com/community/...t+S
erver[vbcol=seagreen]
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx[vbcol=seagreen]
administrators)[vbcol=seagreen]
program?[vbcol=seagreen]
| |
|
|
|
|
|
|
|
|
|
| Thanks for the reply! I have a few more questions regarding the posting events:
1. When a change is declined, the page is in *** Declined state, will
posting.LastModifiedBy always be the author who originally sumitted the
change?
2. When a page is edited, moved or deleted, the change won't affect anybody
until it's submitted. It looks like notification should only be sent when all
the above changes are submitted. So... in the CmsPosting_Submitted handler,
is there any way to get the type of change ( like edit, move, delete ) and
the responding info ( like moved to where )?
Thanks, and sorry for the lengthy question.
| |
| Stefan [MSFT] 2004-10-27, 7:46 am |
| Hi,
1) not necessarily. If the editor modified the content before clicking
decline the editor will be the one listed in LastModifiedBy.
2) edit: yes. move, delete: no.
Move and Delete do not require a submit they get active the same moment
(move will require moderator approval if moderators are assigned).
As no submit is done for these actions there is no way to catch the move and
delete in this event handler.
To catch these events hook onto CmsPosting_Changing or CmsPosting_Changed
event handers.
Here you are able to identify the action by checking e.Action.
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
--------------------------------
"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:3362698F-5D62-44D2-98EF-7E7E1E91067D@microsoft.com...
> Thanks for the reply! I have a few more questions regarding the posting
events:
>
> 1. When a change is declined, the page is in *** Declined state, will
> posting.LastModifiedBy always be the author who originally sumitted the
> change?
>
> 2. When a page is edited, moved or deleted, the change won't affect
anybody
> until it's submitted. It looks like notification should only be sent when
all
> the above changes are submitted. So... in the CmsPosting_Submitted
handler,
> is there any way to get the type of change ( like edit, move, delete ) and
> the responding info ( like moved to where )?
>
> Thanks, and sorry for the lengthy question.
|
|
|
|
|