Content Source Creation

Create a content source that points to the external data. When saving it, do not start creating an index.

Propagation of custom metadata is dependent on the creation of and/or modifications to two entries in the workspace: a content source and a site path rule.

To create a content source:

  1. Open the Management folder, and then open the Content Sources folder.
  2. Double-click Add Content Source.
  3. The Add Content Source Wizard opens. Follow the on-screen instructions to complete the wizard. Do not begin creating or updating an index of the data.

SharePoint Portal Server places the new content source in the Content Sources folder. SharePoint Portal Server includes the information available from the source in the index. After it is included, this information is available for users to search for and view on the dashboard site.

You can modify an existing content source that you created with the SharePoint Portal Server client user interface, or you can create a content source programmatically by using PKMCDO. In either case, you must add the following four properties to the content source:

  • An array containing the names of the properties to be read from the source documents.
  • An array containing the source data types of those properties.
  • An array containing the names of the properties into which the source metadata is stored in the index.
  • The document profile that is attributed to the documents found at the content source.

You must add these four properties programmatically. No user interface exists for creating or editing these properties other than for Lotus Notes content sources.

You must create a site path rule that corresponds to this content source. The site path rule should have the same starting address as the content source. In addition, you must programmatically modify the rule so that it contains the following two properties (the included script code does this):

  • A reference to the target document profile that is attributed to the documents found through this site path. This reference must be to the same document profile you applied to the content source.
  • A URL reference to the content source. The site path rule retrieves its property mapping instructions from the content source entry.


Microsoft Sharepoint Portal Server 2001 Resource Kit
Microsoft SharePoint(TM) Portal Server 2001 Resource Kit (Examples & Explanations Series)
ISBN: 0735615624
EAN: 2147483647
Year: 2001
Pages: 231

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net