February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to obtain a BCS metatdata object reference.
Solution: Use the Get-SPBusinessDataCatalogMetadataObject cmdlet.
To perform import and export operations, you need the related metadata object that stores or will store the BCS entity. Use the Get-SPBusinessDataCatalogMetadataObject cmdlet to set a variable to the metadata object, as shown in Listing 15.4.
Listing 15.4. Getting a BCS Metadata Object
$bcsMeta = Get-SPBusinessDataCatalogMetadataObject -ServiceContexthttp://sp2013 -BDCObjectType Catalog -Name ApplicationRegistry
The BDCObjectType can be one of the following values:
• Catalog
• Model
• LobSystem
• LobSystemInstance
• Entity
The Name parameter might be required, based on the BDCObjectType ...
Read now
Unlock full access