Scenario/Problem: You need to import a BCS model.
Solution: Use the Import-SPBusinessDataCatalogModel
cmdlet.
The Import-SPBusinessDataCatalogModel
cmdlet enables you to import a model file from a local or shared drive. Use a BCS metadata object variable as the Identity
, as shown in Listing 15.5.
Import-SPBusinessDataCatalogModel -Identity $bcsMeta -Path E:BCS_Model.
bdcm
Several optional switch parameters can be used:
• Force
: Forces an overwrite if the model exists
• ModelsIncluded
: Specifies that models are included in the imported XML file
• PermissionsIncluded
: Specifies that the permissions to the model are included
• PropertiesIncluded
: Specifies that BCS properties are included
3.139.79.59