Code Project Code Samples
Updated: March 28th 2005.
Various samples from www.codeproject.com.
MCMS Manager by Chester Ragel
In Microsoft Content Management Server (MCMS) after the creation of the sites,
to do modification to the postings there were no common way to do so. As a
developer I thought there must be a tool which can be used to maintain the
sites easily. Mostly when something goes wrong with postings, it is not that
easy to figure out what went wrong with neither Site Manager nor going through
the site.
MCMS Placeholder Content Web Part by Stephen Huen
This Web Part displays content from a Content Management Server (MCMS)
page placeholder in a Windows SharePoint Services (WSS) site or a
SharePoint Portal Server (SPS) site. No actual placeholder content is
stored in the web part. If the placeholder is updated with new content
in the MCMS site, the web part will automatically show the new content
in the WSS site.
MCMS Search Controls by Stephen Huen
Also available in VB.NET
Gives Content Management Server web sites search capability using SharePoint
Portal Server as the search engine.
Custom Properties Placeholder by Stephen Huen
For use in Microsoft Content Management Server, this is a placeholder control that
allows authors to edit Posting Custom Properties directly in the page. In authoring
mode, Custom Properties are rendered in textboxes or listboxes for users to enter
values. In unpublished non-preview mode, Custom Properties are rendered in text
values. In published or preview mode, nothing will be rendered.
Site Map control by Stephen Huen
Also in available in VB.NET
For use in Microsoft Content Management Server, this Site Map web control displays
channel structure in a hierarchical tree that is expandable and collapsible when
viewed in a IE4+ or NS6+ browser. When viewed in NS4, the tree is fully expanded.
The starting channel is configurable so you can have multiple instances of the
control in one page rendering different portions of a site if so desired.
MCMS Crawl Page for Search by Stephen Huen
This simple crawl page provides a start page for search engine to crawl a Content Management Server (MCMS) web site.
Latest Postings RSS by Stephen Huen
Also available in VB.NET
An RSS feed to generate the latest postings for a Microsoft Content Management Server web site.
Create/Delete Channel Web Author plugins by Stephen Huen
Also available in VB.NET
For use in Microsoft Content Management Server, this set of plugins (written in VB)
allows Administrators and Channel Managers to create and delete Channels using the
Web Author. The Delete Channel option will only show up when the current channel
is empty.
Thumbnail Images Placeholder by Stephen Huen
Also available in VB.NET
For use in Microsoft Content Management Server, this is a XML placeholder control
that displays thumbnail of images in a Resource Gallery. In authoring mode, authors
specify which resource gallery to generate image thumbnails, thumbnail size, number
of thumbnails to be displayed in one table row and sorting order. In presentation
mode, all images in the Resource Gallery specified will be rendered as thumbnails
with link to the full size images. Practical application includes showing images
of an event for example.
Decline Reason Extension(C#) by Stephen Huen
Also available in VB.NET
For use in Microsoft Content Management Server, this Decline Reason Web Author
extension prompts authors to enter reason when declining postings. It works in
both single posting decline in the Web Author menu and multiple posting declines
in the Approval Assistant dialog. The reason entered can be collected using
Request.Form("NC_DeclineReason") within events CmsPosting_Declining and
CmsPosting_Declined in global.asax and be used for email notification
(code sample not included).
Quick editor for MCMS Postings by Rooc
Sometimes when you're working with MCMS you quickly want to navigate through the
channels and/or edit a Postings Placeholders RawContent. The CustomEdit aspx
page enablels this.
Web Author Dynamic Console by Stephen Huen
This collection of files creates a dynamic Web Author console for use in Microsoft
Content Management Server. This dynamic console does not take up space in your web
page. Authors click on an icon to expand or collapse the console. It contains 4
different themes (even a matrix theme!) for different look and feel. Users can
design their own theme by customizing the included stylesheet.
|