Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Get only those data from Share point External content type depending on the logged in user.

$
0
0

Hi,

The throttle value of the list is 20000 that is defined by the company. But the data in the BCS list is increasing more than 20000 and the list is throwing an error as it not able to accommodate data more than 20000 records. 

I created Read list comparison filter for the logged in user name.  I referred the below link for the same:

https://howtodowithsharepoint.wordpress.com/2014/06/01/sharepoint-2013-how-to-develop-filtered-views-for-external-lists-using-business-data-connectivity-service/ 

After creating the readlist, I had to pass the user name parameter to the readlist from the front end page through javascript.

I used the below query for the same:

<View><method name='ProductWithRstate101 Read List'>

<filter name='TEA_PRODUCT_MSTR_WITH_USR_SECURITY_VRead List' value='TEA_PRODUCT_MSTR_WITH_USR_SECURITY_VRead List'/></method>

<query><where><eq><fieldref name='REQUESTOR_ID'><value type='String'>String.Format('echakop')</value></fieldref></eq></where></query>

<ViewFields><FieldRef Name='PRODUCT_ID'></FieldRef></ViewFields></View>");

But the above query is not fetching any result, I referred the below link for the query

https://sharepoint.stackexchange.com/questions/176226/query-string-parameter-pass-to-data-source-filters-in-external-list-bdc?rq=1

Please advice asap as it is critical for my deliverable.

Thanks and Regards,

Vijetha

 


Viewing all articles
Browse latest Browse all 7589

Trending Articles