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

Notifications

Announcements

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,038

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!

I have the same question (0)
  • vishalsahijwani Profile Picture
    201 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,038 on at

    Hi Vishal,

    Can you please specify where to write the method?

    Thanks for your time to help!

  • Momochi Profile Picture
    1,038 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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 732 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 413 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 289 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans