Article that put me on the right track
This type of feature stapling is also used when branding the private view of My Site. Feature Stapling has become THE way to do branding and customization in SharePoint.
- Recomended begginer readings to get an introduction and overview of Ajax and the new programing model (by Daniel Larson). Read it here.
- Updates, Videos and Cool articles.
More to come.
Crawle = Kravle
Crawler Search = Kravlesøk
AD Forest = AD skog
Name (presence) = Navn (presentasjon)
Du kan jo da tenke deg hva "Perform a crawler search in the complete AD forest" vil bli oversatt til - "Utføre et kravlesøk i den komplette AD skogen". Minner jo mest om en beskrivelse av å være litt for full, på tur gjennom skogen en sen kveld, og lete etter en halvfull spritflaske som man har mistet. :-)
Then follow the following steps:
- Create your solution (that has to be done by you completely :-))
- Download and use the VS 2005 Solution Deployment template from TheKid. Download it from here.
- Then download and use the great solution installation tool from Lars Fastrup, Ontolica. Get it from here.
I think this will save you a lot of time (and possible troubles).
- Custom built web parts
- An application in the _layout folder
- User controls and the Son of Smart Part
- ASPX pages added to a SharePoint Site
Read his article here.
The Kide have added some pros and cons for different ways on how to develop sites in SharePoint 2007 and WSS 3.0:
- Use the SharePoint Solution Deployment
- Develop on one farm and use Site Export/Import or Content Deployment
Full article here.
Finally, I've found some official Microsoft information on SharePoint 2007 licensing. They are estimates, but they give a hint on what the cost will be.
For some background information and licenses tips&tricks:
- Product features and comparison - which SharePoint version contains what - Microsoft Article: Read more...
- How to buy SharePoint - product and license overview: Read more...
- Which licenses do you need in different scenarios: Read more...
- Critical view on SharePoint for internet facing sites: Read more...
|Office SharePoint Server 2007||$4424|
|Office Forms Server 2007||$4424|
|Office SharePoint Server 2007 for Search Enterprise||$57,670|
|Client Access Licenses||Estimated Price|
|Office SharePoint Server 2007 Standard CAL||$94|
|Office SharePoint Server 2007 Enterprise CAL||$75|
|Office SharePoint Designer 2007||$187|
|Internt facing sites||Estimated Price|
|Office SharePoint Server 2007 for Internet sites||$40,943|
The call to SearchServiceInstance.Provision (server 'YourServerName') failed. Setting back to previous status 'Disabled'. System.ComponentModel.Win32Exception: OSearch ('YourSearchAcct') at Microsoft.SharePoint.Win32.SPAdvApi32.ChangeServiceConfiguration(String strServiceName, String strAccountName, SecureString sstrPassword, IdentityType identityType, Boolean bDontRestartService) ....
Then YOU MUST CHECK that you have provided the user name in the format [domain]\[username]
And if that doesn't work , then run the "cleaner" (even it states that do not use this tool to remove Office 2007 component):
541F5F57-C847-4e16-B59A-B31E90E6F9EA" to control the sites navigation controls (global and current):
- InheritGlobalNavigation. Use the same globa main menu navigation as the parent.
- InheritCurrentNavigation. Use the same current navigation (i.e. the left quick lanucn menu) as the parent.
- IncludePages. Set to true to show pages in the site the navigation tree.
- ShowSiblings. Set to true if you want sub sites to be displayed in the navigation tree.
- OrderingMethod. 'Automatic' - Sort all node types automatically, and group pages after other types. 'Manual' - Sort all types manually. 'ManualWithAutomaticPageSorting' - Sort all types except pages manually. If pages are included, sort them automatically and group them after all other types.
- AutomaticSortingMathod. CHECK THE SPELLING!!! 'CreatedDate' - Sort items by time of creation. 'LastModifiedDate' - Sort items by time of last modification. 'Title' - Sort items alphabetically by title.
Again - check how method i spessled in AutomaticSortingMathod :-) Again Luts Roeder's .NET Reflector was of great help to identify this SharePoint error.
Check the code in the class Microsoft.Sharepoint.Publishing.NavigationFeatureHandler, method ApplyNavigationProperties, and the code lines where the internal dictionary is created.
Below is a list of errors that I've gotten when I've been working with creating custom site and portal site templates. The errors are sometimes VERY hard to find!
It is important to remember that the sites are created on the fly so if the portal site template is provisioning multiple site you can check the tree structure to se where the provsioning failed.
"The file or folder name contains characters that are not permitted."
- Most often this error has been casued by incomplete resource statements in the Url-field in List statement in the site configuration or,
- when a list view is used in a modul definition, e.g. missing ';',
- or misspelled resource names,
- referencing the wrong resource file/library, etc.
"Cannot complete the operation".
- Confllict between the module name in the configuration section and the named used in the module definition
- xml errors - missing end tags,
- when you provision a new list there is a mismatch between the list type and the feature id, and it looks like the 3 last digits in the feature id should match the list type!
- Recycle the application pool instead of making an iisreset. Works in most cases. Download tool/application.
- Adding the right schema definitions when working with the different xml-files. They are located under \template\xml and are added to the xml-file by setting the Schema attribute of the xml-file which you are editing, and thereafter selecting the same schema in th xmlns attribute.
If you just want to test ot some simple code - maybe on a server without Visual Studio installed - try the Snippet Compiler tool. A "mini visual studio" to write and test code snippets "on the fly".
First, the following files are a part of a Portal Site Template:
- \templates\1033\xml\webtemp_myportalsite.xml - all the site templates that are used and pointers to where they configurations my be found
- \templates\sitetemplates\myportalsite\*.* - the site configurations. I've collected all my custom templates in on directory.
- \templates\sitetemplates\mywebmanifests\myportalsite.xml - the portal site definition with all the webs and sub webs which it contains and which sould be provisioned.
- \resources\myportalsite.resx - resources used in the portal site and the site defintions. It's a good idea to use a resource file beacause you then can change titles, descriotions, names, locations, etc without entering the onet.xml file which becomes very large.
- Design the portal site template with all its contents in SharePoint. Build the structure, the web part zones, page layout, master pages, etc. that will be needed. The result of this process is what you then will bring into the Portal Site template. If the structure and content is not well defined when you start it will be more time consuming to do make changes in the onet.xml file.
- Create a "dummy" team site which includes ALL the web part types that you have used in your portal site.
- Run SharePoint Solution Generator on the "dummy" team site to create a site template. The content of this template you can then cut and paste in all the site templates that are included in you owen portal site template. Saves you a lot of time and uneccessary cursing :-)
- Identify all the different site templates that will be needed and enter these into the webtemp_myportalsite.xml file
- Build the portal site structure in the mywebmanifest\myportalsite.xml file
- Build the site templates in the sitetemplates\myportalsite\* catalog and the corresponding onet.xml file
- Adding web parts to the definition. Export the web part from the site and cut and paste the web part data/definition into the onet.xml file.
- Office 2007 Business Applications (Excel, Word, Access, ++)
- SharePoint Server 2007 Application Development (70-542)
- Windows SharePoint Services 3.0 Application Development (70-541)
- Microsoft Certified Professional Developer (MCPD) (
- Windows SharePoint Services 3.0 Configuration (MCTS) (70-631)
- BizTalk 2006 (MCTS) (70-235)
- SQL Server 2005 (MCTS) (70-431)
- SQL Server 2005 Business Intelligence (MCTS) (70-445)
Examples to come:
Instead of guesswork dotTrace gave me an direct asnwer to where the "power leakage" was. And when you know exactly what the problem is - a quick an easy solution is just around the corner :-)
So check it out: www.jetbrains.com
SharePoint Solution Administration
- Todd Baginski's Feature Manager. Great tool for browsing and installing/removing features on your SharePoint installation.
- SharePoint 2007 Explorer. Great tool to investigate your site and see all the parameters that is set. More or less the whole object model is made visible in a click and browse manner.
- SharePoint Feature Pack (Scott Hillier). Print Liste, Theme Changer, PlaceHolder Master, Presence Contact List, Content Type Hierachy, Log Viewer, etc.
- IEWatch. To check what's going on in IE when a page is being loaded; files being loaded, from where the files are loaded, time it takes, etc.
- Content Type Hierachy, Log Viewer, Placeholder Master, Presence Contact List, Print List and Theme Changer - all from Scott Hillier. The names of the features should give a pretty good idea on what they are and when to use them. :-) You may visit Scott Hilliers own blog spot to see some examples of the same features.
- BDC Meta Man (license). THE tool for making external data available in SharPoint lists and applications.
- Windows Services Upload Tool (freeware). Uploading mltiple documents from a file share to SharePoint document lirbary