SharePoint, PowerShell, .Net and other stuff I spend too much time on...
11/21/2007
Misc. Windows Tools
Need to access a ISO disk image as a virtual CD / DVD?
Microsoft has an unsupported device driver you can download. After downloading, double-click on the file to extract it and the follow the instructions in the readme file.
http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe
11/18/2007
SharePoint Search 2008 - MOSS search for WSS?
Just found this:
http://jopx.blogspot.com/2007/11/introduction-to-microsoft-search-server.html
Microsoft is updating MOSS for Search and suppling a version that can be installed over WSS. This is even free (an Express Edition) if you are using just one server (Express will not scale to multiple server).
Follow the link for details...
11/06/2007
Temp
SharePoint Designer Workflow Extensions (custom actions)
SharePoint Designer Workflow Extensions (custom actions)
http://www.codeplex.com/spdwfextensions
Add Your Own Custom Workflow Activities to SharePoint Designer 2007
http://johnholliday.net/archive/2007/03/27/Add-Your-Own-Custom-Workflow-Activities-to-SharePoint-Designer-2007.aspx
A more complex example (sends email)
http://www.sharepointblogs.com/tbaginski/default.aspx
MOSS Accounts
MOSS 2007 Setup Accounts
http://claytonj.wordpress.com/2007/04/23/moss-2007-setup-accounts/
TechNet - Plan for administrative and service accounts (Office SharePoint Server)
http://technet2.microsoft.com/Office/en-us/library/f07768d4-ca37-447a-a056-1a67d93ef5401033.mspx?mfr=true
How to change user accounts that run MOSS Services & App Pools
http://sharepointblog.spaces.live.com/blog/cns!74C8FB1191265567!167.entry
A complete step by step on create a Visual Stuido workflow for SharePoint, including InfoPath forms:
Part 1: http://weblog.vb-tech.com/nick/archive/2007/02/25/2207.aspx
Part 2: http://weblog.vb-tech.com/nick/archive/2007/03/05/2241.aspx
CAS for Webparts
http://www.sharepointblogs.com/ssa/archive/2007/01/12/moss-2007-and-code-access-security.aspxhttp://msdn2.microsoft.com/en-us/library/ms916855.aspx
Working with Features
http://msdn2.microsoft.com/en-us/library/ms460318.aspx
Feature Menu IDs - How to: Add Actions to the User Interface
http://msdn2.microsoft.com/en-us/library/ms473643.aspx
How to execute JScript code from an InfoPath 2007 browser-enabled form template
http://support.microsoft.com/kb/555990
InfoPath: Passing Command Line parameters to a new form
http://geekswithblogs.net/bpaddock/archive/2004/05/14/4907.aspx
Pass parameter (Custom Long Url) to Infopath 2007 browser forms using BDC Custom Actions
http://www.sharepointblogs.com/lovedjohnysmith/archive/2007/07/12/pass-parameter-custom-long-url-to-infopath-2007-browser-forms-using-bdc-custom-actions.aspx
Scripting with InfoPath 2003
http://www.windowsitlibrary.com/content/888/06/2.html
InfoPath Object Model Wall Chart
http://www.microsoft.com/downloads/details.aspx?familyid=771aeb45-9d27-4d1f-acd1-9b950637d64e&displaylang=en
Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions
http://www.microsoft.com/downloads/details.aspx?familyid=19F21E5E-B715-4F0C-B959-8C6DCBDC1057&displaylang=en
SharePoint Products and Technologies Templates: Web Part Templates for Visual Studio .NET
http://www.microsoft.com/downloads/details.aspx?familyid=CAC3E0D2-BEC1-494C-A74E-75936B88E3B5&displaylang=en
InfoPath - Get User Name
http://blogs.msdn.com/infopath/archive/2006/05/26/608092.aspx
InfoPath - Get the User Profile through MOSS Web Services
http://blogs.msdn.com/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
InfoPath - Get the current user without writing code
http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx
SSRS
http://technet2.microsoft.com/Office/en-us/library/48aa9772-41cb-488e-80c1-25547d1ea3001033.mspx?mfr=true
http://blogs.msdn.com/sharepoint/archive/2007/02/19/microsoft-sql-server-2005-sp2-reporting-services-integration-with-wss-3-0-and-moss-2007.aspx
11/03/2007
InfoPath: Forcing a form to open from SharePoint into a browser
If you are using MOSS Enterprise Edition or you have installed InfoPath Forms Server with your WSS 3.0 or MOSS Standard Edition then your users can fill out InfoPath forms using a browser... IF... they have do not have the InfoPath program installed on their local PC.
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:
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.
.
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
- How To's and Tips:
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 ...
- 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 ...
Subscribe to:
Posts (Atom)
Note to spammers!
Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.