Microsoft Content Management Server - Adding a posting to the Posting Collection???

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2006 > Adding a posting to the Posting Collection???





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 Adding a posting to the Posting Collection???
SWilson

2006-10-21, 1:22 am

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.

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.
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com