How to Hide a SharePoint Document Library

I had a recent question on not only how to remove permissions to a particular SharePoint Library, but hide it as well without deleting any content. This same steps can also hide any other list within SharePoint.

In essence SharePoint wants to not only want to share everything, but show you everything as well. This is just an inherent trait within SharePoint that makes it so great. If you need to not only remove permissions and hide the Document Library you will need to take the following steps.

As we can see below we have an existing document library called ‘HideMe’ Continue reading

Using a DotNetNuke auth database for a SharePoint FBA database

While there are a fair number of sites outline how to set up a Forms based authentication (FBA) front end using an new empty SQL database. An excellent one by my co-worker Corey Burke at Rackspace is SharePoint Voodoo: Easy-Bake Forms Based Authentication. There are none that outline the process of using a new FBA with an existing DotNetNuke authentication database.

1. Create your FBA site with a new blank FBA database back-end. For this purposes I will call the FBA database ‘FBA-DB’ and the DotNetNuke database as ‘DNN-DB’.

In this instance we were lucky because both database bases use a standard authentication database from Microsoft when the aspnet_regsql command is used. When we create a blank FBA database it will have the standard database structure like the one pictured below. Continue reading

SharePoint Site Prompts for Multiple Authentications while Opening a Document

Recently I had a customer who when they tried to open a Word document in their Shared Documents they received multiple prompts from Internet Explorer and Word. This seems to typically happen when the SharePoint site/server is remotely hosted.

What happens is that IE will force this behavior because it does not believe that the SharePoint site is to be trusted. We can work around this designed behavior.

First we have to check to make sure Client Integration is turned on. Go to the following site within SharePoint Central Admin. Continue reading

SharePoint Site Prompts for Multiple Authentications while Opening a Document

Recently I had a customer who when they tried to open a Word document in their Shared Documents they received multiple prompts from Internet Explorer and Word. This seems to typically happen when the SharePoint site/server is remotely hosted.

What happens is that IE will force this behavior because it does not believe that the SharePoint site is to be trusted. We can work around this designed behavior.

First we have to check to make sure Client Integration is turned on. Go to the following site within SharePoint Central Admin. Continue reading

Setup SharePoint Forms Based Authentication (FBA) with Active Directory

This Article will explain how to set up Forms Based Authentication using an Active Directory backend.

Your default site is required to be a Windows Authentication provider. This is due to the fact that you the search and backup process will break if the default is anything other than a standard Windows provider.  This will require you to extend the existing site. Here is an example.

portal.domain.com —> extended to —> fba.domain.com

Windows login: portal.domain.com
FBA login: fba.domain.com

In our example we will be using the following typical variables which you will have to change to suit your particular needs in the appropriate web.config files.

Membership Provider name=”ENIGMA”
Role manager name=”ENIGMAROLE”
server=”domain.com”
userContainer=”DC=Domain,DC=com”

Continue reading

How to add a STP template for a new SharePoint site collection

To  add STP template for a new SharePoint site collection you will need to take the following steps in command line using the stsadm.exe command. These type of tempales are called ‘Server Admin Tempalates’.

The command is as follows. Note that the description is optional.

stsadm -o addtemplate -filename <template filename> -title <template title> [-description <template description>]

You will be prompted to do an iisreset to complete the template installation. Once iisreset is complete login to a web site create a new site and under “Custom” tab for “Template Selection” you should see your new template as an option. You can find greate Microsoft tempales from here Application Templates for Windows SharePoint Services 3.0.

Once this is completed the template will be avaliable from the SharePoint Central Admin or the self-service creation if avaliable. If you need to add a STP template to an existing SharePoint site try this entry I wrote up at How to add a STP template to an existing SharePoint site.

Source: Addtemplate: Stsadm operation (office SharePoint Server)

–Javi

Posted via web from Tech Growing Pains

How to add a STP template to an existing SharePoint site

This is a fairly easy process depending on where you are intending to add the template. These type of templates are called ‘Site Admin Templates’.The template is going to be part of an existing site collection take the following steps in the existing SharePoint site.

  1. Open the ‘Site Actions’
  2. Click ‘Site Settings’
  3. Click ‘Site Templates’ listed under the ‘Galleries’ section
  4. Click ‘Upload’
  5. Click ‘Browse…’ to select your local STP file
  6. Select ‘Open’
  7. Click ‘OK’
  8. Fill our the relevant information for the Name, Title, and Description (only Name field is required)
  9. Click ‘OK’

Once this is complete you can use the template for your new sub-sites with the existing SharePoint sites. The will be listed under the ‘Custom’ tab of the ‘Template Selection’ in the ‘New SharePoint Site’ page. You can find a great selection of Microsoft templates here Application Templates for Windows SharePoint Services 3.0.

-Javi

Changing Service Accounts in SharePoint

One of the most common mistakes I see people making in SharePoint is attempting to change SharePoint Application Pool identities incorrectly. The proper way to change SharePoint Application Pool identities is as follows:

 

  1. Open SharePoint Central Administration
  2. Go to Operations > Security Configuration > Services Accounts
  3. Select ‘Web application pool’ > set ‘Web service’ to ‘Windows SharePoint Services Web Application’ > set ‘Application pool’ to the appropriate Application Pool.
  4. Enter in your appropriate information for ‘Select an account for this component’
  5. Click ‘OK’

–Javi

Posted via email from Tech Growing Pains

Moving ‘My Sites’ in SharePoint to a sub-site

I recently ran across this senerio where a client who has Micrsoft Office SharePoint 2007 Standard was not able to create an additioanl DNS entry for the ‘my sites’ to work as designed but they wanted that functionality.

As an example the domain that will will call ‘http://domain123.com’ could not create ‘http://my.domain123.com/<username>’ so that my sites will work as expecte d. In this type of limitation you can use the my site as a sub-site like ‘http://domain123.com/mysite/<username>’.

This type is movement is also useful if you don’t want to share my sites functionality across different SSPs. In a typical SharePoint installation my sites is shared among different SSPs.

Take these steps:

1. Go to Central Administration > Application Management > Define Managed Paths
a. In path add ‘mysite’, change type ‘Explicit inclusion’, and click OK
b. In path add ‘personal’, change type ‘Wildcard inclusion, and click OK

2. Go to Central Administration > Application Management > Create Site Collection
a. Change the web application to your web application as in our example it will be ‘http://domain123.com’
b. In Title type ‘MysitePage”, in URL drop down select ‘mysite’, in select a tempalte select ‘entrprise->my site host’, click OK

3. Go to Shared Services Administration >(your SSP) > My Site Settings
a. Change Personal site provider to ‘http://domain123.com/mysite/’
b. change location to ‘personal’
c. click OK

Chris Johnson’s page notes that any existing mysites will be lost and recreated unless you use the STSADM command line to move them into your new location.

http://blogs.msdn.com/cjohnson/archive/2006/09/15/754902.aspx

Add SharePoint templates via command line

To  add SharePoint templates via command line you will need to run the following command. Note that the description is optional.

stsadm -o addtemplate -filename <template filename> -title <template title> [-description <template description>]

You will be prompted to do an iisreset to complete the template installation. Once iisreset is complete login to a web site create a new site and under “Custom” tab for “Template Selection” you should see your new template as an option.

On an odd side note these newly installed templates will not appear as expected in the template gallery but they will be there when you go and create new subsites under the custom tab.