Saturday, February 28, 2009

SharePoint Videos by Microsoft

Microsoft Have launch a new group of videos about using "SharePoint" and his features.

Hope this help :)

Windows SharePoint Services 3.0 Demo: Use a blog to connect with your coworkers

Office SharePoint Server 2007 Demo: Search for information on a SharePoint site

Office SharePoint Server 2007 Demo: Display KPIs in a dashboard

Office SharePoint Server 2007 Demo: Make better business decisions with reports and dashboards

Office SharePoint Server 2007 Demo: Enterprise Content Management with SharePoint Server

Office SharePoint Server 2007 Demo: Streamline business processes with forms and workflows

Office SharePoint Server 2007 Demo: Connect people to information with portals

InfoPath 2007 Demo: Store InfoPath forms in a document library on a SharePoint site

InfoPath 2007 Demo: Populate a drop-down list box from a SharePoint list

Office SharePoint Server 2007 Demo: Simplify collaboration with a SharePoint team site

Thursday, February 19, 2009

Launch Microsoft CRM 4 Mobile Express

Like Microsoft CRM 3.0, have Mobile Express application, Microsoft 4 have launch his Mobile Express.


Create SharePoint Sub Sites


Having the last days a conversation with IT director about creating multiple sub-sites, today have some time and make a litle search about creating Sub-Site.
Traveling half Portugal "Lisbon-Porto" in a train, read a litle SharePoint SDK and in fast way find a simple code to create multiple sub-site, using personal templates and user permissions.

How do i get The Personal Template?

Go to C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\[Culture]\xml
and you will see a "WEBTEMPSPS.xml" or other file start with "WEBTEMP*".
Open File and you will see:
Template ID = 20
Name: SPS#0

The Name is the value use to Custom Template

using (SPSite site = new SPSite("[URL Top-Site]"))
SPWebApplication webapp= site.WebApplication;
webapp.Sites.Add([Site Path]"/Finance",
[Sub Site Descrition]"Finance Sub site",
[Language Site]1033,
[Name template]"[SPS#0]",
@"[Domain]\[Login Name]",

With this example my recomendation to create multiple sites is using XML configuration file to define hierarquical sites and Values ["URL","Title", "Descrition","Template","LoginName","OwnerName",Email].

Delete Site
c:\programs\....\bin\stsadm -o deletesite -url http://localHost

Build Site
c:\programs\....\bin\stsadm -o createsite -url http://localHost -ownerlogin [Login User] -owneremail [email] -sitetemplate STS#0

Delete a Web Based on a Template
stsadm -o deleteweb -url http://localHost/teste

Create Web Based on a Template
stsadm -o createweb -url http://localhost/teste -lcid 1033 -sitetemplate Helpdesk#1 -title TestWeb

Hope this help creating sub Sites in a fast Way :)

Thursday, February 05, 2009

SharePoint Diagnostics Tool (SPDiag)

Everybody have problem with sharepoint (Performance, erros, iis, etc etc etc) and need to use all skill in Microsoft Server enviroment and develomp to take fast and correct responses to client, Microsoft have launch this tool already made test and see a good future... all the step have to made, can be in one aplication just great....

SharePoint Diagnostics Tool (SPDiag)

Microsoft SharePoint Administration Toolkit v3.0 x86

Sunday, February 01, 2009

SPDisposeCheck, Check SharePoint Dispose Code


Have been working with Sharepoint API SDK code and one problem i have some time ago was Dispose Controls, this tool can help us to create a better code...

From blogs.msdn Article:
"SPDisposeCheck is a tool to help you to check your assemblies that use the SharePoint API so that you can build better code. It provides assistance in correctly disposing of certain SharePoint objects to help you follow published best practice. This tool may not show all memory leaks in your code. Further investigation is advised if you continue to experience issues.

SPDisposeCheck.exe takes the path to a managed .DLL or .EXE or the path to a directory containing many managed assemblies. It will recursively search for and analyze each managed module attempting to detect coding patterns based on the MDSN article."

Hope this help...