15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If (iId > 0) Then<br />

strHTML = wsCms400WebService.ContentBlock(iId)<br />

Web Services<br />

The ContentBlock method retrieves the content block as an HTML<br />

string, so the result looks like this.<br />

If the user does not select a content block (which is true when the<br />

page first appears), the page uses the ListSummary method to<br />

display all blocks in the marketing/news folder using the List<br />

Summary format.<br />

Else<br />

strHTML =<br />

wsCms400WebService.ListSummary("\Marketing\News", 0, 1, "", "Title,asc",<br />

"DateModified", 0, "", "")<br />

The ListSummary method retrieves the content blocks as an HTML<br />

string, so the page looks like this.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 556

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!