Sometimes users can’t seem to send proper error message and instead of calling/mailing them back and forth you can always use telemetry to get the error message with the corresponding call stack and other useful info. And if you set up the data proper you can also filter on error messages by user. In fact, it doesn’t need to be error message you can filter on all available telemetry signals that contains the UserId as dimension. This entry will cover that.
Read the rest of this entry »Tag Archives: Tips & Tricks
When does xrec work?
As a Business Central developer we have from time to got used to using xrec and rec as container for previous value and current new value.
However, there are certain scenarios when xrec doesn’t work as intended.
Read the rest of this entry »Business Central: Multiversion Branch With Preprocessor Directives
Like many companies nowadays we have bunch of customers with different Business Central versions that we need to support.
On top of this many of us tries to “create money while we sleep” by creating stand alone apps that we could reuse/resell to new customers and perhaps eventually put them on AppSource in the next step.
This means that we need to support/maintain our standalone apps in multiple versions.
Read the rest of this entry »Visual Studio/Report Builder: Shortcut To Expression Window
When designing RDLC reports with Visual Studio or Report Builder how many times have you wished that you had a keyboard shortcut to get to the expression window? Well, I have wished it a lot of times! Then one day I went to a reporting class holdy by the guru Claus Lundstrøm and gave us a lot of useful tips. One among them was this.
Read the rest of this entry »
Dynamics NAV Reports (RDLC): SetData, GetData And Line Numbers
In Dynamics NAV reports we use SetData and GetData functions to retrieve data certain data in page headers and footers due to different scopes. In this blog post I’m not going to explain why and how but I’m going to give links to some good posts that does it at the bottom this post. Instead I’m going to give you a tip on how to make the process of adding/finding which data that has a certain index in the SetData function call by using line numbers.
Dynamics NAV: How To Run Tables From RTC (Role Tailored Client)
In the classic version we could run tables straight from the object designer and the object designer was always included in the client. In the Role Tailored Client (RTC) however we don’t have an object designer. Instead it is located in the developement environment. But sometimes you need to run a table but you don’t have access to the development environment (end user computer, ClickOnce and so on..).
So what to do then?
Dynamics NAV: How To Run Objects From RTC (Role Tailored Client)
In the pre RTC versions of Dynamics NAV it was really simple to run/view objects from the client. Nowadays when we are using RTC it is not quite that simple since by standard we don’t have object designer in RTC (Role Tailored Client). At least yet 🙂
But there is a trick that you can use to achieve this. You need to create a page on the table object. After that add a button that runs the current record. Microsoft described this a couple of years ago in a blog post (How to start any object in Role Tailored Client)
But how about tables and querys?