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.
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 »
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.
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 »
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:
Read more »
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);
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; |