How to Set Up and Configure the Alfresco Connector
All BA Insight connectors can be downloaded from Right Answers under Knowledge > BA Insight > Product Downloads > Connectors.
This connector is installed with the same generic steps as any BA Insight connector.
Satisfy the Prerequisites for your connector before installing.
Configuration specifics are detailed below.
Post-Installation Actions
After you have successfullly installed the connector, use the following steps to detect and process deleted items during incremental crawls.
How to Remove Deleted Items From Your Search Index
If you wish the Alfresco Connector to pick up deleted index entries during an incremental crawl, you must enable Alfresco auditing.
- Navigate to the directory <Alfresco Content Services install location>/tomcat/shared/classes/alfresco-global.properties.
- Set the
audit.enabledandaudit.alfresco-access.enabledproperties to true (by default, these properties are set to false). - Navigate to the directory <BA Insight Alfresco Connector installation directory>/AuditFile and copy the file BAIAudit.xml.
- Paste the file BAIAudit.xml into the directory <Alfresco Content Services install location>/tomcat/shared/classes/alfresco/extension/audit.
- Restart the Alfresco Content services.
- All deleted index entries made from this point onwards are now picked up by the audit.
Connection Configuration Specifics
The following steps add a connection to the Connector Framework.
- Navigate to the Connector Framework. On the “Connections” tab, select “WebService Connection” from the “Add New” dropdown list.
- Enter the basic connection data:
- Title:
- The name used for the connection.
- Content Owner:
- The Sharepoint user who will have full access to all of the content crawled by this connection.
- Typically, this is a service account.
- Discovery Group
- Optional
- Any AD group that will also be granted access to all items crawled by this connection.
- Web Service:
- The URL to the connector web service.
- The URL is in the format:
http://<host>:<port number>/dataconnector.asmx- <host> is the FQDN, host name, or IP of the server where the connector is installed
- <port number> is the port number entered during the installation wizard process
- Title:
- Click Connect or Refresh Web service. The page re-loads with additional options.
- Complete the information to connect to the Alfresco connector.
- Alfresco Content Service Login:
- Username and password of the Alfresco Content services administrator.
- Alfresco API:
- URL of the Alfresco Content services.
- The default installation location for Alfresco on premise is http://127.0.0.1:8080.
- Alfresco Content Service Login:
Content Configuration Specifics
To create Alfresco content and generate metadata, use the following steps:
- Navigate to Tasks > Mailboxes/Datastore.
- Run a DataStore Types Load job.
- Create the Alfresco Content.
- Filter (optional): If you want to limit crawl to only certain Alfresco sites and not the entire repository, enter the site ids, one on each row.
- To obtain a site ID, check the site URL which is typically in the format:
<protocol>://<domain>:<port>/Site/<id>.
- To obtain a site ID, check the site URL which is typically in the format:
- Navigate to Content > Metadata and generate metadata for the newly created Alfresco Content.
Connection Security Specifics
- Navigate to Tasks > Security for your Alfresco connection.
- Run the Security Sync job.