The blog of Kurt Guenther, Practice Manager of Emerging Technologies at Infusion Development

Sep-202007

Multiple LobSystemInstance s

I was recently teaching a SharePoint class, and during the BDC section I ran into a situation where I had to explain why you could have multiple LobSystemInstances in a given LobSystem definition.

At first it didn't make very much sense to me for a number of reasons:

  1. Database vs. Web Service: you are constrained to using all Database or all Web Service connections in a given LobSystem (this is defined at the LobSystem object, not at the LobSystemInstance)
  2. You must have the same schema for all LobSystemInstances: there is no way to specify different Methods for entities based on each LobSystem. 

So to me, it seemed like you were effectively stuck for a given LobSystemInstance.  Then I started reading the documentation on the MSDN and found the following:

The LobSystemInstance object allows you to associate two sets of instance-specific data such as connection parameters and authentication settings with a single system definition - one for Web clients and one specifically for search. This is extremely useful when you have different sets of security credentials to access data using Web clients and to crawl search.

So there you have it.  But you have to ask yourself, how would I pick different LobSystemInstances.  Well, when you look at the BDC picker in SharePoint, you'd naturally think it's enumerating on the LobSystem.  Well, you're wrong.  It's enumerating on the LobSystemInstances.  So you can effectively pick different connectionStrings for your Search vs. Web Client.

I have a feeling this would also help when doing shifts between Dev, Staging, and Production.  I imagine you could have all of the different strings in one Application file.  But it's too early to tell whether this is a best practice or not. 

Further reading (suggested):

MSDN LobSystemInstance definition

MSDN Business Data Catalog FAQ (not too much there yet - but a good start)


Published: Sep-20-07 | 4 Comments | 1 Link to this post
Tagged as:

Sep-192007

BDC XSD schema file

At the time of posting, it was virtually impossible to find (via google or msn live) the BDC schema.  And why would I want to instantly find that?  Well, if you place this in the schemas directory for Visual Studio, then you get intellisense on your BDC application xml file.

 

And you want intellisense when working with BDC.  Believe me.

 

So this is one of those posts that contains very little information, but is mainly a marker for people who are looking for the BDC schema file.

 For reference, you can find this under "<Program files>\Microsoft Office Servers\12.0\Bin\bdcmetadata.xsd".  To get intellisense to work, place the xsd in "<Program Files>\Microsoft Visual Studio 8\Xml\Schemas"

For niceness, I am going to post this file here for download until someone tells me I can't do it.  I figured it's the least I could do (since I found it particularly annoying to have to copy it from one of our remote MOSS servers).

 

(And before people say intellisense isn't work, remember you need to type

<LobSystem xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog" >

to kick things off (although VS2005 should intellisense the xmlns as a choice).  Happy BDCing)


Published: Sep-19-07 | 1122 Comments | 1 Link to this post
Tagged as:

Sep-82007

Sleepless in NY slides

As promised, here are the slides.  More to come on Sleepless in NY soon!
 
 

Published: Sep-08-07 | 2 Comments | 0 Links to this post
Tagged as:

May-162007

Brilliant Company: Tapefailure

http://www.tapefailure.com/

 

Go there.  Do it.  Go now.  Find out exactly what these guys do, becuase I think it's quite amazing. 

As far as I can understand, Basically, they record user actions for every visitor to your site and provide statistics and actual "tapes" of what the user is doing.

Example: all your users scroll to the bottom, then mouse over an image and click it.  Bam.  See that they pause when scrolling down to look at something. 

How great is that to know.  If I were a web designer or a web 2.0 company, I would instantly hire these guys.  This is a great idea and I hope it proves to be a worthwhile business.


Published: May-16-07 | 1 Comment | 0 Links to this post
Tagged as: