Getting Started with BCS
1.
Create an External Content Type Based on a SQL
Server Table
2.
Create External Lists in SharePoint
3.
After that you will couple of issues such as
3.1
Access denied by business data connectivity. Correlation
id. Follow steps from here http://blogs.msdn.com/b/ericwhite/archive/2010/06/11/access-denied-by-business-data-connectivity.aspx
3.2
BCS External List Error: Unable to display this
webpart.
Solution
is easy, Start -> All Programs -> Microsoft SharePoint 2010 Products
-> SharePoint 2010 Management Shell
Then adjust your throttling Default and Maximum parameters, here
is an example :
PS
Y:\> $proxy=Get-SPServiceApplicationProxy | where {$_ -match "Business
data Connectivity Service"}
PS
Y:\> Get-SPBusinessDataCatalogThrottleConfig -Scope database -ThrottleType
items -ServiceApplicationProxy $proxy
Scope : Database
ThrottleType
: Items
Enforced : True
Default : 2000
Max : 1000000
PS
Y:\> $defaultThrottleConfig = Get-SPBusinessDataCatalogThrottleConfig -Scope database -throttleType
items -ServiceApplicationProxy $proxy
PS
Y:\> $defaultThrottleConfig
Scope : Database
ThrottleType
: Items
Enforced : True
Default : 2000
Max : 1000000
PS
Y:\> Set-SPBusinessDataCatalogThrottleConfig -Default 40000
-Identity $defaultThrottleConfig -Maximum 1000000
PS
Y:\> $customThrottleConfig = Get-SPBusinessDataCatalogThrottleConfig -Scope
database -ThrottleType items
-ServiceApplicationProxy $proxy
PS
Y:\> $customThrottleConfig
Scope : Database
ThrottleType
: Items
Enforced : True
Default : 40000
Max : 1000000
4.
Reset IIS
Comments
Post a Comment