| Robert ap Rhys 2006-02-22, 7:48 am |
| I am supporting an MSCMS web site that is working well. However, I need to
piggy-back a different system from some of the content entered by my
editors. To that end, I have developed a web service to extract content from
some of the placeholders in the CMS.
However, if I edit content then save and approve, the page is marked as
Published and displays as I expect on the live site, but my web service is
still returning 'old' content. Is it being cached somewhere, or am I doing
something wrong?
FWIW, the code I'm using goes something like this:
Dim SectionPostingsChannel As
Microsoft.ContentManagement.Publishing.Channel = <...Get the channel...>
For Each SectionProductChannel As
Microsoft.ContentManagement.Publishing.Channel In
SectionPostingsChannel.Channels
For Each SectionPosting As
Microsoft.ContentManagement.Publishing.Posting In
SectionProductChannel.Postings
Dim SectionContent As String =
SectionPosting.Placeholders(CreatePlaceHolderName _
(SectionPosting.DisplayName)).Datasource.RawContent
TIA
Robert
|