synolog_vpn

Using a Synology NAS as VPN Server

Did you know that it is possible to use a Synology NAS as VPN Server? You can install the VPN Server from the Package Center.

ms_convergence2013

Microsoft Dynamics Convergence 2013

This year Microsoft Dynamics Convergence 2013 is taking place in New Orleans. Unfortunately I will not be able to attend the Convergence – but I’m still able to following it

Code-Dynamic-Logo-v2

Locking and Unlocking Objects

With Microsoft Dynamics NAV 2009 R2 the possibility for locking and unlocking objects was introduced and does also exist in NAV 2013. Locking and unlocking objects is very useful in environments where multiple developers are working together in the same […]

 

Hey… where are my menu items?

Today I had a funny error – my menu items in the navigation pane did disappear if I made shortcuts to them.

Therefore I did some testing and here is what a figured out:

  1. Open a fresh client
  2. Add shortcuts to a menu item or a menu group
  3. Check shortcuts – they were created fine
  4. Read more »

RoleTailored Client – Where is the Default Page?

Have you also been wondering about which page are the default page, where to set it up and what to do if a user should have a different page.

Well… it is actually pretty easy :-)
 

1) What is the default page? The default page is usually page 9006 “Order Processor Role Center”.

So how did I find it out? Well I think like a developer – so why use forms, when you can go straight into tables ;-) Read more »

NAV 2009 SP1 – Using the RSS reader Add-In

In the previous article we created a RSS reader Add-In, now let us take a look on how to use it from navision (RoleTailored Client).

First we must make it possible for navision to see it. This is done by adding the dll’s information to the table 2000000069 Client Add-in.

Before we are doing this we need to be sure that the dll is in the add-ins folder and we need to know the public key for the dll.

Okay – first locate the folder C:\Program Files\Microsoft Dynamics NAV\60\RoleTailored Client\Add-ins and make sure the file naviRss.dll is located there.

Read more »

RSS Reader Add-In for the RoleTailored Client

Add-Ins are used to add new features to the RoleTailored Client and was introduced with NAV 2009 SP1.

I have previous written about a ASP.NET RSS reader – in that article, the collection of feeds was a C# function, so why not use this function to extend the RoleTailored Client.

I will be using Visual Studio 2008 to write a Dynamic Link Library (dll), but you can also use the free Express version of Visual C#.

Let’s start by creating a new project – a class library. I have chosen to call it naviRSS.
Read more »

Building a RSS reader in ASP.Net

Hi

RSS Feeds are just XMLs – so building a RSS reader is not so difficult, first you know how to do it ;-)

Let’s start with looking at C# function that reads the RSS Feeds.

First step is to collect the feeds. This is done by using WebRequest:

System.Net.WebRequest myRequest = System.Net.WebRequest.Create(rssURL);
System.Net.WebResponse myResponse = myRequest.GetResponse();
 
System.IO.Stream rssStream = myResponse.GetResponseStream();
System.Xml.XmlDocument rssDoc = new System.Xml.XmlDocument();
rssDoc.Load(rssStream);
Read more »

NAV 2009 SP1 – Testing Codeunits – Part 2

In the earlier article, we where using the ConfirmHandler – but confirm is not everything a function can contain. So why not add the handling of Message Boxes ;-)

First, let us a add simple test message function to the previous created “doTest” codeunit. The function could look this:

 cside |  copy code |? 
PROCEDURE TestMessage@1112800001(useWrong@1112800000 : Boolean) : Boolean;
BEGIN
  IF useWrong THEN
    MESSAGE('Wrong Message')
  ELSE
    MESSAGE('Test Ok');
  EXIT(TRUE);
END;

Read more »