SharePoint, PowerShell, .Net and other stuff I spend too much time on...
11/21/2007
Misc. Windows Tools
11/18/2007
SharePoint Search 2008 - MOSS search for WSS?
11/06/2007
Temp
11/03/2007
InfoPath: Forcing a form to open from SharePoint into a browser
If they do have InfoPath installed then SharePoint will open the form in InfoPath. (How does it know? See here.) Of course before any browser related features will work, you must set the correct options in InfoPath when you design and publish the form:
- Select: Tools, Form Options, Compatibility, Design a form template that can be opened in a browser or InfoPath
- And when you publish: you must checkmark "Enable this form to be filled out by using a browser"
Microsoft has an MSDN article on this topic. Three of their examples are for opening an existing form and one is for creating a new form, but I had to make one change to make it work.
Here is their article: How to: Use Query Parameters to Invoke Browser-Enabled InfoPath Forms http://msdn2.microsoft.com/en-us/library/ms772417.aspx
Here is their example (scroll down to "Using a URL with the XsnLocation, SaveLocation, and Source parameters"):
http://ServerName/sites/SiteCollection/_layouts/FormServer.aspx?XsnLocation=~sitecollection/FormLibrary/Forms/template.xsn&SaveLocation=~sitecollection/FormLibrary&Source=~sitecollection/FormLibrary
(replace servername, sitecollection and formlibrary with your path to the library with the form)
This example just prompted me to save or open (in InfoPath) the form. To get it to open in a browser you must add &OpenIn=Browser to the end of the URL. Here is what I got to work:
http://ServerName/sites/SiteCollection/_layouts/FormServer.aspx?XsnLocation=~sitecollection/FormLibrary/Forms/template.xsn&SaveLocation=~sitecollection/FormLibrary&Source=~sitecollection/FormLibrary&OpenIn=Browser
Now only two problems to solve:
1) The NEW menu still opens the form in InfoPath. I have to list the above link somewhere on the site so users can always create a form in their browser.
2) This only seems to work on form templates stored in a forms library and not with a form published as a Content Type.
.
InfoPath
- InfoPath: Forcing a form to open from SharePoint into a browser
- SharePoint: How does MOSS know the user has InfoPath installed?
My Favorite InfoPath Books:
When I was first learning InfoPath I browsed through a number of books to find one that covered both InfoPath and using InfoPath with SharePoint. The book below was the book I picked, and still recommend in my classes. Update: There is a 2010 version of the book in the works. I have not gotten my hands on it yet, but if it is as good as the 2007 version ...
10/31/2007
SharePoint: How does MOSS know the user has InfoPath installed?
Here's a sample of what is sent as part of the User-Agent string:
- User-Agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
What can we tell from this example:
- Internet Explorer 6.0 (MSIE 6.0)
- Windows XP Service Pack 1 (Windows NT 5.1; SV1)
- InfoPath 2007 (InfoPath.2)
- 1.1, 2.0 and 3.0 .Net runtimes installed (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Here's another user:
- User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Very similar, but is using Internet Explorer 7.0 and only has .Net 1.1 and 2.0 installed.
This one is interesting in that it is coming from a server (maybe):
- User-Agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; WOW64; SV1)
Windows NT 5.2 is either Windows Server 2003, XP Professional 64 Bit, or Windows Home Server. (Interesting reuse of a version number!) One other note, the user in this example is running a 32 bit version of IE 6.0 on a 64 bit machine. WOW64 = Windows-on-Windows 64-bit.
And this one is from a FireFox 2.0 user:
- User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
.
10/20/2007
SharePoint 2007 Links - Features, Migration, Management Tools
MOSS Service Accounts
The Microsoft article: http://technet2.microsoft.com/Office/en-us/library/f07768d4-ca37-447a-a056-1a67d93ef5401033.mspx?mfr=true
A short and easy article on accounts: http://cregan.wordpress.com/2006/12/08/moss-setup-service-accounts/
Sample Features
Two simple and cool features: Print Page Feature - adds a new item to the Actions menu to display and print a clean view of a list. Windows List Feature - adds a new links list template with options to open in a new window and to control sizing and menu options. And a bunch more... https://mail.maxtrain.com/exchweb/bin/redir.asp?URL=http://www.codeplex.com/features/Release/ProjectReleases.aspx?ReleaseId=2502
Alternate Access Mappings
What every SharePoint administrator needs to know about Alternate Access Mappings (Part 1 of 3) https://mail.maxtrain.com/exchweb/bin/redir.asp?URL=http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx
2003 to 2007 Migrations Cornelius J. van Dyk's SharePoint Brain Dump: Step-by-Step – A REAL world upgrade of a SharePoint Portal Server 2003 (SPS) farm to Microsoft Office SharePoint Server 2007 (MOSS)http://www.cjvandyk.com/blog/Lists/Posts/Post.aspx?List=744536f4%2D127e%2D4c4a%2Dbcff%2Db85408e7e7e5&ID=107
MOSS Planning:
Microsoft Office SharePoint Server Deployment Plan Sample (MS Project)http://go.microsoft.com/fwlink/?LinkId=101328&clcid=0x409 HP ProLiant Sizer for Microsoft Office SharePoint Server 2007http://h71019.www7.hp.com/activeanswers/Secure/548230-0-0-0-121.html
Migration Tools:
Migration tools, both 2003 to 2007 and 2007 to 2007 (for staging to production deployments)
metaLogic SharePoint Site Migration Manager http://www.metalogix.net/products/migrationmanagersp/index.htm
AvePoint DocAve 4.1 Migrator for SharePoint (also supports Exchange public folders to 2003 or 2007) http://www.avepoint.com/products/sharepoint-migration
ecKnowledge (also has tools to migration to/from Notes and other products)http://www.casahl.com/Solutions/SharePointSolutions.html
Microsoft Transporter for Lotus DominoResources for Interoperability and Migration from Lotus Domino http://technet.microsoft.com/en-us/interopmigration/bb403105.aspx Proposion Software Notes/Domino to SharePointhttp://www.proposion.com/site/proposion.nsf/pages/SharePoint
SharePoint Management Tools
COOL free TOOL! Discovery Wizard for Sharepoint Freewarehttp://www.quest.com/2_0/registration.aspx?requestdefid=8286
Quest - Microsoft SharePoint Tools for the Enterprise http://www.quest.com/sharepoint/
AvePoint - DocAve 4.1 Content Manager for SharePoint http://www.avepoint.com/products/sharepoint-content-management
Universal SharePoint Manager 2007Environment (Farm) Reporting, User Site Security Analyzer, User List/Item Security Analyzer, Add User http://www.idevfactory.com/products/uspm2007/
Site Security, Remove User Site Security, Clone User Site Security http://www.idevfactory.com/products/uspm2007/default.aspx
ScriptLogic Security Explorer for SharePoint
http://www.scriptlogic.com/products/security-explorer/sharepoint/
New SharePoint Links - Install, Upgrade, Tools
MSDN Forums » SharePoint Products and Technologies http://mssharepointforums.com/
Service Accounts:
The base accounts needed for SharePoint MOSS http://blogs.msdn.com/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx
The Microsoft article: http://technet2.microsoft.com/Office/en-us/library/f07768d4-ca37-447a-a056-1a67d93ef5401033.mspx?mfr=true
A short and easy article on accounts: http://cregan.wordpress.com/2006/12/08/moss-setup-service-accounts/
Version comparisions...
Web page: http://office.microsoft.com/en-us/sharepointtechnology/FX101758691033.aspx Excel file: http://download.microsoft.com/download/1/d/c/1dc632e8-71e1-466f-8a2f-c940f1438e0a/SharePointProductsComparison.xls
Install and Upgrade links Upgrading to Office SharePoint Server 2007 http://technet2.microsoft.com/Office/en-us/library/94c49b6d-527e-4387-9557-8cfe8b55ede91033.mspx?mfr=true
Setting up Forms Based Authentication http://devcow.com/blogs/jdattis/archive/2007/02/23/Office_SharePoint_Server_2007_Forms_Based_Authentication_FBA_Walkthrough_Part_1.aspx
Configuring Kerberos for SharePoint 2007: Part 1 - Base Configuration for SharePoint http://blogs.msdn.com/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx
Which server should host Central Administration (and how to move it) http://www.sharepointblogs.com/johnwpowell/archive/2007/07/10/which-server-the-sharepoint-central-administration-web-site-should-be-installed-on-and-how-to-move-it-there.aspx
Estimate performance and capacity requirements for Windows SharePoint Services collaboration environments (Office SharePoint Server) http://technet2.microsoft.com/Office/en-us/library/0a7b2b45-f633-46d2-a4fd-78691d4b8f631033.mspx?mfr=true
Plan for software boundaries (Office SharePoint Server) http://technet2.microsoft.com/Office/en-us/library/6a13cd9f-4b44-40d6-85aa-c70a8e5c34fe1033.mspx?mfr=true
Internet/Extranet/Intranet, etc. Logical architecture model: Corporate deployment http://technet2.microsoft.com/Office/en-us/library/1cffb278-6497-46fc-abd0-3dd652064c891033.mspx?mfr=true
More links here: Scale, Performance, and Capacity Planning http://blogs.msdn.com/sharepoint/archive/2007/03/08/scale-performance-and-capacity-planning.aspx
Tool and Features
Microsoft IT Site Delete Capture 1.0 http://blogs.msdn.com/sharepoint/archive/2007/04/30/microsoft-it-site-delete-capture-1-0.aspx
SharePoint Tools: SharePoint 2007 Tools Collection v2 (very insteresting list of tools here) http://blogs.msdn.com/walterst/archive/2007/06/20/sharepoint-2007-tools-collection-v2.aspx
Other links
Using Grove with SharePoint http://download.microsoft.com/download/8/2/2/822feaaa-5b56-48aa-9444-e85d49c99756/Microsoft%20Office%20Groove%20and%20SharePoint%20Integration.doc
Using OneNote with SharePoint http://www.sharepointblogs.com/ssa/archive/2007/02/02/onenote-and-sharepoint.aspx
SharePoint books http://workerthread.wordpress.com/2007/10/14/sharepoint-books-my-recommendations/
Real world Examples
Dell MOSS White paper http://www.dell.com/downloads/global/casestudies/2007_DellOnSharepoint.pdf