|
Home > Archive > Microsoft Content Management Server > June 2005 > Setting page status programmatically
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 |
Setting page status programmatically
|
|
| elora_c@yahoo.com 2005-05-31, 8:50 pm |
|
I need to programmatically set the status of all postings to
"WaitingForEditorApproval." These postings were copied over from one
channel and are in the "Saved" state. The tool is being run by a user
with full rights to the channel, so if I call "Submit()" it ends up as
"Published." Is there a way to force the posting to stay at
"WaitingForEditorApproval"? After copying the postings over to the new
area, we want the individual editors responsible for the new area to
manually approve each posting.
Thanks,
Carole
| |
| Chester Ragel 2005-06-01, 2:48 am |
| Hi Carole,
No way that you can manually set the state of a posting. According to the
rights given to the channel and users right, the posting will get the new
state after submission or approval. Is that user is an administrator?
Anyway, if you have editor to that channel where the posting exist, then the
state must be waiting for editor approval. For more info check
http://msdn.microsoft.com/library/d...ting_Submit.asp
Cheers,
Chester
<elora_c@yahoo.com> wrote in message
news:1117560854.663013.61080@f14g2000cwb.googlegroups.com...
>
> I need to programmatically set the status of all postings to
> "WaitingForEditorApproval." These postings were copied over from one
> channel and are in the "Saved" state. The tool is being run by a user
> with full rights to the channel, so if I call "Submit()" it ends up as
> "Published." Is there a way to force the posting to stay at
> "WaitingForEditorApproval"? After copying the postings over to the new
> area, we want the individual editors responsible for the new area to
> manually approve each posting.
>
> Thanks,
> Carole
>
| |
| Angus Logan [MVP] 2005-06-01, 7:47 am |
| Hi Carole,
Is there an editor assigned to the channel?
If you call the Submit() method and there is an editor the posting should go
to 'WaitingForEditorApproval' status.
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
<elora_c@yahoo.com> wrote in message
news:1117560854.663013.61080@f14g2000cwb.googlegroups.com...
>
> I need to programmatically set the status of all postings to
> "WaitingForEditorApproval." These postings were copied over from one
> channel and are in the "Saved" state. The tool is being run by a user
> with full rights to the channel, so if I call "Submit()" it ends up as
> "Published." Is there a way to force the posting to stay at
> "WaitingForEditorApproval"? After copying the postings over to the new
> area, we want the individual editors responsible for the new area to
> manually approve each posting.
>
> Thanks,
> Carole
>
|
|
|
|
|