Thursday, November 28, 2013

Microsoft.SharePoint.SPEndpointAddressNotFoundException error in SharePoint 2013

In this post we will discuss how to resolve Microsoft.SharePoint.SPEndpointAddressNotFoundException error which comes in SharePoint 2013.

Also you can check out my previous posts on:

- Default permission levels in SharePoint 2013

Update website properties in SharePoint 2013 client object model

- OAuth in SharePoint 2013

The full error message which comes usually is:

Error encountered in background cache check Microsoft.SharePoint.SPEndpointAddressNotFoundException: There are no addresses available for this application.

Solution:
Make sure Managed Metadata Web Service is started.

To check this, go to Central Administration  -> System Settings -> Manage Services On Server.

Then check whether Managed Metadata Web Service is started or is stopped. If it is Stopped, then start the service, the error will not come.


The tool was unable to install Application Server Role, Web Server (IIS) Role error while installing SharePoint 2013

In this post we will discuss about the error The tool was unable to install Application Server Role, Web Server (IIS) Role, which usually comes when you try to install SharePoint 2013 on Server 2012.

Also you can check out my previous posts on:

- Create custom page layout in SharePoint 2013

- Create workflow using SharePoint designer 2013 in SharePoint 2013

- Advantages of SharePoint 2013 Apps

For this error you can try various solutions : (Note I never tried)

- Try to run the command: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regii -enable -i

Sometime after running this command, the error will not come.

- You can try to set the local policy by following this article.

- Try to install Asp.Net 4.5 in IIS 8, sometimes the framework resolves the issue.


Saturday, November 23, 2013

The tagging service is currently unavailable error in SharePoint 2013

In this post we will discuss how to resolve "The tagging service is currently unavailable" error in SharePoint 2013.

Also you can check out my previous posts on:

- New actions in SharePoint designer 2013 workflow: Call Web Service Action and Start workflow action

- SharePoint 2013 Developer Site Template

- SharePoint 2013 interview questions and answers

To resolve this issue go to the Managed Metadata Service Application and then check the option as "This service application is the default storage location for keywords."

Now you should be able to use tagging service.


Sunday, November 10, 2013

Hide search box in home page in SharePoint 2013

In this post we will discuss about how we can hide the search box in SharePoint 2013 in the home page. Also you can check out my previous posts on:

- Advantages of Apps in SharePoint 2013

- Disable mobile page redirection for SharePoint 2013

- Different authentication types supported in SharePoint 2013

We can simply hide the search box from the home page by using  css.

For this edit the page and put a content editor web part. And can write the below css code in the content editor web part html source code.

<style type="text/css">
#titleAreaBox #SearchBox {display: none !important;}
</style>

After this save and publish the page, the search box will become hide.


Wednesday, November 6, 2013

New actions in SharePoint designer 2013 workflow: Call Web Service Action and Start workflow action

In this post we will discuss about new action in SharePoint designer 2013 workflow know as "Call Web Service" action and "Start workflow" action. Also you can check my previous posts on:

- Removed features in SharePoint 2013

- SharePoint 2013 Boundaries and Limits

- Script editor web part in SharePoint 2013

Call Web Service Action:
Sharepoint designer has added number of new workflow actions. One among that is "Call
Web Service Action". This action enables designers to call REST services and OData web services. This action will make an HTTP web service call and return the data in the JSON format.

This action could be used to call any website that exposes web-based APIs.

This action is available when you select the SharePoint 2013 workflows and can be added to the design surface using the new Shapes or the Actions drop down.

Start workflow action:
The Start Workflow Action has been added to allow SharePoint 2013 workflows to start SharePoint 2010 workflows direction from the workflow.

This can be added directly from the shapes or workflow action menu. Once configured the existing sharepoint 2010 workflows are ready to use again without any modification.


Tuesday, November 5, 2013

SharePoint 2013 workflow platform

In this post we will discuss about workflow platform in sharepoint 2013. Also you can check my previous posts on:

- Site Policies in SharePoint 2013

- Change favicon in SharePoint 2013

- Features removed in SharePoint 2013

SharePoint 2013 designer has now improved feature towards building workflow, packaging and installing workflow to sharepoint sites.
Two types of workflow platforms are available in SharePoint Designer:
- SharePoint 2010 workflow
- SharePoint 2013 workflow

The workflow enhancements in SharePoint Design 2010 and the SharePoint 2010 workflow framework still work in SharePoint Designer 2013.

Now when you will try to create a new workflow, it will ask you the platform type: SharePoint 2010 workflow or sharepoint 2013 workflow.

The new SharePoint 2013 workflow platform type is built using Windows Azure Workflow services. So if you are creating sharepoint 2013 workflow, then the site which is connected in SharePoint Designer must have Windows Azure Workflow services installed. If you are using Microsoft office 365, then no need to install Windows Azure Workflow, it comes by default.

Looping is now possible with SharePoint 2013 designer workflow, in SharePoint 2010 Looping was achived through Visual Studio workflow only.

New shapes and control of workflow is provided with the Windows Azure Workflows. These new shapes available in SharePoint Designer are Stages, Loops, and Steps. These new shapes enable branching and looping logic that was provided by the new SharePoint 2013 workflows. You can drag and drop new shapes to the designer surface.

Now the visual designer has same rich representation as Visio with a graphical design surface and sets of shapes for use on the designer surface. To get the built-in functionality of Visual Designer, Visio 2013 should be installed on the same machine as SharePoint Designer. The text based designer view also exists there and you can switch at any time if you want and vice versa. The changes that are made in the text-based designer are translated into the visual designer and vice versa.

The new Copy and Paste feature of SharePoint 2013 Workflow, helps to reuse some of the conditions or actions that had already been configured. But it has no Control+Z option to undo the last command, so we need to be a bit careful while using the copy paste feature.

A new variable name as Dictionary type has been in introduced in SharePoint 2013 workflows to pass data around a workflow. A Dictionary type has a collection of Name/Value pairs.


Monday, November 4, 2013

Disable mobile page redirection for SharePoint 2013

In this post we will discuss how we can disable mobile page redirection for SharePoint 2013. Also you can check my previous posts on:

- Difference between Apps and Solutions in SharePoint 2013

- Features removed in SharePoint 2013

- Audio and Video content type in SharePoint 2013

If you want to check how to disable Mobile access in SharePoint 2010 click here.

In SharePoint 2013, when ever a request comes from a mobile devices then it will automatically redirect to a different page (mblwp.aspx). The page is presented in _layouts\Mobile\mblwp.aspx.

If you want to disable the redirection then we need to modify in the web.config file.

First Open web.config file of the SharePoint web application and inside <system.web> write below lines of code:

<browserCaps>
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<filter>isMobileDevice=false</filter>
</browserCaps>

Now automatic mobile redirection will be disabled.


Friday, November 1, 2013

Change favicon in SharePoint 2013

In this post we will discuss about how to change favicon in SharePoint 2013. Also you can check out my previous posts on:
- Add a Geolocation column to a list programmatically in SharePoint 2013

- Create workflow using SharePoint designer 2013 in SharePoint 2013

- Add site column to a content type in SharePoint 2013
Favicon is an ico files, which appears in the browser. The name is preferred as favicon.ico. By default SharePoint 2013 favicon appears like below:

The default location for this file in SharePoint 2013 is C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IMAGES.

You can directly replace the default file with your own new file or you can also put this through SharePoint designer.

Open SharePoint designer 2013 -> All Files -> images folder and then you can import the files to the images folder.

Now you can open the master page, Check out the master page. Right click on the master page and then click "Edit file in advanced mode".

Then search for <SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/15/images/favicon.ico?rev=23" /> and replace with the below

<SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/15/images/newfavicon.ico" />

Now save and publish the master page.

Now the new favicon will appear in the browser. If it did not appear (due to cache), clear the browser cache and reload the page again.


Twitter Delicious Facebook Digg Favorites More