Microsoft Content Management Server - Placeholder Datasource Content Cached?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > February 2006 > Placeholder Datasource Content Cached?





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 Placeholder Datasource Content Cached?
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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com