Custom Action on Business Data List Web Part In SharePoint 2013

business list webpart sharepoint 2013.png

In this article we will explore the custom action on Business Data List Web Part in SharePoint2013. The action includes edit and delete options on the popped up display form.


Scenario:
For performing edit/delete operations on the list item of external Lists, which is on Business Data List Web Part, we need to fetch the external list item ID. A lot of people face difficulty in finding the external item ID. We have an external List and Business Data List Web Part with custom hyperlink to fetch the display form.

Read some SharePoint 2013 tutorials below:

Solution:
The external list item ID for the edit/delete option on the display form can be found by fetching the value of BdcIdentity column. This value can be fetched by writing the REST API code, which generates the response and the value for which can be fetched and is shown in the following screenshot:


sharepoint 2013 business data list web part
sharepoint 2013 business data list web part

You need edit the web part and add XSLT code:

sharepoint 2013 business data list webpart
sharepoint 2013 business data list webpart
sharepoint 2013 business data list web part edit xslt code
sharepoint 2013 business data list web part edit xslt code


The edit/delete option now comes on the Display form.

business list webpart sharepoint 2013
business list webpart sharepoint 2013
Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Sagar Pardeshi

I am Developer working on Microsoft Technologies for the past 6+years. I am very much passionate about programming and my core skills are SharePoint, ASP.NET & C#,Jquery,Javascript,REST. I am running this blog to share my experience & learning with the community I am an MCP, MCTS .NET & Sharepoint 2010, MCPD Sharepoint 2010, and MCSD HTML 5,Sharepoint 2013 Core Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.

View all posts by Sagar Pardeshi →