Microsoft Content Management Server - Re: hi stefen ... how to retrive posted data

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > Re: hi stefen ... how to retrive posted data





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 Re: hi stefen ... how to retrive posted data
Stefan [MSFT]

2004-11-25, 5:49 pm

Hi Eswar,

use the Searches object to get the posting and then extract the content from
the placeholders collection of this posting.

E.g.:

Posting p =
CmsHttpContext.Current.Searches.GetByPath("/Channels/MyChannel/MyPosting")
as Posting;
HtmlPlaceholder htmlPh = ((HtmlPlaceholder)(p.Placeholders["htmlPh"]));
string content = htmlPh.Html;

Cheers,
Stefan.


"eswar" <iteswar@gmail.com> wrote in message
news:63d0c60.0411242329.5e0cbd44@posting.google.com...
> hi Stefen
>
> thank u very much for ur reply.
>
> What i understood
> 1) MCMS aspx page acts as a seat for placeholder controls.
> 2) using MCMS aspx pages v can post and publish content ... is
> correct?
> if iam correct
> how to access to this content saved?
>
> i know the data is stored in MCMS database (DCA).
> i would like to know where exactly this data is going to be stored and
> retrive this when ever i require it.
>
> one more fevour stefen
>
> can i have simple MCMS web project apart from Woodgrove projects
>
> how to work with SingleImagePlaceHolder Control.
>
>
> Can i have ur personal email id ?
> my personal email id is iteswar@gmail.com
>
> Thanking you very much in advance again.
>
> Waiting for ur reply.
>
> ESWAR
>
>
>
>
>
> iteswar@gmail.com (eswar) wrote in message

news:<63d0c60.0411240019.2ae9b2ad@posting.google.com>...[vbcol=seagreen]


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com