Just a quick list… maybe I’ll find some time to add links to resources for each list and library type.
SharePoint, PowerShell, .Net and other stuff I spend too much time on...
Just a quick list… maybe I’ll find some time to add links to resources for each list and library type.
In SharePoint 2007 there is a search scope dropdown:
This is missing in a default setup of SharePoint 2010:
It’s still available, you just have to turn it on. Just go to Site Actions, Site Settings, Site Collection Administration, Search Settings:
Note that this is a site collection setting, not per sub site.
Select “Show scopes dropdown and it’s back!
This was an option only in MOSS 2007. WSS 2007 always had the scope dropdown. I have not checked SharePoint 2010 Framework yet to see if is an option there…
If you install SharePoint 2010 Beta 2 you will probably get this error when using search and other services:
Unrecognized attribute 'allowInsecureTransport'
If you do a little web searching you will find that you need this update:
If you have already installed SharePoint 2010 Beta 2 then go ahead and run this patch. But, be aware: “Service Applications that have been successfully provisioned without the update installed may need to be removed and re-provisioned once the update has been successfully applied”
If you start a new server build and try to install this patch you will get:
"the update is not applicable to your computer"
You must install the SharePoint 2010 prerequisites first, then install this patch.
Then I got this error: (but only on my second build! Go figure…)
“Failed to create sample data”
and found the fix here: (and then restarted the Configuration Wizard)
Here is the correct install order (or at least what worked for me):
Just in case you are curious… the SQL Server installed with a “standalone” install is the 64bit version of SQL Express:
Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64)
Mar 29 2009 10:11:52
Copyright (c) 1988-2008 Microsoft Corporation
Express Edition (64-bit) on
Windows NT 6.1 <X64> (Build 7600: ) (VM)
.
Got an MSDN or TechNet subscription???
But don’t start your download until I’m finished!!!
First notes:
This is a note for people who have attended my classes. (Everyone else go see their own MCT!)
If you are thinking about Microsoft certification, check with me before signing up for an exam. I can usually get you a discount on both the exam and on practice exams.
Currently:
Not all exams qualify, but most MCP exams do. MeasureUp does not have a practice test of every Microsoft exam.
If you would like a discount voucher, email me at the email address I gave you during class or just call MAX Technical Training.
Know any college or tech school students? They can 55% off of exams here:
http://www.prometric.com/microsoft/student
.
(I wrote this up a few months ago, and then forgot to post it. So here it is finally!)
Here’s a JavaScript trick to hide a list or library web part when there are no items in the list, or the current view used in the web part.
Steps:
Note that the commented out section can be used to just hide the title bar instead of the entire web part.
<script> function HideWebPartWithZeroRows() { var a = document.getElementsByTagName("TABLE") for (var i=0;i<a.length;i++) { if (a[i].summary=="Test List") { if (a[i].rows.length==1) { //hide all but the title bar //var x = a[i].parentNode.parentNode.parentNode.parentNode.parentNode //hide the entire web part var x = a[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode x.style.display="none"; } } } } _spBodyOnLoadFunctionNames.push("HideWebPartWithZeroRows") </script>
.
Don’t upgrade to SharePoint 2010!
There, I said it.
Don’t do it.
Just say no.
Put the DVD down and just walk away!
Unless when you rolled out 2007….
you really planned ahead,
created the ultimate governance plan document,
enforced that plan,
planned a farm with scalability and redundancy in mind,
designed your taxonomy,
properly trained your users,
created and routinely executed an audit plan,
and have a well documented and tested disaster recovery plan,
then you will just be creating the same mess again.
Do it right this time! And then migrate only the business appropriate content into a clean, safe, secure, reliable and useable system.
You have probably learned a lot about SharePoint 2007 and probably learned a lot about how NOT to install it, release it to the corporation, train users and organize sites and data. You most likely now an expert on what NOT to do.
Now go do your homework. You have the time. It’s worth every minute. Go research “governance”, “best practices” and other people’s horror stories. Get your governance team trained on governance and a project methodology. Get your plan together, carefully implement it and enjoy!
.
We have a new URL! http://www.CincinnatiSPUG.org
(this still works: http://cincyspug.securespsites.com )
6:00 PM 11/5/09 at MAX Technical Training
Topic: SharePoint 2010 (what else could it be, just after the big announcements!)
We have door prizes! We have a number of SharePoint books and other goodies to give away!
We will also have some discount codes just for people who attend from several major book publishers.
14 free posters for SharePoint 14! 34-by-44-inch posters.
http://technet.microsoft.com/en-us/library/cc263199(office.14).aspx
Services in SharePoint 2010 Products
Describes and illustrates the services architecture, including and common ways to deploy services in your overall solution design.
Cross-farm Services in SharePoint 2010 Products
Illustrates how to deploy services across farms to provide centralized administration of services.
Topologies for SharePoint Server 2010
Describes common ways to build and scale farm topologies, including planning which servers to start services on.
Hosting Environments in SharePoint 2010 Products
Summarizes the support for hosting environments and illustrates common hosting architectures.
Search Technologies for SharePoint 2010 Products
Compares and contrasts the search technologies that work with SharePoint Products 2010:SharePoint Foundation 2010,Search Server 2010 Express,Search Server 2010,SharePoint Server 2010,FAST Search Server 2010 for SharePoint
Search Environment Planning for Microsoft SharePoint Server 2010
Walks through primary architecture design decisions for search environments.
Search Architectures for Microsoft SharePoint Server 2010
Details the physical and logical architecture components that make up a search system and illustrates common search architectures.
Design Search Architectures for Microsoft SharePoint Server 2010
Walks through the initial design steps to determine a basic design for a SharePoint Server 2010 search architecture.
Business Connectivity Services Model
This model poster describes the architecture of Microsoft Business Connectivity Services in SharePoint Server 2010 and provides information about how to create solutions that are based on the service.
Microsoft SharePoint Server 2010 Upgrade Planning
This model covers planning for an upgrade from Microsoft Office SharePoint Server 2007 to SharePoint Server 2010.
Microsoft SharePoint Server 2010 Upgrade Approaches
This model helps you understand the in-place, database attach, and hybrid approaches to upgrading from Office SharePoint Server 2007 to SharePoint Server 2010.
Microsoft SharePoint Server 2010 — Test Your Upgrade Process
This model explains the methodology for testing the upgrade process before upgrading from Office SharePoint Server 2007 to SharePoint Server 2010.
Microsoft SharePoint Server 2010 — Services Upgrade
This model covers upgrading services from Office SharePoint Server 2007 to SharePoint Server 2010.
Choose a tool for business intelligence in SharePoint Server 2010
Discusses the tools available for business intelligence
Funny how the obvious does not always work… For example, you want to create a new task in code and assign it to some one. You might try to set the Assigned To field to the user's name:
SPItem itm6 = lst.Items.Add();
itm6["Title"] = "test2";
itm6["Assigned To"] = @"MAXSP2007\samc"; //fails!
itm6.Update();
“Assigned To” is a “People Picker” field and only accepts data in certain ways, any but the obvious. If you read this field you will see a value like: “8#;MAXSP2007\samc”, and using that value will work…
What the "People Picker” field wants is the ID of the user, the “8”. The rest appears to be ignored. So, here’s several ways to get there:
itm1["Assigned To"] = web.AllUsers[@"MAXSP2007\samc"]; //works
- itm2["Assigned To"] = 8; //works
- itm3["Assigned To"] = web.AllUsers[@"MAXSP2007\samc"]; //works - SPMember member = web.AllUsers[@"MAXSP2007\samc"]; itm4["Assigned To"] = member.ID; //works - SPMember member = web.AllUsers[@"MAXSP2007\samc"]; itm5["Assigned To"] = member; //works
.