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

Create a Purchase Order from a Sales Order Using PurchCreateFromSalesOrder Framework in X++ | D365 F&O

In Dynamics 365 Finance & Operations, you may need to automatically create a Purchase Order from a Sales Order for scenarios such as int...