Microsoft KB Archive/835247

From BetaArchive Wiki
Knowledge Base


No layout styles are available for displaying file content in MCMS 2002 Connector for SharePoint Technologies

Article ID: 835247

Article Last Modified on 2/4/2004



APPLIES TO

  • Microsoft Content Management Server 2002 Connector for SharePoint Technologies




SYMPTOMS

When you try to select a display layout style so that you can display the contents of a file, (None) is the only style that is available. Typically, you see several options that you can select from, such as Microsoft Office WordML documents.

This problem may occur when all the following conditions are true:

  • You try to select the display layout style of a SharePointPlaceholder document.
  • The template that the posting uses is using an XML catalog file.
  • In the XML catalog file, the FileExt module specifies values for both the SpecificWebUrl property and the SpecificLibrary property.

For an example of the XML catalog file, see the "More Information" section.

CAUSE

This problem occurs when the original document that is attached to the SharePointPlaceholder control has been deleted from the Windows SharePoint Storage (WSS) document folder.

WORKAROUND

To work around this problem, do either of the following:

  • Remove the SpecificWebUrl property and the SpecificLibrary property from the first FileExt field in the XML catalog file.
  • Move both the SpecificWebUrl property and the SpecificLibrary property to the second FileExt field in the XML catalog file.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

The following is a sample XML catalog file:

<?xml version="1.0" standalone="yes" ?>
<templateCatalog>
  <type FileExt="*" SpecificWebUrl="http://<server_name>/" SpecificLibrary="<Lib_Name>" >
    <template name="(none)" >
      <description>Renders the image item inline specifically in this library.</description>
      <url></url>
      <sampleRenderingUrl></sampleRenderingUrl>
    </template>        
  </type>
  <type FileExt="contentxml"  >
    <template name="(None)" >
      <description>Do not display the contents of the document inline.</description>
      <url></url>
      <sampleRenderingUrl></sampleRenderingUrl>
    </template>        
    <template name="Case Study Microsoft Office InfoPath forms" >
      <description>Display the contents of a Case Study Microsoft Office InfoPath form inline.</description>
      <url>C:\Program Files\Microsoft Content Management Server\Server\IIS_CMS\WssIntegration\Dialogs\WssDocumentFinder\TemplateCatalog\CaseStudyContent.xsl</url>
      <sampleRenderingUrl>/MCMS/cms/WssIntegration/Dialogs/WssDocumentFinder/TemplateCatalog/SampleCaseStudyContent.xml</sampleRenderingUrl>
    </template> 
    <template name="Microsoft Office WordML documents" >
      <description>Display the contents of a Microsoft Office WordML document inline.</description>
      <url>C:\Program Files\Microsoft Content Management Server\Server\IIS_CMS\WssIntegration\Dialogs\WssDocumentFinder\TemplateCatalog\WordNetHtml.xsl</url>
      <sampleRenderingUrl>/MCMS/cms/WssIntegration/Dialogs/WssDocumentFinder/TemplateCatalog/SampleWordNetHtml.xml</sampleRenderingUrl>
    </template>        
  </type>   
</templateCatalog>

REFERENCES

For additional information about MCMS 2002 Connector for SharePoint Technologies, click the following article number to view the article in the Microsoft Knowledge Base:

835323 Known issues with Microsoft Content Management Server 2002 Connector for SharePoint Technologies



Additional query words: CMS SPS integration display layout

Keywords: kbprb KB835247