| Stefan [MSFT] 2006-08-23, 1:22 pm |
| Hi Hrvoje,
then you need to make them visible for your code.
This can be done using this:
CmsHttpContext.Current.SessionSettings.AutoFilterHidden = false;
Don't forget to change it back to true after your finished in your code as
this is a session property.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:%23fpEsaqwGHA.2204@TK2MSFTNGP03.phx.gbl...
> Hello again,
> I would like to ask for somewhat more help:
>
> I wanted to loop through all the postings in the channel and then do
> something with their placeholders:
>
> Dim kanal As Channel = CmsHttpContext.Current.Channel()
> Dim stranica As Posting
>
> For Each stranica In kanal.Postings
> 'blah blah
> Next
>
> It works but only with postings that are not hidden when published and I
> would need, in fact, the hidden postings.
> I tried
> kanal.Postings().FilterByHidden(True)
> but I haven't manage to access hidden postings....how to access them?
>
> Thanks in advance,
> Hrvoje
>
>
>
> "Becky VanBruggen" <BeckyVanBruggen@discussions.microsoft.com> wrote in
> message news:1E9A2D95-CBBE-4B82-8C78-3C2BC7CB2AA2@microsoft.com...
>
>
|