Nick Grattan's Blog

About Microsoft SharePoint, .NET, Natural Language Processing and Machine Learning

Archive for the ‘SharePoint 2013’ Category

SharePoint 2013 – Links get Promoted!

with 11 comments

SharePoint 2013 now has links that animate when the user moves the mouse over them:

These are implemented by creating a “Promoted Links” list. You can create your own promoted links list:

  • Select Settings + Add an app
  • Click the Promoted Links  app (which is actually a list template):

  • Enter a name for the new list and click Create :

Once the list is created, items can be added to define each of the promoted links:

You can see that the item has a title, a URL for the image, a description showed when the icon is moused over and the target URL. The Prompted List has a “Tiles” view that will display the items in the list using the animated images:

And when moused over the image animates:

Of course, the Tiles view can be displayed in a Web Part that can be included on any ASPX page. So, easy to get a Metro type feel in your applications.

Advertisements

Written by Nick Grattan

July 30, 2012 at 7:27 pm

Sign in as Different User and SharePoint 2013

with 45 comments

It’s been noted that the “Sign in as a Different User” menu command is missing in SharePoint 2013 (e.g., see http://dirkvandenberghe.com/2012/07/18/sharepoint-2013-login-as-a-different-user.html).

One suggestion for a fix can be found here: http://www.little.org/blog/2012/07/17/launch-your-web-browser-as-another-user/.

This “Sign in as Different User” menu item is very useful when testing applications, but it can lead to problems especially when opening documents, say in Microsoft Word. So, it may be for these reasons that the option has been removed in SharePoint 2013.

You can add the menu item back in, but I would suggest only doing this on test or development SharePoint servers. To do this, repeat this edit on all servers in your SharePoint farm:

  • Locate the file \15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx and open in a text editor.
  • Add the following element before the existing element with the id of “ID_RequestAccess”:

<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
 Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
 Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
 MenuGroupId="100"
 Sequence="100"
 UseShortId="true"
 />

  • Save the file.

Now, the menu item shall be displayed:

 

Update 16-Jul-2013:  As noted by a number authors (and correctly so), modifying files in the hive is not generally good practice. It’s presented here as a quick (and dirty!) solution. Look through the comments against this post for some other solutions that you might want to try too.

Written by Nick Grattan

July 23, 2012 at 4:24 pm

While loops in SharePoint Designer 2013 Workflows

with 2 comments

Two types of workflows are available in SharePoint 2013:

The good news is when running SharePoint 2013 Workflows you can create while loops in SharePoint Designer 2013 workflows. Here’s how they look.

Once you’ve opened a site and a list in SharePoint Designer 2013 you can create a new List Workflow:

 

The “Create List Workflow” dialog allows you to select the platform for the workflow – you must select SharePoint 2013 Workflow to enable the loop option:

Now the ribbon will display a new button “Loop” with two available loop:

And so loops can now be added to the workflow:

Joy of joys!  Of course, enabling while loops in SharePoint Designer 2010 is much more difficult – you can find one solution here:  https://nickgrattan.wordpress.com/2010/12/14/while-loops-in-sharepoint-designer-workflows/

 

 

Written by Nick Grattan

July 22, 2012 at 4:40 pm

SharePoint 2013: Standalone Installation Issue

leave a comment »

OK, so you’ve downloaded the SharePoint 2013 Preview and tried to do a standalone installation – and get an error “Failed to connect to the configuration database” and “Service running under Network Service account in workgroup environment is not supported”. 

This is apparently to do with the the AppFrabic caching service. Well, “TomBlog””s already sorted the problem: http://tomblog.insomniacminds.com/2012/07/17/sharepoint-2013-standalone-installation-issue/comment-page-1/#comment-80831. Thanks – great work.

Written by Nick Grattan

July 17, 2012 at 10:00 pm

Posted in SharePoint 2013

Tagged with

SharePoint 2013 Download and Training Materials

leave a comment »

Can now be found here: http://technet.microsoft.com/en-us/sharepoint/fp142366

Lots of PowerPoints and presentations and evaluation download of SharePoint 2013 Server and Foundation.

Written by Nick Grattan

July 17, 2012 at 2:31 pm

Posted in SharePoint 2013

Tagged with

Even More SharePoint 2013 Snippets

with one comment

See here: http://www.learningsharepoint.com/2012/03/31/sharepoint-2013-features-and-resources/. There’s an additional list of resources at the end of this post.

Note: 16.Enable workflow looping in SharePoint Designer, eliminating the need for the Visual Studio development environment for that function.

Well, at last! Our Action Pack (see here) has been providing a work around for a number of years, but a platform supported solution is most welcome.

Update: Confirmed, they are supported but only with Azure Workflows, see: https://nickgrattan.wordpress.com/2012/07/22/while-loops-in-sharepoint-designer-2013-workflows/

Written by Nick Grattan

May 24, 2012 at 7:35 am

Posted in SharePoint 2013

More SharePoint 2013 Snippets

leave a comment »

Take a look here: http://jeffreypaarhuis.com/2012/03/12/whats-new-in-sharepoint-15-sharepoint-2013/

The “App” support section is perhaps the most interesting here, particularly since it can be scoped at the organization level.

Also , the ability to have custom SQL Server databases for these Apps is very important. Even with the SharePoint 2010 list relationship features using multiple SharePoint lists doesn’t really compare to relational database functionality.

Of course, this is all pure conjecture…

Written by Nick Grattan

May 22, 2012 at 9:31 am

Posted in SharePoint 2013