Content Integration Platformのデフォルトのマッピング・フレームワークにより、選択したサイト上のSharePointライブラリからのパブリッシュが可能になります。
この章は、次の項で構成されています。
Content Integration Platformのデフォルトのマッピング・フレームワークにより、デフォルトのSharePoint構造(Document
、Folder
およびPicture
コンテンツ・タイプと、File Size
、contentAttr
、contentURL
、Date Picture Taken
、Description
、Keywords
、Picture Height
およびPicture Width
属性)に基づいているかぎり、選択したサイト上のSharePointライブラリからパブリッシュ可能なコンテンツをパブリッシュできます。
マッピング・フレームワークでは次のデフォルトのコンポーネントが提供されます。
SharePoint
フレックス・ファミリ。前述のコンテンツ・タイプと属性に一致するよう事前構成されています。
mappings.xml
ファイル。このファイル内で(前述の)コンテンツ・タイプと属性がSharePoint
フレックス・ファミリのアセットにマップされます。
Folder
タイプは、sp_folder
という名前のフレックス親定義アセットにマップされます。
Document
タイプは、sp_document
という名前のフレックス定義アセットにマップされます。
Picture
タイプは、sp_picture
という名前のフレックス定義アセットにマップされます。
属性は、SharePoint Attribute
タイプのフレックス・アセットにマップされます。
マッピングは第61.2項「デフォルトのmappings.xml」のmappings.xml
でコード化されます。表61-1「SharePointのデフォルト・データとフレックス・ファミリの対応データ」で概要を確認してください。
マッピングを確立したら、Folder
タイプのフォルダ(およびそのコンテンツ)は次のようにパブリッシュ可能になります。
フォルダはフレックス親アセットとしてSharePoint Folder
アセット・タイプにパブリッシュされます。
ドキュメントと画像はフレックス・アセットとしてSharePoint Document
アセット・タイプにパブリッシュされます。
パブリッシュ時、Content Integration Platformはmappings.xml
ファイルを参照して、パブリッシュするコンテンツのタイプ(sp folder
、sp document
およびsp picture
)を特定します。publish
コマンドで指定されたフォルダがパブリケーション・プロセスの開始ポイントになります。フォルダは、それに含まれるすべてのサブフォルダ、ドキュメントおよび画像とともに、SharePoint Folder
タイプのフレックス親アセットとしてパブリッシュされます。
フォルダの構造(サブフォルダ、ドキュメントおよび画像)を再現するために、Content Integration Platformはパス情報を参照します。
サブフォルダが存在する場合、Content Integration Platformは対応するSharePoint Folder
アセットを連鎖させて階層を再現します。
SharePoint Document
アセットとして処理されるドキュメントは、対応するSharePoint Folder
親アセットの下に配置されます。
SharePoint Picture
アセットとして処理される画像は、対応するSharePoint Folder
親アセットの下に配置されます。
図61-1 WebCenter SitesのSharePointフレックス・ファミリへのドキュメント・タイプのマップ
図61-2 WebCenter SitesのSharePointフレックス・ファミリへのドキュメント・タイプのマップ
注意: Pictureコンテンツ・タイプは、Documentコンテンツ・タイプと同様にマップされます。
詳細は、第61.2項「デフォルトのmappings.xml」を参照してください。 |
デフォルトのmappings.xml
ファイルはContent Integration Agentにあり、SharePointスキーマをWebCenter SitesのSharePoint
フレックス・ファミリにマップします。マッピングは、次のコードに示すようにIDで一意に識別されます。<assettype-mapping>
および<descriptor-mapping>
タグのパラメータは、第58.2.2.1項「Microsoft SharePointデータをOracle WebCenter Sitesにマップするためのタグおよびパラメータ」に定義されています。
<mappings> <!-- MS SharePoint to CS --> <mapping id="sharepoint2cs"> <assettype-mapping sourceid="Item" targetid="" id="sp_item"> <descriptor-mapping sourceid="Title" targetid="title" /> </assettype-mapping> <assettype-mapping sourceid="Document" targetid="SharePoint_Document;sp_document" id="sp_document" extends="sp_item"> <descriptor-mapping sourceid="File Size" targetid="file_size" /> <descriptor-mapping sourceid="contentAttr" targetid="file" type="static" /> <descriptor-mapping sourceid="contentURL" targetid="contentURL" type="dynamic" /> </assettype-mapping> <assettype-mapping sourceid="Folder" targetid="SharePoint_Folder;sp_folder" id="sp_folder" extends="sp_item" /> <assettype-mapping sourceid="Picture" targetid="SharePoint_Document;sp_picture" id="sp_picture" extends="sp_document"> <descriptor-mapping sourceid="Date Picture Taken" targetid="date_taken" /> <descriptor-mapping sourceid="Description" targetid="description" /> <descriptor-mapping sourceid="Keywords" targetid="keywords" /> <descriptor-mapping sourceid="Picture Height" targetid="picture_height" /> <descriptor-mapping sourceid="Picture Width" targetid="picture_width" /> </assettype-mapping> </mapping> </mappings>
表61-1「SharePointのデフォルト・データとフレックス・ファミリの対応データ」は、WebCenter SitesのSharePoint
フレックス・ファミリに対するSharePointスキーマのデフォルトのマッピングを要約したものです。カスタマイズ実装の場合は、フレックス・ファミリを再使用することも、独自に作成することもできます。
表61-1 SharePointのデフォルト・データとフレックス・ファミリの対応データ
データのタイプ | SharePointのデフォルト・データ | フレックス・アセット・タイプへのマップ | フレックス・ファミリ・メンバーへのマップ | 説明 | このタイプのアセットの作成者 |
---|---|---|---|---|---|
スキーマ |
属性 次の属性: ドキュメントの場合:
画像の場合:
|
SharePoint属性 次の属性インスタンスを格納: 脚注 1 ドキュメントの場合:
画像の場合:
|
フレックス属性 |
このフレックス・アセット・タイプはドキュメントおよび画像の属性を格納します。 |
WebCenter Sites管理者 |
スキーマ |
フォルダ・コンテンツ・タイプ
|
SharePoint親定義 次の親定義インスタンスを格納: 脚注 2
|
フレックス親定義 |
このフレックス・アセット・タイプは親定義インスタンスを格納します。 |
WebCenter Sites管理者 |
スキーマ |
ドキュメント・コンテンツ・タイプ
|
SharePoint子定義 次の子定義インスタンスを格納: 脚注 3
|
フレックス(子)定義 |
このフレックス・アセット・タイプは子定義インスタンスを格納します。 |
WebCenter Sites管理者 |
スキーマ |
画像コンテンツ・タイプ
|
SharePoint子定義 次の子定義インスタンスを格納: 脚注 4
|
|||
コンテンツ |
パブリッシュされたフォルダ
|
SharePointフォルダ フレックス親アセットを格納 (タイプ |
フレックス親 |
このフレックス・アセット・タイプはフォルダ・アセットを格納します。 |
Content Integration Platform |
コンテンツ |
パブリッシュされたドキュメント
パブリッシュされた画像
|
SharePointドキュメント フレックス(子)アセット(タイプ |
フレックス(子)アセット |
このフレックス・アセット・タイプはドキュメント・アセットおよび画像アセットを格納します。 例については、図61-1を参照してください。 |
Content Integration Platform |
脚注 1 「インスタンス」は「アセット」のことを意味します。「インスタンス」は、パブリッシュされたコンテンツ(アセット)とメタデータ(インスタンス)を区別するためにのみ使用されています。
脚注 2 「インスタンス」は「アセット」のことを意味します。「インスタンス」は、パブリッシュされたコンテンツ(アセット)とメタデータ(インスタンス)を区別するためにのみ使用されています。
脚注 3 「インスタンス」は「アセット」のことを意味します。「インスタンス」は、パブリッシュされたコンテンツ(アセット)とメタデータ(インスタンス)を区別するためにのみ使用されています。
脚注 4 「インスタンス」は「アセット」のことを意味します。「インスタンス」は、パブリッシュされたコンテンツ(アセット)とメタデータ(インスタンス)を区別するためにのみ使用されています。