Monday, 14 May 2018

How to change tile count at runtime through X ++ code in AX7 / D365

In D365 workspace Tile count is a graphical representation of showing a quick status of information. In tile count there are two ways to show records count. One way is to provide query to tile count and the other way is to write code that returns the tile count. In this blog I will discuss how you can show tile count through code.

Step 1:
Override getData() method of your tile count as shown in image.














Step 2:
After overriding method simply call 
strTileData() method and pass your value in this method as show in image.


That is all you want to do in order to show records count through code.

1 comment:

  1. The value is not showing correctly when we click on Begin update now button.

    ReplyDelete

Set up Online VM for Dynamics 365 Finance and Operation for Technical and Functional Learning Purposes

In this blog, I will discuss how we set up an online VM for D365F&O for Technical and Functional learning purposes for free. Step: 1 Cl...