European Sharepoint Hosting Blog

Articles about European Sharepoint Hosting Service

Follow me on TwitterRSS Feeds

  • Home
  • About
image_1

European SharePoint 2010 Hosting :: How to Deploy .wsp file Using Visual Studio 2010 for SharePoint 2010

Apr 20th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

A solution package is a distribution package that delivers your custom SharePoint Server 2010 development work to the Web servers or the application servers in your server farm. Use solutions to package and deploy custom Features, site definitions, templates, layout pages, Web Parts, cascading style sheets, and assemblies.

In SharePoint 2010 it is easy to create a .wsp file using visual studio 2010, which was previously very difficult in MOSS 2007. To deploy any solution package in any local environment in Visual Studio 2010 simply right click on the project and deploy. But to deploy the same thing in the production server we will need to deploy through .wsp file.

Steps to generate the wsp file:

Right click on the project/solution in Visual Studio 2010 then choose package. If you are building the

project/solution in debug mode then you will get the .wsp file inside the Bin\Debug folder and if you are building the project in release mode then you will get the .wsp file inside the Bin\Release folder. This wsp file is needed to deploy in the production environment.

This is the best way to create the wsp file in visual studio 2010.

There are different ways you can deploy the .wsp file

Using browser:

Go to the Central Administration -> Site Actions ->Site Settings -> Galleries –> click on Solutions. After this the below page will open as shown in the figure.

Click on Upload solution and then browse to the wsp file as shown below in the figure.

Once you will click Ok then activation window will appear like below figure.

Then you can use the solution.

Using PowerShell:

To add a solution using PowerShell:

Open the SharePoint 2010 Management Shell. You can get to this by going to Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell.

Add-SPSolution {path of wsp file}

To deploy the solution using power shell

Install-SPSolution –Identity {path of wsp file}.wsp –WebApplication http://-GACDeployment

To update solution

Update-SPSolution –Identity {path of wsp file}.wsp –LiteralPath {local path of wsp file}wsp –GACDeployment

To uninstall solution

Uninstall-SPSolution –Identity {path of wsp file}.wsp –WebApplication http://

Remove solution

Remove-SPSolution –Identity {path of wsp file}.wsp

Using Stsadm:

Add the solution

stsadm -o addsolution -filename {path of wsp file}

Deploy the solution

stsadm -o deploysolution -name {path of wsp file} -url {URL}

Retract solution:

stsadm.exe -o retractsolution -name {path of wsp file}.wsp –URL

Delete Solution

stsadm.exe -o deletesolution -name {path of wsp file}.wsp

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
image_1

European SharePoint 2010 Hosting :: Solve – “Your search cannot be completed because this site is not assigned to an indexer” on SharePoint 2010 Foundation

Apr 6th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

SharePoint 2010 Foundation problems encountered when doing a quick spin-up of a test instance.

  • Search service wouldn’t start
  • Performing a search returned the error “Your search cannot be completed because this site is not assigned to an indexer”

To allow the search service to start the credentials assigned to the service were changed from Local Service to Local System.

To fix the “not assigned to indexer” error use Central Administration.

Navigate to “Manage content databases.”

Make sure you have the correct web application selected and click on the content database.

Scroll down and find the Search Server section and select the search server from the drop-down.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
image_1

European SharePoint 2010 Hosting :: Customize SharePoint Custom Lists Using MS InfoPath 2010

Mar 20th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

Problem

The default SharePoint 2010 list forms (DispForm , EditForm & NewForm) are quite generic (as they were with previous SharePoint versions).. Wouldn’t it be great to be able to customize the look & feel of them?

InfoPath 2010 to the rescue…

Solution

Microsoft InfoPath 2010 makes designing and publishing electronic forms easier than ever. InfoPath enables you to create powerful, interactive forms without writing any code. With a few clicks, an Office user can customize SharePoint list forms, add custom layout elements, and add business rules to validate the data. In addition to working with the forms online while connected to SharePoint Server 2010, you can also take the list and associated forms offline, and then work with the forms in SharePoint Workspace.

InfoPath is based on Extensible Markup Language (XML). When you design a form template, InfoPath creates an .xsn file, which is a cabinet (.cab) file that contains the files necessary for the form to function, such as XML Schema (XSD) and XSL Transformation (XSLT) files. When a user fills out a form in InfoPath, the data in that form is saved or submitted as industry-standard XML. However, you don’t have to know anything about XML to design a form template or fill out a form. The point is that XML can make it easier for your organization to repurpose the data that it collects by using forms.

Let’s see how to customize a SharePoint custom list using MS InfoPath 2010 designer:

- Assume that we have a SharePoint custom list named “MSSharePointTips IFP” with the following columns “Name , Age , Address & Birth Date”:

- When we click on “Add new item” link we’ll see:

- Click the “Customize Form” button under “List” settings at the ribbon option “List Tools”:

- InfoPath Designer 2010 will be launched and add the “MSSharePointTips IFP” columns fields at a custom InfoPath “New” entry form :

- Let’s customize the fields, making them bold and setting the font-color to be red”. Save the form, then click on the “Preview” button:

- Here’s the form after applying a set of customizations in preview mode. Click on “Close Preview” button.

- Click on the “Quick Publish” button or use “Ctrl + Shift + Q”:

- Wait until receiving the confirmation message: “Your form template was published successfully”…

- If we return back to the “MSSharePointTips IFP” list and click on the “Add new item” link , we’ll see our customizations:

- If we want to revert (rollback) our InfoPath customizations and return to the SharePoint default settings, click on the “List Settings” button under “List” settings at ribbon “List Tools”:

- Click on “Form Settings” under “General Settings”:

- Select “Use the default SharePoint form” and check “Delete the InfoPath Form from the server” then click OK:

- Now if we click on “Add new item”, we’ll see the SharePoint default entry “New Item” form:

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
image_1

European SharePoint 2010 Hosting :: Modifying the Core Search Results Web Part to Display Results Sorted by Site Name or Document Title

Mar 2nd

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

I recently had a requirement from my client to have the following functionality in SharePoint 2010:
a) The Search Core Results web part displaying sorted in Alpha order
b) The Search Core results part should just show sites (not documents) that the current user has access to.

Requirement b) was simple – you can set the keywords on the Core Search Web Part to just display sites (using the “contentclass:STS_Site” keyword in the “Fixed Keyword Query” property – and the part would default to showing a list of sites the current user has access to (via the normal SharePoint 2010 security trimming functionality).

However, the first requirement was a little bit trickier. The default Core Search Web part only provides for 2 search sort options – by date and by relevance (which is the default).

To fix this, the XSLT which defines the search results needs to be changed. This XSLT is specific to the instance of the web part – modifying it won’t affect the normal search functionality of your site.

To modify the XSLT for the search results web part, you need to first uncheck the “Use Location Visualization” checkbox. The XSLT that opens is around 700 lines long and has a lot of different XSL templates defined within it. To sort the search results by alpha order, you need to use an xsl-sort call within the main apply-templates call.

Some sites such as http://kwizcom.blogspot.com/2008/11/how-to-change-moss-search-retults-sort.html have a simple suggestion – but this would not work as the “select node is missing” on the “apply-templates directive. You need to provide a valid parent to allow for sorting. The fix was to change the empty apply-templates node in the default search XSL:

<xsl:apply-templates />

to the following:

<xsl:apply-templates select="All_Results/Result">
<!-- The xsl-sort needs operate upon a single field - it doesn't work if the sort has to evaluate child nodes-->
<xsl:sort select="title" />
</xsl:apply-templates>

Note that I didn’t require the other elements in the Search XML (the TotalResults and the NumberOfResults nodes), so this solution may not work in your scenario. This list can then act as a facility for cross-site collection navigation (which is not available out of the box in SharePoint 2010)

Another limitation of this approach is that it will only work on a non-paged resultset – which is a pretty major limitation! In our scenario (for Phase 1 of our provisioning solution), it was acceptable for our customer to increase the page size to avoid any pagination from occurring. Your mileage may vary.

Other solution options are:

  1. Scripting – Using jQuery to do a search call and sorting and paging the results yourself
  2. Server side – with your own custom web part that also does the paging for you – using the SPGridView or inheriting from

Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart

Phase 2 of our project will use a combination of Server Side customization (as described at http://msdn.microsoft.com/en-us/gg620579) by extending the CoreResultsWebPart
and the jQuery approach above for easy inline searching of accessible site collections.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting

European SharePoint 2010 Hosting :: How to Create a Custom Web Service in SharePoint 2010

Feb 21st

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

There are numbers of out of the box web services present in SharePoint that will do most of the 

common tasks like methods for working with list ,sites and sub sites, users and groups etc. For
using these web services you need to add the reference of the web service . But if your
requirement doesn’t fit with any of the web methods like parameters of the method or functionality
of the method then you need to create a custom web service.

Below are the steps how you can create a custom web service.

Step: 1

Create an asp.net web service project in the visual studio. Name the project as TestServiceProject and rename the Service1.asmx file to TestWebService.asmx.

This .asmx file will contain the web methods and the programming logic. Now we
can go to the TestWebService.asmx.cs page and define a web method. 

Let’s say i want to create a web method which will do some operations on the list

[WebMethod]

public string TestMethod(string listName , SPWeb oWeb)
{
//Write the logic for the operation
}

Step: 2

In Solution Explorer, right-click TestWebService.asmx and select View Markup.
You will see the following line: 

<%@ WebService CodeBehind="Service1.asmx.cs" %>

Change this to:

<%@ WebService %> 

Step: 3

Now create a strong key name for the class library project and compile the project 

Step: 4

Now host this application in your IIS. Now we need to generate the .disco and the .wsdl files.

To generate the .disco and .wsdl file we need to run the disco.exe command.
The disco.exe file will be present at the path “C:\Program Files\Microsoft SDKs
\Windows\v6.0A\Bin”.

Now open the command prompt and run the disco command as:

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin > disco http://localhost:5050
/TestServiceProject/TestWebService.asmx 

Step: 5

Now open both the TestWebService.disco and TestWebService.wsdl file which will
be present at “C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin” and replace the XML processing instruction

“<?xml version=”1.0″ encoding=”utf-8″?>”

with 

<%@ Page Inherits="System.Web.UI.Page"%>
<%@ Assembly %>
<%@ Import Namespace="Microsoft.SharePoint.Utilities" %> <%@ Import Namespace="Microsoft.SharePoint" %>
<% Response.ContentType = "text/xml"; %>

Step: 6

In TestWebService.disco file modify the contactref and the soap address tags to:

<contractRef ref=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode
(SPWeb.OriginalBaseUrl(Request) + "?wsdl"),Response.Output="");
%>docRef=<%SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode
(SPWeb.OriginalBaseUrl(Request)),Response.Output);
%>xmlns="http://schemas.xmlsoap.org/disco/scl/" />

<soap address=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode
(SPWeb.OriginalBaseUrl(Request)),Response.Output);
%>xmlns:q1="http://tempuri.org" binding="q1:TestWebServiceSoap"
xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode
(SPWeb.OriginalBaseUrl(Request)),Response.Output);
%>xmlns:q2="http://tempuri.org" binding="q2:TestWebServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />  

Step: 7

In TestWebService.wsdl file modify the soap:address and soap12:address to:

<soap:address location=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(SPWeb.OriginalBaseUrl(Request))
,Response.Output); %> /> 

<soap12:address location=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(SPWeb.OriginalBaseUrl(Request))
,Response.Output); %> />

Now save the two files as TestWebServicedisco.aspx and TestWebServicewsdl.aspx. 

Step: 8

Now copy the files TestWebService.asmx, TestWebServicedisco.aspx and TestWebServicewsdl.aspx to the “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI” folder

Step: 9

To include the Web service in the list of web services on the server, open the spdisco.aspx file which is present at “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI” and add the following within the discovery element.

Now save the two files as TestWebServicedisco.aspx and TestWebServicewsdl.aspx.

<contractRef ref=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(spWeb.Url + "/_vti_bin/TestWebService.asmx?wsdl"), Response.Output); %> docRef=
<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(spWeb.Url + "/_vti_bin/TestWebService.asmx"), Response.Output); %>
xmlns="http://schemas.xmlsoap.org/disco/scl/" /> 

<soap address=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(spWeb.Url + "/_vti_bin/TestWebService.asmx"), Response.Output); %>
xmlns:q1="http://schemas.microsoft.com/sharepoint/soap/directory/" binding="q1:TestWebServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />

Step: 10

Now deploy the TestServiceProject.dll to GAC and the bin directory of the site on which you want to use the web service. Now you can consume the web service like the out of the box web service provided by SharePoint.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
image_1

European SharePoint 2010 Hosting :: How to provision SharePoint 2010 Managed Metadata columns

Feb 3rd

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

This post will show you how to provision Site Columns that uses Managed Metadata in SharePoint 2010. Managed Metadata is one of the new and exciting features of SharePoint Server 2010. It allows you to centrally manage metadata terms and keywords. Creating Managed Metadata columns using the SharePoint web interface is a simple task but the problem is that it does not allow you to move your Site Columns from one farm to another that easily. The reason is that these Site Columns definitions contains references to the unique IDs of the terms in the current Managed Metadata Service Application (MMS).

Exporting Site Columns

If you export a Managed Metadata Column and a Content Type using it to Visual Studio (SharePoint Designer > Export > Visual Studio Import, you know the drill) then you end up with definitions like below.

The Site Column is based on the TaxonomyFieldType and contains a Customization element which contains an array of properties (I’ve omitted most of them here). These properties contains IDs of the Managed Metadata group, term store and service application. Since these are unique for each MMS this definition cannot be provisioned to another farm (for instance from dev to stage, stage to prod etc).

Field
    Type="TaxonomyFieldType"
    DisplayName="Custom (web)"
    List="Lists/TaxonomyHiddenList"
    WebId="~sitecollection"
    ShowField="Term1033"
    Required="FALSE"
    EnforceUniqueValues="FALSE"
    Group="_Custom"
    ID="{fce6a8e2-23e8-49c2-9bad-a534555296bb}"
    SourceID="{5e68c9eb-5efe-4bcc-b8db-93d38d797fbe}"
    StaticName="__Custom"
    Name="__Custom"
    Overwrite="TRUE">
    <Default />
    <Customization>
        <ArrayOfProperty>
            <Property>
                <Name>SspId</Name>
                <Value
                    xmlns:q1="http://www.w3.org/2001/XMLSchema"
                    p4:type="q1:string"
                    xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">b98dd270-8577-4db8-99e1-b9e894624fdb
                </Value>
            </Property>
            <Property>
                <Name>GroupId</Name>
            </Property>
            <Property>
                <Name>TermSetId</Name>
                <Value
                    xmlns:q2="http://www.w3.org/2001/XMLSchema"
                    p4:type="q2:string"
                    xmlns:p4="http://www.w3.org/2001/XMLSchema
instance">b7ae10cd-6c7c-4386-a1f2-7abec8e759e1
                </Value>
            </Property>
            <Property>
                <Name>AnchorId</Name>
                <Value
                    xmlns:q3="http://www.w3.org/2001/XMLSchema"
                    p4:type="q3:string"
                    xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">00000000-0000-0000-0000-000000000000
                </Value>
            </Property>
            ...
        </ArrayOfProperty>
    </Customization>
</Field>

And if you examine the XML further you will also notice that a second field is defined for this Site Column. This field is of the type Note and is hidden.

<Field Type="Note" DisplayName="__Custom_0" StaticName="__CustomTaxHTField0" Name="__CustomTaxHTField0"
    ID="{a6eae615-9835-4b75-97bf-d4e7a938b892}" ShowInViewForms="FALSE" Required="FALSE"     Hidden="TRUE" CanToggleHidden="TRUE"
    SourceID="{5e68c9eb-5efe-4bcc-b8db-93d38d797fbe}" Overwrite="TRUE" />

A lot of XML but quite useless for reuse…

So how do I do then?

To provision the Site Columns and Content Types without these hardcoded Guids and IDs you basically have two options:

  1. Create an event receiver (or similar) that creates the Site Columns and Content Types programmatically
  2. A combination of declarative and the programmatic approach above

I prefer the second approach and I will show you how to do it (the first one can quite easily be done based on the code that will follow).

First you need to create a new SharePoint 2010 project in Visual Studio 2010, create a new Empty SharePoint project. Then add a new Content Type SharePoint Project Item (SPI) to the project and inherit it from the Item content type. Then add a new XML file to the SPI and name it Fields.xml. This elements manifest will contain the Site Column definition, but in order to make it into a manifest file you need to select the file and press F4 to edit the properties of the file. Change the Deplyment Type from NoDeployment to ElementManifest. Your solution should look like the image to the right. Also make sure to set the feature to be scoped to Site (Site Collection) level – we’re talking about deploying Site Columns and Content Types here.

Then it is time to write the declarative part (i.e. the XML). You need to add a new Field element of the type TaxonomyFieldType (or TaxonomyFieldTypeMulti). Configure it as follows or as it suits your needs. Notice that I have set the ShowField attribute to Term1033, this is needed by the MMS to select the correct term value.

xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Field ID="{749DA0D1-4649-4C25-871B-05F0C07221FC}"
    Type="TaxonomyFieldType"
    DisplayName="Home Country"
    ShowField="Term1033"
    Required="TRUE"
    EnforceUniqueValues="FALSE"
    Group="_Custom"
    StaticName="HomeCountry"
    Name="HomeCountry"
     />
</Elements>

To add this field to the content type there is no rocket science, just do as you normally do:

<FieldRef ID="{749DA0D1-4649-4C25-871B-05F0C07221FC}" Name="HomeCountry"/>

That’s all that you can do declarative. If this would be deployed a field would be created of the type Managed Metadata but you have to manually connect it to the MMS.

Now we have to dig into some programming to connect the field to the MMS. This is done in an Event Receiver for the feature. Right-click the feature and select Add Event Receiver. Uncomment the FeatureActivated method and implement it as follows:

public override void FeatureActivated(SPFeatureReceiverProperties properties) {
    SPSite site = properties.Feature.Parent as SPSite;
    Guid fieldId = new Guid("{749DA0D1-4649-4C25-871B-05F0C07221FC}");
    if (site.RootWeb.Fields.Contains(fieldId)) {
        TaxonomySession session = new TaxonomySession(site);

        if (session.TermStores.Count != 0) {
            var termStore = session.TermStores["Managed Metadata Service"];
            var group = termStore.Groups.GetByName("Wictors Group");
            var termSet = group.TermSets["Countries"];

            TaxonomyField field = site.RootWeb.Fields[fieldId] as TaxonomyField;

            // Connect to MMS
            field.SspId = termSet.TermStore.Id;
            field.TermSetId = termSet.Id;
            field.TargetTemplate = string.Empty;
            field.AnchorId = Guid.Empty;
            field.Update();
        }
    }
}


This method will first check if the field has been deployed. The field is retrieved using the Guid of the Field, defined in the XML. Once that is confirmed that the field exists a TaxonomySession object is acquired using the SPSite object. The TaxonomySession object is declared in the Microsoft.SharePoint.Taxonomy assembly – so you have to add a reference to that assembly first. To connect the field to the MMS you need to retrieve the Term Store, Group and Term Set. All this is done using the names of them as defined in the MMS. The image to the right shows how the MMS looks like that this code is connecting the field to. It is very likely that you have the same structure of the MMS in your different environments – if not you have to come up with a more configurable way :-)

Note the GetByName method used above is a custom extension that looks like this:

public static Group GetByName(this GroupCollection groupCollection, string name) {
    if (String.IsNullOrEmpty(name)) {
        throw new ArgumentException("Not a valid group name", "name");
    }
    foreach (var group in groupCollection) {
        if (group.Name == name) {
            return group;
        }
    }
    throw new ArgumentOutOfRangeException("name", name, "Could not find the group");
}

Once you have a hold on the taxonomy objects then it is time to convert the Field to a TaxonomyField object. This object is then configured with a set of properties. Specifically the ID of the Term Store and Term Set is set. Finally the field is updated to reflect the changes.

The Result!

That’s it. All you now have to do is deploy it and test it out.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting

European SharePoint 2010 Hosting :: Benefits of Using SharePoint 2010 Hosting

Jan 11th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

Quite a few businesses are actually aware about the advantages that the SharePoint can offer for a business enterprise. The biggest advantage of using SharePoint 2007 is its capability of enabling you with the accessing your documents and files within the SharePoint Portal from various sources. The important aspect of sharing information and files within the organisation gains pace and is simplified SharePoint 2010. No matter if you operate a small or a mid-sized business, it may happen that you need to access a higher volume of digital documents on a regular basis, choosing to go with a SharePoint Hosting solution can be an ideal choice in streamlining your business operations. With the passing days the number of documents required for your business operations would keep on increasing and a stage would come when it becomes somewhat unmanageable with the traditional computing tools. Then, a more sophisticated and smarter solution which not only help you organise things but makes it easy to share can be chosen. SharePoint is just the thing that you can expect.

The SharePoint 2010 offered by Microsoft is a tool that offers a combination of versatility and simplicity for usage. Users can gain access to the mission critical files and documents from remote locations as well, ofcourse you need to have an access to the Internet. Moreover, SharePoint 2010 offers users with an active directory security.

Knowledge sharing is one of the very crucial aspects for any business organisation. With SharePoint 2010, one can easily be able to satisfy this need of knowledge sharing in a much simpler and effective manner. Making the availability of crucial information necessary for the smooth operation of your business can be made available to your staff with just few clicks. Knowledge sharing has never been any easier. SharePoint 2010 also allows version control and document approval functionalities.

An extended level of portal customisation and control is achievable with SharePoint. Once can work with web-parts and quick launch buttons better and organise them as per preferences for achieving better efficiency. You could even customise the home-page according to your preferences. Hot-links is another feature which is offered by SharePoint services, which would enable users to access frequently required documents at a single click of a button.

With SharePoint, you also have the provision of setting alerts for any changes made to the documents hosted on your account. This enables you to keep a track about the changes happening to your documents. This feature can be helpful when someone gains an unauthorised entry to your account and tries to make changes to your mission critical data.

SharePoint 2010 can be a useful business management tool. It can further enhance an organisations social computing capabilities and an effective management and accessibility of Collective intelligence can be achieved.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
image_1

European SharePoint 2010 Hosting :: Web Templates and Content Type Publishing SharePoint 2010

Jan 9th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

The Problem

Web templates allows you to specify which features to activate by customising the onet.xml file. Usually developers will pick the nearest one or more site definition’s onet.xml they want to use – copy the WebFeatures and SiteFeatures (which is totally acceptable). For example, for a publishing site I may use the CMSPUBLISHING onet.xml which you can find at:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\SiteTemplates\SPS\XML\onet.xml

But what about if your web application is subscribed to a content type hub and you are expecting those published content types to come down to your new site created using the web template?

If you check your site (provisioned using a web template) settings, you will not find the ‘Content Type Publishing’ setting under Site Collection Administration. This is the place where you will see the content types consumed by the site (from the content type hub).

Below is a screenshot of this setting:

The highlighted option will not be available if you used a web template.

What is missing?

SharePoint feature staples a hidden feature to enable this functionality on sites. As you may guessed already, this feature stapling works when you create a site from the default site templates available, but not when you create a site from a web template. As a matter of fact, web templates do not support feature stapling!

All we need to do now is include this hidden site feature in our web template’s onet.xml!

The Solution

This hidden feature is TaxonomyFeatureStapler which can be found at:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\TaxonomyFeatureStapler

Hang on, if you look at the feature elements file (TaxonomySitesToStaple.xml), it actually associates another feature. This feature is TaxonomyFieldAdded which can be found at:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\TaxonomyFieldAdded

So, this is the feature we are interested in. Now we can add this feature in the SiteFeatures element (as this is a site feature & farm scoped web template)


[ TaxonomyFieldAdded feature GUID: 73EF14B1-13A9-416b-A9B5-ECECA2B0604C ]

If the web template is site scoped, you may need to activate this feature from a web scoped feature as SiteFeatures element don’t get parsed o a site scoped web template.

Now your site provisioned by a web template will be able to consume the content types published from its content type hub.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting

European SharePoint 2010 Hosting :: Advantages of SharePoint 2010 Service Application over SSP

Dec 9th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

In SharePoint 2010, Shared Service Providers (SSP’s) are replaced by Service Applications. Services are no longer combined into a SSP. They run independently as a service application. The service application architecture is now also built into Microsoft SharePoint Foundation 2010, in contrast to the Shared Services Provider (SSP) architecture that was only part of Office SharePoint Server 2007.

A key benefit here is that all services are installed by default and there is no SSP setup.

  • The services architecture is extensible, allowing third-party companies to build and add services to the platform.
  • Services are managed directly in Central Administration (rather than a separate administration site).
  • Services can be monitored and managed remotely.
  • Services can be managed and scripted by Windows PowerShell.
  • Shared services communications take place over HTTP(S). Shared services do not directly access databases across farms.
  • Most new services are built on the Windows Communications Framework. They have optimization built into their protocol, using binary streams instead of XML for data transfer. Test results show improvements in network throughput with this change.

Advantages of Service Applications over SSP

The key limitation of the SSP architecture was that it was configured by using a set of services, and all web applications associated with the SSP bore the overhead of all the services even if they weren’t being used. To change the service configuration for a particular Web application, a new SSP would have to be created.

The service application architecture on the other hand, allows a set of services to be associated with a given Web application and a different set of services to be associated with another Web application. Also, the same service application can be configured differently in different Web applications; therefore, Web sites can be configured to use only the services that are needed, rather than the entire bank of services.

One major advantage to this new architecture is the flexibility in scaling service applications up and out. Another advantage is that service application to other farms. To do this you simply install the service application’s proxy in the other farm and point it to a specific URI provided by Central Administration when you publish the service application. This enables enterprises to have dedicated service farms that can be specially configured based on the services that are provided. They could then share these service offerings with other SharePoint farms in the enterprise or with customer farms.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
image_1

European SharePoint 2010 Hosting :: Consistent SharePoint 2010 Branding for Mobile Browsers

Dec 5th

Posted by Derek Bierhoff in European Sharepoint Hosting

No comments

n this article I demonstrating how to make a consistent UI in SharePoint 2010 in various mobile browsers.

My mates often ask me why we need to use mobile devices with SharePoint. Through this article I am just providing a sample where I am showing why we are slowly moving to mobile devices from PCs. While giving a demo on “SharePoint on mobile” to the client I found the following things:

  • Client wants everything in their hand, which means on mobiles (because of a busy schedule there is no time to open a laptop/system) .
  • Client doesn’t want to compromise with UI.
  • Application should be simple and easy to use.
  • Application should be scalable and easy to extend in the future.

Out of all four, the following three are already provided by SharePoint. SharePoint is lacking somewhat in the first point.  But as I said we developers can do anything so here we can provide a solution for “We will bind the SharePoint without breaking SharePoint Rules”.

I am using the Safari browser for the demonstration because through the Safari browser we can check the application in various browsers. To do this we need to follow the steps below:
1. Open the Safari browser. Click on Preferences:


2. Click on the Advanced tab; check “Show Develop menu in menu bar” then close.


3. Go to Developer menu bar,


Now open the SharePoint site in the Safari browser after selecting User agent as Mobile browsers e.g. “Mobile Safari 4.1-iPhone”. The SharePoint site will look like below:


The actual site will look like the following if you open the same site in IE browser:


As I said, the client always wants the same UI so our next target is to make the same UI as it is in a normal PC browser.

Follow the steps below to do that :
1. Go to “Run”, enter “C:\inetpub\wwwroot\wss\VirtualDirectories”; select your site port number e.g. Port:2255, then my comple path should be like “C:\inetpub\wwwroot\wss\VirtualDirectories\2255\App_Browsers”. Open the “Compact.Browser” file in Notepad.

2. The browser.compact file helps you in finding a browser before loading the sharepoint site in the browser. Open the file in Notepad and Find “<userAgent match=”iPhone” />”.

It will look like the following:

<!-- iPhone Safari Browser -->
    <!-- sample UA "Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_0 like Mac OS X; ja-jp) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5A345  Safari/525.20" -->
    <browser parentID="AppleSafari">
        <identification>
            <userAgent match="iPhone" />
            <userAgent match="Mobile" />
        </identification>
        <capabilities>
            <capability value="true" />
            <capability value="true" />
            <capability value="1500" />
            <capability value="true" />
            <capability value="true" />
            <capability  value="true" />
        </capabilities>
    </browser>

3. Change “<capability    value=”true” />” to “<capability   value=”false” />”. 

4. Save, reset and refresh the Safari browser. The SharePoint site will look like the following:


5. That’s all. We are done with our requirement.

Hope you like this article and the beginning where you can show your SharePoint on a mobile browser as well.

cheap european sharepoint 2010 hosting, cheap sharepoint 2010 europe hosting, cheap sharepoint 2010 foundation hosting, european sharepoint 2010 hosting, HostForLife, HostForLife.eu, sharepoint 2010 europe hosting, sharepoint 2010 foundation hosting
1234»
  • European Sharepoint Hosting Provider

  • BLOGROLL

    • ASP.NET BLOG
    • ASP.NET MVC BLOG
    • Christian BLOG
    • Full Trust BLOG
    • HostForLife.eu
    • IIS BLOG
    • Silverlight BLOG
    • Windows BLOG
  • Archives

    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • October 2010
  • Tags

    cheap european moss 2010 hosting cheap european sharepoint 2010 hosting cheap european sharepoint server 2010 hosting cheap european sql server 2008 hosting cheap european sql server 2008 r2 hosting cheap sharepoint 2010 europe hosting cheap sharepoint 2010 foundation hosting cheap sql server 2008 hosting cheap sql server 2008 r2 europe hosting cheap sql server 2008 r2 hosting europea european moss 2010 hosting european sharepoint 2010 hosting european sharepoint 2010 recommendation European Sharepoint Hosting european sql server 2008 hosting european sql server 2008 r2 hosting European WSS 3 Hosting European WSS Hosting Europe Sharepoint Hosting HostForLife HostForLife.eu moss 2010 europe hosting sharepoint 2010 europe hosting sharepoint 2010 foundation hosting sharepoint server 2010 europe hosting sql server 2008 hosting sql server 2008 r2 europe hosting sql server 2008 r2 hosting
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top