Run the following script for the corresponding SharePoint version:
.\DeployStagerPlugin_2013.ps1 -configurationFilePath ..\config\configurationParameters.xml .\DeployStagerPlugin_2016.ps1 -configurationFilePath ..\config\configurationParameters.xml |
Run the following script for the corresponding SharePoint version:
.\DeployModel_2013.ps1 -configurationFilePath ..\config\<the file name of the new xml> .\DeployModel_2016.ps1 -configurationFilePath ..\config\<the file name of the new xml> |
The default values defined in the configurationParameters.xml file in the StagerBDCModel node will crawl 500 items in the Storage Unit specified (maxBatchesToProcess times batchSize). If the Storage Unit contains more than that amount they will no be crawled in the first full crawl. |
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. |
Run the following:
.\DeployContentProcessingModule.ps1 -configurationFilePath ..\config\<the file name of the new xml> |
This has to be done on every machine that will host STageR. You can just copy the whole Deploy folder to each machine, change the stagerFolderPath value as needed and then run the script. |
This applies for non-Windows operating systems.
From a REST client run the following command:
http://<host:port>/admin/setContentProcessingModules/<Storage Unit Name> {"modules" : {"<Storage Scope Name>":[{"module" : "SharePointBCSMapping"}]}} |
In order to remove the StageR BDC Plugin, there are two options: manual and automatic removal
Please note that uninstallation process requires a user with Machine Administrator rights. |
Open SharePoint Management Shell as administrator.
A machine and farm administrator user is needed for this. |
Run the following:
.\RemoveModelAndContentSource.ps1 -configurationFilePath ..\config\<The Content Source configuration>.xml |
Make sure the configuration file you specified is the same one you used when creating the content source you want to remove. |
Open SharePoint Management Shell as administrator.
A machine and farm administrator user is needed for this. |
Run the following script for the corresponding SharePoint version:
.\RemoveStagerPlugin_2013.ps1 -configurationFilePath ..\config\configurationParameters.xml .\RemoveStagerPlugin_2016.ps1 -configurationFilePath ..\config\configurationParameters.xml |
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.
The SharePointBCSMapping.js file can be modified to add, rename, update or delete fields that will be uploaded to SharePoint. However, the following fields are expected by the BDC connector and therefore cannot be changed: