Publishing SharePoint Document Library Documents within an MCMS Site
The last integration point Connector for SharePoint Technologies covers is publishing documents of a SharePoint (WSS or SPS) document library within an MCMS posting. The connector ships with a new placeholder definition and a new placeholder control: the SharePointDocumentPlaceholder
definition and the SharePointDocumentPlaceholderControl
. A developer can add a SharePointDocumentPlaceholder
definition to a template definition and a SharePointDocumentPlaceholderControl
to the template file to display files from a SharePoint document library.
The placeholder displays the documents in a list of the document names, linked to the actual document. If the file type is registered within Microsoft Windows Server, the Connector will generate the icon. Otherwise a default icon for the file type is generated by the Connector. You can also override the icon used for the file type by specifying a value in a stylesheet.
Presentation of the list is entirely customizable via XSLT stylesheets, which are used to transform the properties and contents of the documents in the SharePoint document libraries to HTML.
Refer to Chapter 6, Publishing Content Between MCMS and SharePoint, for more information on the SharePointDocumentPlaceholder
and SharePointDocumentPlaceholderControl
.