Set-SPEnterpriseSearchDCTMConnectorConfig
**适用于:**SharePoint Server 2013, SharePoint Server 2013 Enterprise
**上一次修改主题:**2015-03-09
Configures the Microsoft SharePoint 2013 Indexing Connector for Documentum.
语法
Set-SPEnterpriseSearchDCTMConnectorConfig -ACLTranslation <Nullable> -DisplayURLPatternForContainer <String> -DisplayURLPatternForDocument <String> -Shared <SwitchParameter> [-DFSURL <String>] [-PersistDCTMACL <Nullable>] [-UnmappedAccount <Nullable>] [-UserMappingTableDBName <String>] [-UserMappingTableName <String>] [-UserMappingTableSQLInstance <String>] [-UserMappingTableSQLServer <String>]
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository <SwitchParameter> -RepositoryName <String> [-ACLTranslation <Nullable>] [-DFSWebServiceURL <String[]>] [-DisplayURLPatternForContainer <String>] [-DisplayURLPatternForDocument <String>] [-IndexAllVersions <SwitchParameter>] [-PersistDCTMACL <Nullable>] [-UnmappedAccount <Nullable>]
Set-SPEnterpriseSearchDCTMConnectorConfig -Remove <SwitchParameter> -RepositoryName <String>
Detailed Description
Use this cmdlet to configure the Indexing Connector for Documentum.
重要说明: |
---|
Before you run the cmdlet, you may have to perform other procedures. Which procedures you must perform depends on which connector configuration mode you choose. For more information, see 在 SharePoint Server 2013 中配置和使用 Documentum 连接器. |
此 cmdlet 包含多个参数集。您可以只使用来自一个参数集的参数,也可以不合并来自不同参数集的参数。有关如何使用参数集的详细信息,请参阅 Cmdlet 参数集。
有关适用于 SharePoint 产品的 Windows PowerShell 的权限和最新信息,请参阅适用于 SharePoint Server 2016 的 Windows PowerShell 参考上的联机文档。
参数
Parameter | Required | Type | Description |
---|---|---|---|
ACLTranslation |
Required |
System.Nullable |
Specifies how the Documentum indexing connector processes security descriptors of the documents it crawls. It is an enumeration with four possible values: UserMappingTable : This is the default value. Documentum security descriptors will be translated to Windows security descriptors based on the mappings defined in a user mapping table in a database. There can be only one Documentum user mapping table per SharePoint farm, and multiple SharePoint farms can reference the same mapping table. The parameters UserMappingTableSQLServer , UserMappingTableSQLInstance , and UserMappingTableName must be set using the Shared parameter set if the Shared ACLTranslation type is UserMappingTable or if any repository's ACLTranslation type is UserMappingTable , even if the Shared ACLTranslation type is not UserMappingTable . The UnMappedAccount parameter is optional when ACLTranslation type is UserMappingTable . NoSecurity : Documentum security descriptors are ignored at crawl time. All documents from Documentum will be searchable by any SharePoint user. This option is intended to be used with a custom security trimming solution. SameAccountName : Permissions to a document are granted using the Documentum account name in the Windows domain. This setting is used when users have the same username for both Documentum and Windows domain accounts, such as a shared account in Active Directory. If a document's security descriptor contains an account name that is not an existing Windows account, that security entry is ignored. Claims : The Documentum security descriptor is encoded in a claims format. This is intended to be used with the Documentum custom security trimmer included with the indexing connector. The ACLTranslation parameter must be supplied when the Shared parameter set is used. If this setting has not been configured using the Shared parameter set, you must supply this parameter when you use the Repository parameter set. If this setting has been configured using the Shared parameter set, then this parameter is optional when using the Repository parameter set. A repository-specific setting overrides the Shared setting. |
DisplayURLPatternForContainer |
Required |
System.String |
This parameter sets the format of the display URL for Documentum folders and cabinets. The value of this parameter must be a valid URL. There are two placeholders that can be used in this URL: {ObjectId} - This placeholder will be replaced with the Documentum object ID. {RepositoryName} - This placeholder will be replaced with the Documentum repository name. The following example is an example of a folder or cabinet which would be accessible from a Documentum Webtop server named "MyWebtopServer" on port 20000: - DisplayURLPatternForContainer " http://MyWebtopServer:20000/webtop/drl/objectId/{ObjectId} " This parameter must be supplied when the Shared parameter set is used. If this setting has not been configured using the Shared parameter set, you must supply this parameter when you use the Repository parameter set. If this setting has been configured using the Shared parameter set, then this parameter is optional when using the Repository parameter set. A repository-specific setting overrides the Shared setting. |
DisplayURLPatternForDocument |
Required |
System.String |
This parameter sets the format of the display URL for Documentum documents. The value of this parameter must be a valid URL. There are three placeholders that can be used in this URL: {ObjectId} - This placeholder will be replaced with the Documentum object ID. {RepositoryName} - This placeholder will be replaced with the Documentum repository name. {Format} - This placeholder will be replaced by the MIME type of the attachment to the document. If there is no attachment, this will be replaced with an empty string. The following example is an example of a document which would be accessible from a Documentum Webtop server named "MyWebtopServer" on port 20000: - DisplayURLPatternForContainer " http://MyWebtopServer:20000/webtop/drl/objectId/{ObjectId}/format/{Format} " This parameter must be supplied when the Shared parameter set is used. If this setting has not been configured using the Shared parameter set, you must supply this parameter when you use the Repository parameter set. If this setting has been configured using the Shared parameter set, then this parameter is optional when using the Repository parameter set. A repository-specific setting overrides the Shared setting. |
Remove |
Required |
System.Management.Automation.SwitchParameter |
Mandatory switch parameter for the repository removal parameter set. |
Repository |
Required |
System.Management.Automation.SwitchParameter |
Mandatory switch parameter for the repository-specific configuration parameter set. |
RepositoryName |
Required |
System.String |
Supplies the repository name. This name is case sensitive and should match the Documentum repository name. This parameter must be supplied when using either the Repository or Remove parameter set. |
Shared |
Required |
System.Management.Automation.SwitchParameter |
Mandatory switch parameter for the shared configuration parameter set. |
DFSURL |
Optional |
System.String |
Specifies one or more DFS web service URLs for one or more repositories. The format of this parameter's value is a repository name followed by one or more DFS web service URLs, each separated with a single backslash. More than one repository can be specified by separating repositories by a double backslash. The following example specifies the DFS web service URLs of two repositories. Repository Alpha has one DFS web service URL and repository Beta has two: - DFSURL " Alpha\http://dfsAlpha:10000/services\\Beta\http://dfsBetaOne:10000/services\http://dfsBetaTwo:10000/services " This parameter may be used only with the Shared parameter set. |
DFSWebServiceURL |
Optional |
System.String[] |
Specifies the DFS web service URLs for the named repository. This parameter is part of the Repository parameter set. If the specified repository has no DFS web service URLs, you must supply this parameter with at least one DFS web service URL. If the specified repository has one or more DFS web service URL, this parameter is optional. |
IndexAllVersions |
Optional |
System.Management.Automation.SwitchParameter |
If this parameter is set to True , all versions of all documents for the named repository will be indexed instead of just the current version. You should specify this parameter only if you have a specific requirement to index all versions of a document. This parameter may be used only with the Repository parameter set. |
PersistDCTMACL |
Optional |
System.Nullable |
This parameter is obsolete and has no function. You should not use this parameter. |
UnmappedAccount |
Optional |
System.Nullable |
This parameter is used only when the ACLTranslation mode is set to UserMappingTable . This parameter sets the behavior when a Documentum account is not found in the user mapping table. It is an enumeration with two possible values: DiscardACE : This is the default value. The indexing connector for Documentum discards a Documentum account when no mapped Windows domain account is found. If there is any other mapped account for the document, the document will be crawled. If none of the Documentum accounts for a document can be mapped, the document will not be added to the search index and an error will be reported for this document in the crawl log. AssumeSameAccount : If a Documentum account does not have a mapping in the user mapping table, the connector will try to map the Documentum account to an account in the Windows domain with the same username. If no such account exists, the security entry will be ignored. This parameter may be used with both the Shared and Repository parameter sets. A repository specific setting overrides the Shared setting. |
UserMappingTableDBName |
Optional |
System.String |
Name of the SQL Server database which contains the user mapping table. This parameter may be used only with the Shared parameter set. |
UserMappingTableName |
Optional |
System.String |
Name of the user mapping table. This parameter may be used only with the Shared parameter set. |
UserMappingTableSQLInstance |
Optional |
System.String |
Name of the SQL Server instance that contains the user mapping table. This parameter may be used only with the Shared parameter set. |
UserMappingTableSQLServer |
Optional |
System.String |
Host name of the SQL Server that contains the user mapping table. This parameter may be used only with the Shared parameter set. |
Input Types
Return Types
示例
------------------EXAMPLE 1-----------------
Set-SPEnterpriseSearchDCTMConnectorConfig -Shared -ACLTranslation UserMappingTable -DisplayURLPatternForContainer "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&RepositoryName={RepositoryName}" -DisplayURLPatternForDocument "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&format={Format}&RepositoryName={RepositoryName}" -UnmappedAccount "DiscardACE" -UserMappingTableSQLServer "YourDatabaseServerName" -UserMappingTableSQLInstance "YourDatabaseInstanceName" -UserMappingTableDBName "YourMappingDatabaseName" -UserMappingTableName "YourMappingTableName"
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryOne" -DFSWebServiceURL @("http://DFSWebServices:30000/services", "http://DFSWebServices2:30000/services")
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryTwo" -DFSWebServiceURL @("http://DFSWebServices:30000/services")
This example configures the Indexing Connector for Documentum to index two repositories, RepositoryOne, and RepositoryTwo. The connector is configured to use a user mapping table, and common display URL patterns are set. The repositories and their respective DFS web service URLs are then added to the configuration.
------------------EXAMPLE 2-----------------
Set-SPEnterpriseSearchDCTMConnectorConfig -Shared -ACLTranslation UserMappingTable -DisplayURLPatternForContainer "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&RepositoryName={RepositoryName}" -DisplayURLPatternForDocument "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&format={Format}&RepositoryName={RepositoryName}" -UnmappedAccount "DiscardACE" -UserMappingTableSQLServer "YourDatabaseServerName" -UserMappingTableSQLInstance "YourDatabaseInstanceName" -UserMappingTableDBName "YourMappingDatabaseName" -UserMappingTableName "YourMappingTableName"
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryOne" -DFSWebServiceURL @("http://DFSWebServices:30000/services", "http://DFSWebServices2:30000/services")
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryTwo" -DFSWebServiceURL @("http://DFSWebServices:30000/services") -ACLTranslation SameAccountName
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryThree" -DFSWebServiceURL @("http://DFSWebServices2:30000/services") -ACLTranslation Claims
This example configures the Documentum indexing connector to index three repositories, RepositoryOne, RepositoryTwo and RepositoryThree. The connector is configured to use a user mapping table, and common display URL patterns are set. The repositories and their respective DFS web service URLs are then added to the configuration. The repositories are individually configured, with their DFS web service URLs and the ACLTranslation settings of RepositoryTwo and RepositoryThree are overridden.
Any repositories that are subsequently added will use the user mapping table, unless that setting is overridden.
------------------EXAMPLE 3-----------------
Set-SPEnterpriseSearchDCTMConnectorConfig -Remove -RepositoryName "RepositoryTwo"
This example assumes you have run the PowerShell commands as listed in Example 2. This example removes RepositoryTwo from the configuration.
------------------EXAMPLE 4-----------------
Set-SPEnterpriseSearchDCTMConnectorConfig -Shared -ACLTranslation UserMappingTable -DisplayURLPatternForContainer "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&RepositoryName={RepositoryName}" -DisplayURLPatternForDocument "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&format={Format}&RepositoryName={RepositoryName}" -UnmappedAccount "DiscardACE" -UserMappingTableSQLServer "YourDatabaseServerName" -UserMappingTableSQLInstance "YourDatabaseInstanceName" -UserMappingTableDBName "YourMappingDatabaseName" -UserMappingTableName "YourMappingTableName"Set-SPEnterpriseSearchDCTMConnectorConfig -Remove -RepositoryName "RepositoryTwo"
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryOne" -DFSWebServiceURL @("http://DFSWebServices:30000/services", "http://DFSWebServices2:30000/services") -DisplayURLPatternForContainer "http://DifferentWebTopServer:20000/webtop/component/drl?objectId={ObjectId}&RepositoryName={RepositoryName}" -DisplayURLPatternForDocument "http://DifferentWebTopServer:20000/webtop/component/drl?objectId={ObjectId}&format={Format}&RepositoryName={RepositoryName}"
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryTwo" -DFSWebServiceURL @("http://DFSWebServices:30000/services") -ACLTranslation SameAccountName
Set-SPEnterpriseSearchDCTMConnectorConfig -Repository -RepositoryName "RepositoryThree" -DFSWebServiceURL @("http://DFSWebServices2:30000/services") -ACLTranslation NoSecurity -IndexAllVersions
This example specifies different display URL patterns for RepositoryOne, and it sets the IndexAllVersions switch parameter for RepositoryThree.
------------------EXAMPLE 5-----------------
Set-SPEnterpriseSearchDCTMConnectorConfig -Shared -ACLTranslation Claims -DisplayURLPatternForContainer "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&RepositoryName={RepositoryName}" -DisplayURLPatternForDocument "http://WebTopServer:20000/webtop/component/drl?objectId={ObjectId}&format={Format}&RepositoryName={RepositoryName}" -DFSURL "RepositoryOne\http://DFSWebServices:10000/services\\RepositoryTwo\http://DFSWebServices2:20000/services\http://DFSWebServices3:30000/services"
This example uses a single cmdlet invocation to fully configure two repositories.