Page History
Step 2: Plugin Setup
- Under the \config folder, locate the file named configurationParameters.xml and open it in a file editor.
- In the xml structure, under StagerBDCModel specify the following values:
- stagingRepositoryUrl: The host port where the STageR is running
- sharePointServiceUrl: The host port where the SharePoint 2013 Central Administration is running
- searchServiceApplicationName: The name of the search service application within SharePoint
- stagerFolderPath: The path to the root directory of STageR
- Open SharePoint Management Shell as an administrator and go to the \scripts folder.
Run the following:
Code Block language bash theme FadeToGrey .\DeployStagerPlugin.ps1 -configurationFilePath ..\config\configurationParameters.xml
- If all went well it should present the following:
Step 3: Model and Content Source Setup
- Under the \config folder, locate the file named configurationParameters.xml (the one you modified in the previous step) and create a copy of it.
- Modify the following fields in the new copy:
- contentSourceName: The name of the content source that will appear under Search Service Application in SharePoint
- storageUnitName: The name of the Storage Unit within STageR from which the content will be extracted
- storageUnitScope: The scope within the Storage Unit. The value of 'publisher' is recommended.
- maxBatchesToProcess: The maximum number of batches processed by the plugin per execution
- batchSize: The maximum number of documents per batch processed
- certPath: The path to the .p12 or .pfx file if SSL is needed. If not, leave the field empty.
- certPassword: The password to the .p12/.pfx file if SSL is needed. If not, leave the field empty.
- claimsIssuer: The issuer of the access claims. Accepted values are 'public' for no issuer, 'aspire' to use the Aspire Group Expansion or 'windows'.
- useFullName: Specifies if claims should use full name (domain/name) when sent to the group expander
- Open the SharePoint Management Shell as an administrator and go to the \scripts folder.
Run the following:
Code Block language bash theme FadeToGrey .\DeployModel.ps1 -configurationFilePath ..\config\<the file name of the new xml>
- If all went well, it should present the following:
Step 4: Content Processing Module setup
Note |
---|
Currently, the content source/model installation script doesn't support the setup of the content processing module in STageR when it's configured to use SSL. Configure the content processing module using a REST client as explained here. Also, this only works for Windows hosts. For other operating systems use the manual approach. |
- Under the \config folder, locate the file named configurationParameters.xml and open it in a file editor.
- In the xml structure, under StagerBDCModel specify the following values:
- stagerFolderPath: The path to the root directory of STageR
- Open SharePoint Management Shell as an administrator and go to the \scripts folder.
Run the following:
Code Block language bash theme FadeToGrey .\DeployContentProcessingModule.ps1 -configurationFilePath ..\config\<the file name of the new xml>
- No error should appear if all went well.
Step 5: Schedule the Content Source Crawls
- Go to SharePoint Central Admin > Manage Service Applications > Search Service Application (the name specified in the configuration) > Content Sources
- Locate the content source you configured in the previous step.
- From the drop-down, you can trigger crawls directly. To schedule automatic crawls, select Edit.
- In the new page, scroll down to Crawl Schedules and set the schedule as needed.
Uninstallation
In order to remove the StageR BDC Plugin, there are two options: manual and automatic removal.
Note |
---|
Please note that uninstallation process requires a user with Machine Administrator rights. |
Manual Removal
Step 1: Remove Content Source
- Go to SharePoint Central Admin > Manage Service Applications > Search Service Application (the name specified in the configuration) > Content Sources
- Locate the content source you want to remove.
- From the drop-down, select Delete and confirm.
Step 2: Remove Model
- Go to SharePoint Central Admin > Manage Service Applications > Business Data Connectivity Service
- From the top drop-down, select BDC Models.
- Select the model you want to remove. (Its name should be similar to the content source's name.)
- Click Delete and confirm.
Automatic Removal
Step 1: Remove Content Source and Model
Open SharePoint Management Shell as administrator.
Note A machine and farm administrator user is needed for this. - Go to the Deploy\scripts directory.
Run the following:
Code Block language bash theme FadeToGrey .\RemoveModelAndContentSource.ps1 -configurationFilePath ..\config\<The Content Source configuration>.xml
Note Make sure the configuration file you specified is the same one you used when creating the content source you want to remove. - Both the content source and model should have been removed.
Step 2: Remove Plugin
Open SharePoint Management Shell as administrator.
Note A machine and farm administrator user is needed for this. - Go to the Deploy\scripts directory.
Run the following:
Code Block language bash theme FadeToGrey .\RemoveStagerPlugin.ps1 -configurationFilePath ..\config\configurationParameters.xml
- The farm solution should have been removed.
Custom Content Configuration
The plugin uses the content processing capability of STageR to normalize the content that is stored in STageR, but the structure and data may be different depending on the source.
The content is processed by SharePointBCSMapping.js after the file is in the STageR's processing_modules directory and the storage unit has been configured to use it. For more information, go Configure Storage Unit.
Security Pre-Trimmer Installation
For the Security Pre-Trimmer installation go to SharePoint 2013 Security Pre-Trimmer. Consider you need to fill up the configurationParameters.xml file with the values of your Aspire Distribution and its Group Expansion Service before the run the script that install the Security Pre-Trimmer.
Manual Removal
Step 1: Remove the Plugin from Farm Solutions
- Open your preferred internet explorer (IE, Chorme, FireFox, etc) with the "Run as Administrator" option. Otherwise, you will not be able to accomplish the next two steps due to a SharePoint error.
- Go to SharePoint Central Admin > System Settings > Manage Farm Solutions
- Select aspiresecuritytrimmer.wsp and Retract Solution.
- In the following page, make sure the option under Retract When? is set to Now.
Select OK.
Automatic Removal
Open SharePoint Management Shell as administrator.
Note A machine and farm administrator user is needed for this. - Go to the Deploy\scripts directory.
Run the following:
Code Block language bash theme FadeToGrey .\UninstallAspireSecurityTrimmer.ps1 -configurationFilePath ..\config\configurationParameters.xml