If you want to connect your External Content Type to a database outside your domain, and maybe also outside your control, you will need to set up Secure Store impersonation, as you can't use your Windows identity in this case. Note that SharePoint 2010 Server is required to run the Secure Store Service which is needed.
Sridhar's blog has a nice description of how to set this up:
Setting up BCS with Secure Store Application impersonation
If you now find that you need to upgrade your SharePoint installation from Foundation to Server, here is a good walkthrough from Microsoft:
Upgrade from SharePoint Foundation 2010 to SharePoint Server 2010
The Bear Hive
Friday, May 6, 2011
Creating a simple SharePoint 2010 theme - The fast way
I just came over a great tip to how you can create your own themes in SharePoint 2010 in a matter of minutes. The short of it is:
SharePoint 2010 Themes and Resources for Upgrading a Custom Master Page
Thanks Joel!
- Open PowerPoint
- Open a presentation with a theme you like, a standard MS theme, or create your own
- Save it as a THMX file
- Upload it to your SharePoint theme gallery
- Apply it to your site(s)
SharePoint 2010 Themes and Resources for Upgrading a Custom Master Page
Thanks Joel!
Wednesday, May 4, 2011
Creating BCS External Content Type Association in SPD - primary/foreign key limitation
While experimenting with External Content Types and Associations between them using database tables in SharePoint Designer 2010, I encountered a problem where SPD was giving me the following error message:
The related identifier customerID is mapped to field customerID which is already marked as an identifier of this external content type.
Well, ok, so what is the problem with that? Can I not use a field that is already an indetifier/primary key in the child table as a foreign key also?
After some searching I found a nice blog post which helped answer this:
Tooling Associations in SharePoint Designer 2010
As it turns out, the answer is "no, it can't", this is not supported in SPD.
What should we do then?
We'll have to adjust the BDC Model XML by hand, or set up a simple Web service for our database which circumvents the second Primary Key requirement.
Microsoft also has an article on this:
Association Element in MethodInstances (BDCMetadata Schema)
The related identifier customerID is mapped to field customerID which is already marked as an identifier of this external content type.
Well, ok, so what is the problem with that? Can I not use a field that is already an indetifier/primary key in the child table as a foreign key also?
After some searching I found a nice blog post which helped answer this:
Tooling Associations in SharePoint Designer 2010
As it turns out, the answer is "no, it can't", this is not supported in SPD.
What should we do then?
We'll have to adjust the BDC Model XML by hand, or set up a simple Web service for our database which circumvents the second Primary Key requirement.
Microsoft also has an article on this:
Association Element in MethodInstances (BDCMetadata Schema)
Friday, February 11, 2011
Blog startup
TheBearHive will serve as my blog focused around more or less usefull articles on .NET and SharePoint development.
As much of my time is currently spent on developing a custom SharePoint 2010 solution, a lot (or perhaps all?) of the posts this comming year will focus on development in this technology.
The blog has been created so that I can have a place to note and structure what I learn, and so that I can easily share my findings. It will also serve as a reference point around questions and discussions that I participate in, for instance when asking or answering questions on stackoverflow.com.
I want to give thanks to William Shields for his blogpost on Starting a Programming Blog, it was very helpful in getting this up and running in a snap!
As much of my time is currently spent on developing a custom SharePoint 2010 solution, a lot (or perhaps all?) of the posts this comming year will focus on development in this technology.
The blog has been created so that I can have a place to note and structure what I learn, and so that I can easily share my findings. It will also serve as a reference point around questions and discussions that I participate in, for instance when asking or answering questions on stackoverflow.com.
I want to give thanks to William Shields for his blogpost on Starting a Programming Blog, it was very helpful in getting this up and running in a snap!
Subscribe to:
Posts (Atom)