NAV 2009 R2 with Sharepoint Server 2013

SharePoint Programming

JavaScript in the SharePoint Environment

Here is a description of how input validation is done in the asp environment.

Hint on how to use XsltListViewWebPart
SharePoint Development Forum on MSDN
This tutorial shows how to create your fist webpart using Visual Studio
SharePoint 2013 on MSDN Using Dreamweaver and Design Manager with SharePoint 2013
Using SharePoint 2013 Client Library
Installing SharePoint Designer
Create and Deploy a Basic Site Definition Project
Ingo Karstein: Create Custom List Forms
BCS: Getting Started with BCS

NAV Programming

C/Side Reference
A tutorial (in German) on how to publish a NAV page as webservice (Teil 1).
A tutorial (in German) on how to publish a NAV page as webservice (Teil 2).
Dynamics NAV Team Blog
Configure Web Services with Delegation
Microsoft Dynamics Community
MS Dynamics World

Getting Started

Links To Get Started With NAV Services

Creating and Consuming a Codeunit Web Service
Walkthrough: Registering and Consuming a Page Web Service

Getting Serious Now, :-)

Edit the Webpart Class (VisualWebPart1.ascx.cs)

SwSEmployeeCardCroCH is the name of the service that was added in picture above with botton Add Web Reference....
	namespace Webpart_Howto_1.VisualWebPart1
	// Name serive proxy
	using SwSEmployeeCardCroCH;

	public partial class VisualWebPart1 : WebPart


        protected void Page_Load(object sender, EventArgs e)
        swsEmployeeCard employeeCard;
        employeeCard = GetTestEmployeeCard();
        EmployeeNoLabel.Text = employeeCard.Personalnr;
        Label1.Text = employeeCard.Name;

        private swsEmployeeCard GetTestEmployeeCard()
        swsEmployeeCard_Service service = new swsEmployeeCard_Service();
        String companyName = "CRONUS-Schweiz-AG";
        service.Url = "http://localhost:7047/DynamicsNAV/WS/"
        service.Credentials =
        new System.Net.NetworkCredential("USER", "PASSWD", "DOMAIN");
        return service.Read("1000");

Edit Page Elements (VisualWebPart1.ascx)

// snip <asp:Label ID="EmployeeNoLabel" runat="server" Text="EmployeeNo"></asp:Label> <br> <asp:Label ID="Label1" runat="server" Text="EmployeeNo"></asp:Label> // snip



When one runs Service Microsoft Dynamics NAV Business Web Services one can open a Web-Browser and open URL http://localhost:7047/DynamicsNAV.


A Starting Point for WCF

Authentication Issues

TGT ticket-granting-ticket
SPN Service Principal Name
KDC Kerberos Key Distribution Center
WFE Web-Front-End
WSE Web Services Enhancements

Forum Posts

Configuring Kerberos Authentication in SharePoint 2013

I am basically following SharePoint Brew. In Step 1 SharePoint 2013 seems to differ to SharePoint 2010. In a SharePoint 2013 the specific part of file applicationHost.config looks like: <location path="SharePoint - 80"> <system.webServer> <handlers accessPolicy="Read, Execute, Script" /> <security> <authentication> <windowsAuthentication enabled="true" useKernelMode="false" useAppPoolCredentials="true"> <providers> <clear /> <add value="Negotiate" /> <add value="NTLM" /> </providers> </windowsAuthentication> <anonymousAuthentication enabled="true" /> <digestAuthentication enabled="false" /> <basicAuthentication enabled="false" /> </authentication> </security> \\ snip In Step 2 (set SPN) I did something else as shown below. C:\>setspn -a http/ my-domain\applpooladmin // snip Updated object

Links / Further Reading

Understanding Kerberos Double Hop
Kerberos Authentification for Sharepoint 2013
Get Kerberos Token using C#

Secure Store Service

Links on Secure Store Service

Use Secure Store Service from witin .NET
How to Read Credentials from Secure Store Service in Sharepoint