web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Tiles: Tile Showing Wrong Count Number

(0) ShareShare
ReportReport
Posted on by 1,054

Hello dears!

I have a custom tile developed in Visual Studio.

The tile is showing a count of "1" while when I click the tile, the form is showing 2 records.

The tile is pointing to an object of type Display Menu Item.

The display menu item has the following properties:

object: is Pointing to a Form object.

query: has an AOT query.

the query is simply trying to show the records that has a workflow assigned to the current user, so it has an exists join from the "Request Table" with the "WorkflowTrackingStatusTable" and "WorkflowWorkItemTable".

Because of this query that is assigned in the display menu item query property, the form is showing the correct records that are assigned to the current user.

But the count on the tile pointing to this menu item is showing a wrong value.

I'm not sure actually why this is happening :/

I wanted to override the TileButtonControl.getData() method to change the value through x++ code, but unfortunately, the tile is implemented in a standard form through extension, so I'm not able to override the methods for this custom tile on the standard form.

I tried to look for methods that sets the count value on the tile object but didn't find any useful method in the TileButtonControl object.

How can I make the tile to show the correct number of records on the form?

Any advice is appreciated!

Thanks in advance!

  • vishalsahijwani Profile Picture
    431 on at

    Hi Momochi ,

    You can try creating a new method in TileButtonControl method and can replicate the method definition written in the getData() method to the newly created method along with some new enhancements to call the actual number of elements to point to the tile. Then try calling this method.

    Let us know once you tried this solution.

  • Alex VN Profile Picture
    1,994 on at

    Hi,

    Have you tried to restart the machine and also try to set Refresh Frequency of the Tile to as fast as permissible?

    Also please check your tile data cache setup.

    Ref: docs.microsoft.com/.../tile-list-caching-workspaces

    Regards,

  • Momochi Profile Picture
    1,054 on at

    Hi Vishal,

    Can you please specify where to write the method?

    Thanks for your time to help!

  • Momochi Profile Picture
    1,054 on at

    Hi Alex,

    Yes, tried also deleting the cache of the tiles in the System Administration, but unfortunately, the count is still wrong.

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans