<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ideas For Free &#187; External Content Type</title>
	<atom:link href="http://blog.libinuko.com/tag/external-content-type/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.libinuko.com</link>
	<description>Only freedom will grow our ideas</description>
	<lastBuildDate>Sun, 18 Dec 2011 04:51:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint 2010 : How to create External Content type</title>
		<link>http://blog.libinuko.com/2010/04/10/sharepoint-2010-how-to-create-external-content-type/</link>
		<comments>http://blog.libinuko.com/2010/04/10/sharepoint-2010-how-to-create-external-content-type/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 09:52:00 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[External Content Type]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2010/04/10/sharepoint-2010-how-to-create-external-content-type/</guid>
		<description><![CDATA[English: External Content type allows you to make seamless interface between SharePoint 2010 and external data storage (ie. SQL server). Using External Content type, you can create an External List which stores the data to predefined storage. You can imagine of having a table with SharePoint list interface. To create an External Content type, you need SharePoint [...] <a href="http://blog.libinuko.com/2010/04/10/sharepoint-2010-how-to-create-external-content-type/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English:</p>
<p>External Content type allows you to make seamless interface between SharePoint 2010 and external data storage (ie. SQL server). Using External Content type, you can create an External List which stores the data to predefined storage. You can imagine of having a table with SharePoint list interface.</p>
<p>To create an External Content type, you need SharePoint Designer 2010. If you curious enough, the External Content type is enhancement of Business Data Connector (BDC) in previous version. It will now depend on Business Connectivity Services (BCS) – which more or less same as BDC.</p>
<p>Imagine that you have a table in SQL Database and you want to create SharePoint list which directly stores the data in that table.</p>
<p>&#160;</p>
<p><strong>1. Open SharePoint Designer and click on External Content Types</strong>    <br /><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0000.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0000" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0000_thumb.png" width="562" height="398" /></a></p>
<p><strong>2. Define the new External Content Type name. Then click on “External System” to start to connect to external Data Storage.</strong></p>
<p>&#160;<a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0001.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0001" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0001_thumb.png" width="561" height="408" /></a> </p>
<p><strong>3. Define connection to external data storage. (ie. DB name,&#160; and security)</strong></p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0002.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0002" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0002_thumb.png" width="566" height="386" /></a> </p>
<p><strong>In my case, I use SQL server as my data storage</strong>.</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0003.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0003" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0003_thumb.png" width="365" height="165" /></a></p>
<p>There are 3 security connection options in SQL Server Data Source:   <br /> &#8211; Connect with User’s Identity&#160;&#160; =&gt; it will use running user’s credential to access to DB server. This implies that you need to manage user’s access rights in DB server.    <br /> &#8211; Connect with Impersonated Windows Identity =&gt; it will use impersonated Windows Identity ; usually the Application Pool identity.    <br /> &#8211; Connect with Impersonated Custom Identity =&gt; it will use specified user/password combination ; you need to define the Custom Identity separately.</p>
<p>&#160;<a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0004.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0004" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0004_thumb.png" width="370" height="257" /></a> </p>
<p><strong>Now, we already have the External List with the tables and views.     <br /></strong><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0005.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0005" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0005_thumb.png" width="553" height="386" /></a> </p>
<p>4. Select any table for the External Content types. In this scenario, I select <strong>RequestTbl</strong> for my data storage. Right click on the selected table, and SPD2010 will show you the available operations.     <br /><strong><u>The External Content Types requires at least “Read Item” and “Read List” operation.</u></strong>&#160; <strong><u>In every operation you will need at least 1 identifier.</u></strong></p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0006.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0006" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0006_thumb.png" width="561" height="357" /></a> </p>
<p>Follow the wizard to create an operation.</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0007.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0007" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0007_thumb.png" width="428" height="364" /></a></p>
<p><strong>Don’t forget that every operation requires at least 1 identifier. You can choose ID field from the table.</strong></p>
<p>&#160;<a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0008.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0008" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0008_thumb.png" width="511" height="379" /></a> </p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0009.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0009" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0009_thumb.png" width="339" height="349" /></a> </p>
<p>You can also define the default view filter, for example, by default this external content type will show only the first 100 items.</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0010.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0010" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0010_thumb.png" width="462" height="171" /></a> </p>
<p><strong>5. Publish the new content type by click “Save” button.</strong></p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0011.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="SPS2010_BDC-0011" src="http://blog.libinuko.com/wp-content/uploads/2010/04/SPS2010_BDC0011_thumb.png" width="583" height="305" /></a> </p>
<p>&#160;</p>
<p>Now you already have new External Content Type. You can also create external content type to call .NET CLR and WCF Service. Next , how to use the external content type in a list.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2010/04/10/sharepoint-2010-how-to-create-external-content-type/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

