BDCM Import
This article explains on the BDCM migration, Permission, resolving issues faced after import.
BDCM Export – using SharePoint designer as in screen shot below,
Business Data Connectivity service Metadata – Import
1. Using PowerShell command
$MetadataStore = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType “Catalog” -ServiceContext http://ServerName/PWA
Import-SPBusinessDataCatalogModel -Path “E:PATHProjName.bdcm” -Identity $MetadataStore -Force
Import-SPBusinessDataCatalogModel -Path “E:PATHProjName.bdcm” -Identity $MetadataStore -Force
2. Central Admin
- Navigate to Central Administration – Application Management – Manage Service Applications – Business Data Connectivity Service Application.
- In the BDC models group of the ribbon, click Import.
- On the Import BDC model page under BDC Model section, click Browse to find the BDC model or resource file.
- In the File Type section, select the type of BDC model file to import: Model or Resource.
- Click on Import button.
- BDC model will be validated.
- BDC model is successfully added to the BDC metadata store.
Refer the screenshot for Import and Permission set
BDCM Namespace issue
For resolving the below error while importing:
- Calling GetEntityWithNameAndNamespace failed
- IEntity could not be found by The requested Entity -Entity Name- under Namespace http://ServerName was not found
Resolution:
The Namespace should be same before and after import. You can cross-check the namespace tag by opening the BDCM file in notepad.
The Namespace should be same before and after import. You can cross-check the namespace tag by opening the BDCM file in notepad.