| Stefan [MSFT] 2006-10-23, 7:15 am |
| Hi,
please see me parallel response to your other post.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"SWilson" <steve.wilson@wamu.net> wrote in message
news:1161399704.498630.308660@k70g2000cwa.googlegroups.com...
>I am trying to find a quick way to add a posting to either
> PostingCollection or the ChannelItemCollection. I have seen some code
> samples that add collections to collections but nothing in detail on
> how to add one posting. Has anyone done this that can share some code
> samples.
>
> Here is some code I am working on now.
>
> CmsHttpContext cmsContext = CmsHttpContext.Current;
> PostingCollection postings2 =
> cmsContext.Searches.GetByPath("PostingPath");
>
> from here I would like to add the posting it to the Posting or
> ChannelItem collection so I can pick it up later.
>
|