09-23-04 02:47 AM
Hi Kevin,
See
http://groups.google.com/groups?hl=...&rn
um=1
The gist of it is:
"these items are only accessable in a context that is in Unpublished mode.
No way to access them in Published mode."
An alternative solution is
"You can use the CMSApplicationContext class. Then you can
authenticate and specify the publishing mode you need.
Dim objAppContext as CmsApplicationContext = new
CmsApplicationContext()
objAppContext.AuthenticateAsCurrentUser
(PublishingMode.Unpublished)"
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Kelvin Wong" <kelvinwong@AGENDA-asia.com> wrote in message
news:#KoLcG#mEHA.3352@TK2MSFTNGP15.phx.gbl...
> Hi all,
>
> In live mode, is it possible to get the PostingCollection under a channel
> including the new pages (which is just saved and not approved and
> submitted)? As I know the PostingCollection will only include published
page
> in live mode.
>
> Thanks,
> Kelvin Wong
>
>
[ Post a follow-up to this message ]
|