01-19-07 06:16 PM
Hi SC,
then something seems to be wrong in your string operation.
Sorry but this is not a MCMS related question.
Cheers,
Stefan
"sc" <sonyacooley@vodafone.ie> wrote in message
news:1169209973.191907.301250@s34g2000cwa.googlegroups.com...
> Hi Stefan
>
> This line searches the entire MCMS repository for new Postings.
> PostingCollection groupofPostings = cmsContext.Searches.NewPostings(1);
>
> But I have channel below the root channel as a seperate website:
>
> I need to return the new Postings from ONLY SubChannelA AND ALL
> channels below SubChannelA
>
> I have an if statement that says:
> if(posting.StartDate >= DateTime.Now.Subtract(subtractDays)&&
> NumberOfLinks > intCounter &&
> posting.Path.StartsWith("/Channels/SubChannelA"))
>
> but this is only returning new Postings in the root of SubChannelA and
> not any of its subchannels.
>
[ Post a follow-up to this message ]
|