Office Web Apps and SharePoint 2013…small tip to your custom web app

Category: #SharePointSharePoint 2013 Comments: No comments

If you want to install Office Web Apps and configure it with you SharePoint 2013 you will find plenty of links…Here a couple that I found pretty simple: this one from Max Melcher and also this one from Steve Goodyear…
However, once followed all the steps, I still had an error on my preview mode. Searching in the logs (you can find the logs of Office Web Apps in C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS) I found this error:

WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: Invalid Host

As you can see, during the installation you have to apply the operation of  New-OfficeWebAppsHost -Domain yourdomain.com. What it is important to know is that you have to apply this step for all your domains and DNS...

Read More

Nintex Workflow: skip “start” default page for an automatic execution

Category: #SharePointSharePoint 2013 Comments: No comments

Nintex workflow allows you to have a direct link from the context menu when your workflow is linked to a SharePoint list. By default Nintex proposes you a startup page (image below), which is useful when, for example, you are expecting  inputs from the user, but when your workflow is supposed to be executed “as is” this is quite annoying.

In order to avoid the start up page, click on Workflow Setting and select, as Form Type, the Custom option. Nintex will propose you a default value, but delete it and keep it blank (image below). Your workflow will start automatically and will not ask any operation to your users! yeah! :-)

Read More

SharePoint 500 Error adding a link as icon with standard Editor

Category: #SharePoint Comments: No comments

We are working in a intranet for a client and during the UAT the client has raised a strange problem. trying to add a link in SharePoint with the OOB buttons, checking the option “display as icon” he got a JavaScript alert with a 500 Error. We thought that it could be a SharePoint problem but then taking a look to the system log we found that the problem was different. The solution has been found by my colleague Nicolas Meistretty and below where to change the settings.

If you application – as was our case – doesn’t use a Kerberos authentication the Extended Protection of the IIS setting Windows Authentication must be set to OFF, otherwise the client.svc service will be not compatible with the one set in IIS.

This is what you will have in the eventviewer if the error appears.

Within th...

Read More

JQuery Plugin to obtain FormDigest code in SharePoint 2013

Category: #SharePointDevSharePoint 2013 Comments: One comment

In SharePoint 2013 Microsoft has put back the FormDigest security during the execution of the code. That means that if you are in a standard application page or web part you will not have any problem to create your web sites, update items etc… You can take a look over here for the details.

But if you want to do something more, like for example create your own service (in my case with Service Stack) you will always get a COM Exception from your page “System.Exception: Microsoft.SharePoint.SPException: The security validation for this page is invalid. Click Back in your Web”

The problem is that the header X-RequestDigest header is not passed automatically in your request, meaning that – even if you put AllowUnsafeUpdate to true – the operation will generate an exception.

This is the reason w...

Read More

The export of the Taxonomy in SharePoint 2010 is something quite painful. In the web we can find a lot of tools, posts, suggestions, advice but – since today – I didn’t find something that really worked for me.

So, finally, I had a request from a client quite simple:

  • I want to see all may taxonomy in an Excel file, in order that the Businesses can read it easily
  • I want to export my taxonomy for my new production farm and I want that the restore is completely transparent. (meaning: I want my ID back!)

and I have decided to build my own project.
Let’s be honest…I didn’t discover the moon, but I got what I was looking for and-  if you like it – you will be able to download it from CodePlex at this address: https://sptaxonomyexport.codeplex.com/

The tool is a CMD program line (with some fr...

Read More