Create Entity with Stored ProcedureHi,<br/><br/>I am new to BDC. I heard that BDC can expose more info to Sharepoint's userprofile. (<a href="http://&lt;servername&gt;/_vti_bin/userprofileservice.asmx?wsdl">http://&lt;servername&gt;/_vti_bin/userprofileservice.asmx?wsdl</a>), is that correct?<br/><br/>BTW, I will be using this along with InfoPath which will populate my form with a specific employee.<br/><br/>So, I am trying to create a definition list, with only a stored procedure which return the vacation days of a user (with employee id as the parameter). So this definition list is created with only one method -- Specific Finder. I haven't created any Finder or IDEnumerator at all. When I imported it to Sharepoint, I got an error and the status is &quot;Crawlable = no&quot;<br/><br/>I saw in the demo when stored procedure was used, 3 methods need to be created Finder, Specific Finder and IDEnumerator. But I only have Specific Finder, since I only want the vacation day of an employee.<br/><br/>How can I setup the definition list in BDC, so that I can expose the vacation days of a specific employee in the infopath.<br/><br/>Please advice. Your help would be greatly appreciated.<br/><br/>© 2009 Microsoft Corporation. All rights reserved.Thu, 02 Jul 2009 08:28:01 Zeef13594-95ae-43b6-b019-5e432584be68http://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#eef13594-95ae-43b6-b019-5e432584be68http://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#eef13594-95ae-43b6-b019-5e432584be68wkplihttp://social.msdn.microsoft.com/Profile/en-US/?user=wkpliCreate Entity with Stored ProcedureHi,<br/><br/>I am new to BDC. I heard that BDC can expose more info to Sharepoint's userprofile. (<a href="http://&lt;servername&gt;/_vti_bin/userprofileservice.asmx?wsdl">http://&lt;servername&gt;/_vti_bin/userprofileservice.asmx?wsdl</a>), is that correct?<br/><br/>BTW, I will be using this along with InfoPath which will populate my form with a specific employee.<br/><br/>So, I am trying to create a definition list, with only a stored procedure which return the vacation days of a user (with employee id as the parameter). So this definition list is created with only one method -- Specific Finder. I haven't created any Finder or IDEnumerator at all. When I imported it to Sharepoint, I got an error and the status is &quot;Crawlable = no&quot;<br/><br/>I saw in the demo when stored procedure was used, 3 methods need to be created Finder, Specific Finder and IDEnumerator. But I only have Specific Finder, since I only want the vacation day of an employee.<br/><br/>How can I setup the definition list in BDC, so that I can expose the vacation days of a specific employee in the infopath.<br/><br/>Please advice. Your help would be greatly appreciated.<br/><br/>Wed, 24 Jun 2009 16:11:31 Z2009-06-24T16:11:31Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#a6e44ffc-7a0a-445a-86ee-afa852010567http://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#a6e44ffc-7a0a-445a-86ee-afa852010567Scot Hillierhttp://social.msdn.microsoft.com/Profile/en-US/?user=Scot%20HillierCreate Entity with Stored Procedure<p>Let's separate a couple of things.</p> <p>First, it sounds like you are close with the application definition file. The &quot;Crawlable=no&quot; is expected because you did not define an IDEnumerator. This is fine, don't worry about it. The import error needs to be investigated. Sounds like you have an actual error in the ADF. Note the line number called out in the import and look at the ADF carefully.</p> <p>The second issue is InfoPath. If your goal is to get a list of vacation days, you really don't need (or want) to use BDC. Simply use a db connection stored in a SP connection library. Use this connection to retrieve the data in InfoPath.</p> <p>Scot</p>Fri, 26 Jun 2009 11:23:52 Z2009-06-26T11:23:52Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#829f4004-ae24-47d4-97a9-dc689eca2a14http://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#829f4004-ae24-47d4-97a9-dc689eca2a14Ram Gopinathan - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Ram%20Gopinathan%20-%20MSFTCreate Entity with Stored ProcedureYes you are correct using BDC you can have additional user profile properties that are mapped to fields in BDC entity<br/>I recommend using either BDC editor that comes with sharepoint SDK or thirdparty tool bdcmetaman to create your application definition file<br/>I use both in combination because MS editor has the ability to test the methods before you add to SSP<br/>For Profile import to work you need to implement specificfinder and IdEnumerator methods<br/><br/>In your scenario I believe what you are trying to do is have an additional user profile property called &quot;Vacation Days&quot; that would be mapped to a field in your BDC entity. Like I was saying earlier use BDC editor that comes with SharePoint SDK to create the application definition, test the methods using the tool prior to adding to SSP<br/>Once application definition file is added to SSP, you need to create a user profile import connection (be sure to choose Business Data Catalog from Type dropdown), If you have modelled your application definition file correctly you should be able to pick entity using the picker and complete rest of the configuration<br/>Next step is defining a new user profile property, lets say &quot;Vacation Days&quot;<br/>&quot;Source Data Connection&quot; dropdown under &quot;Property Import Mapping&quot; section  you should see your BDC connection defined in earlier step<br/>select that, you will need to select the field in the entity that would map to the property (in your case it would be Vacation Days)<br/>complete the configuration and you should be able to do full import<br/><br/>Couple of things to know<br/>BDC import will only work if there is a master import connection which should be either AD or LDAP<br/>Set the diagnostics logging to Verbose for BDC and UserProfile categories, if you are having issues you can look at the ULS_LOGS to troubleshoot<br/><br/>Once above configuration is complete you should be able to use infopath to pull user profile information into the infopath form using the user profile web service<br/><br/>Good luck<br/><br/>&lt;/Ram&gt;<br/>Fri, 26 Jun 2009 17:57:48 Z2009-06-26T18:10:04Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#f9af8fa4-a243-4e54-9ec0-a6f3f2fc825fhttp://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#f9af8fa4-a243-4e54-9ec0-a6f3f2fc825fMike Walsh MVPhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20Walsh%20MVPCreate Entity with Stored ProcedureThis looks like a very useful post, but please don't let's have Microsoft people proposing their own posts as answers. <div><br/></div> <div>(=Wait for someone else to do so).<br/> <div><br/></div> <div><br/></div> <div>(Moderator)</div> </div><hr class="sig">WSS FAQ sites: <a href="http://wssv2faq.mindsharp.com">http://wssv2faq.mindsharp.com</a> and <a href="http://wssv3faq.mindsharp.com">http://wssv3faq.mindsharp.com</a> <br/>Total list of WSS 3.0 / MOSS 2007 Books (including foreign language) <a href="http://wssv3faq.mindsharp.com/Lists/v3 WSS FAQ/V Books.aspx">http://wssv3faq.mindsharp.com/Lists/v3%20WSS%20FAQ/V%20Books.aspx</a>Sat, 27 Jun 2009 06:03:19 Z2009-06-27T06:03:19Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#afeaab2f-5a47-426a-9016-124c34790282http://social.msdn.microsoft.com/Forums/en-US/sharepointbdc/thread/eef13594-95ae-43b6-b019-5e432584be68#afeaab2f-5a47-426a-9016-124c34790282Ram Gopinathan - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Ram%20Gopinathan%20-%20MSFTCreate Entity with Stored ProcedureOops sorry about that Mike, I read in announcements somewhere that you are supposed to propose as answer, newbie to forums :)Sat, 27 Jun 2009 13:11:01 Z2009-06-27T13:11:01Z