|
Home > Archive > Microsoft Content Management Server > November 2004 > Auto-Approve Expired Posting in Channel CMS 2001
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 |
Auto-Approve Expired Posting in Channel CMS 2001
|
|
| Jennifer F. 2004-11-04, 8:46 pm |
| Hello,
I was wondering if anyone knows if it is possible to write a script that
approves an expired posting/page in a channel/folder in CMS 2001?
I have postings expire and move to another folder, and I need to somehow
write a script to tell those postings in the new folder to approve after they
move so that they can be viewed without anyone manually having to approve
them.
I have been thinking over this issue and I can't think of a way to do this.
Any guidance would be greatly appreciated!
Thanks!
Jennifer
| |
| Stefan [MSFT] 2004-11-05, 2:46 am |
| Hi Jennifer,
just use the script that moved the posting and do a posting.Approve() call.
This will do the job.
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
--------------------------------
"Jennifer F." <Jennifer F.@discussions.microsoft.com> wrote in message
news:B8056468-BD95-432A-9B96-07F8BAFC6696@microsoft.com...
> Hello,
>
> I was wondering if anyone knows if it is possible to write a script that
> approves an expired posting/page in a channel/folder in CMS 2001?
>
> I have postings expire and move to another folder, and I need to somehow
> write a script to tell those postings in the new folder to approve after
they
> move so that they can be viewed without anyone manually having to approve
> them.
>
> I have been thinking over this issue and I can't think of a way to do
this.
>
> Any guidance would be greatly appreciated!
>
> Thanks!
> Jennifer
| |
|
| Thanks for your reply.
The script to move the page/posting is automatically done
in CMS 2001. Is there anywhere else I could insert that
call? I am not sure what could trigger it since the expire
and move feature is automated.
>-----Original Message-----
>Hi Jennifer,
>
>just use the script that moved the posting and do a
posting.Approve() call.
>This will do the job.
>
>Cheers,
>Stefan.
>
>--=20
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>MCMS FAQ:
>http://download.microsoft.com/downl...-4003-9272-240=
4e92bb76a/MCMS+2002+-+(complete)+FAQ.htm
>MCMS Blog:
http://blogs.msdn.com/stefan_gossner/category/4983.aspx
>MCMS Sample Code:
>http://www.gotdotnet.com/community/...x?ProductDropD=
ownList=3DContent+Management+Server[vbco
l=seagreen]
>MCMS Whitepapers and other docs:
>http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
>--------------------------------
>
>
>"Jennifer F." <Jennifer F.@discussions.microsoft.com>[/vbcol]
wrote in message
>news:B8056468-BD95-432A-9B96-07F8BAFC6696@microsoft.com...
write a script that[vbcol=seagreen]
CMS 2001?[vbcol=seagreen]
need to somehow[vbcol=seagreen]
to approve after[vbcol=seagreen]
>they
having to approve[vbcol=seagreen]
of a way to do[vbcol=seagreen]
>this.
>
>
>.
>
| |
|
|
|
|
|