Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Work space - Tile coun...
Finance forum

Work space - Tile count is not working

(0) ShareShare
ReportReport
Posted on by 487

Hey All,

I am facing issue in showing count on tile in workspaces.
I have followed below mentioned link for creating simple tile.
www.sonata-software.com/.../creating-simple-tile-element-dynamics-ax
In my case query is working fine and showing required data whereas count is not appearing on tile.
I also tried to create same tile by following personalizing approach for that form and it showing required count on tile.

Anyone facing this issue?

  • BADRI NARAYANAN G Profile Picture
    BADRI NARAYANAN G 167 on at
    Work space - Tile count is not working

    Hi Friends,

    The underlying query used in the tile is copied on to the form which is opened when you click on the tile.If the form shows records correctly then the query used is working as expected in the tile and the count should display as expected.I had the same issue i.e the query was working fine but the count was showing wrong in the tile.Just perform these steps and i am sure the issue will be solved.

    1)      Go to System Administration> Setup >Data cache >Tile data cache configuration

    2)      Filter for the tile name your using in the Consumer field 

    3)      Delete the tile.

    4)      Reopen the Workspace form and the tile count will display correctly.

     

    Thanks 

    Badri

  • Maha Jamali Profile Picture
    Maha Jamali 487 on at
    RE: Work space - Tile count is not working

    Thanks for responses. I fixed the problem by creating count tile again from scratch.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Work space - Tile count is not working

    Ran into same issue, 

    These are the steps I followed to solve on my Dev-box,

    1)      Clear Usages Data

    2)      Go to SysAdmin> Setup >Data cache >tile data cache configuration

    3)      Select the tiles which are running into this issue 

    4)      Delete the selected tiles 

    5)     After deleting the records I went to VS and rebuilt and Synchronized the Solution

    6)     Refresh the Application browser

    reopen the workspace and it works fine.

  • Suggested answer
    Mav Profile Picture
    Mav on at
    RE: Work space - Tile count is not working

    Ran into same issue. Was also getting "Query does not contain 1 data sources error"

    Apparently the tiles are not getting refreshed even after clicking on begin update.I can say so because when i recreated new tile with same config as old tile , it started working fine immediately.  However this is a workaround & not fix.

    For permanent fix ,I think that below command at Form INIT level would work as that would Force refresh tiles when loading form.

    However I cant be sure as I cant get the command to work & get this error message when trying to compile.

    TiledataService::forceRefresh(tileStr(mytilename),FormRun );

    Severity    Code    Description    Project    File    Line    Suppression State
    Error        Type mismatch in 'TileDataService.forceRefresh' argument 2. The expected type is 'SysIDataConsumerHost', but the actual type is 'FormRun'. 

    Any ideas

  • adam260 Profile Picture
    adam260 1,871 on at
    RE: Work space - Tile count is not working

    Ran into the same issue. My menu item and tile had the same name.

    Added the "Tile" to the end of the name and it worked.

  • Suggested answer
    Sebastian Aurand Profile Picture
    Sebastian Aurand 1,650 on at
    RE: Work space - Tile count is not working

    Thanks for the input.

    After some tests I figured out that the issue might be caused by changes in the underlying table. After changing the values of the filter column in the "wrong" records forth and back the counter is working correctly (e.g.: change worker to "User 2" and back to "MyUser").

    NO refresh, AOS restart and tile cache did fix the problem.

    Maybe this hint will help somebody facing the same Problem in the future.

  • Suggested answer
    Fedir Kryvyi Profile Picture
    Fedir Kryvyi 1,026 on at
    RE: Work space - Tile count is not working

    Try checking this article and changing "Automatic data caching" property:

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

    Also, there is a property that is called RunOn on the form tile control, try setting it to local(I might be wrong and it might only apply to form part)

    The thing is that tiles are sometimes "get stuck" and cache doesn't work properly. You can try to use this code also to force tile to refresh

    TileDataService::forceRefresh(tilestr(<tileName>), formRun)

    Also full build and DB Sync might help.

  • Sebastian Aurand Profile Picture
    Sebastian Aurand 1,650 on at
    RE: Work space - Tile count is not working

    Hello,

    did you fix your prolem. I'm facing exactly the same behaviour. I did some analysis and figured out that the same tile / code on another onebox is running correctly. Therefore I guess this has something to do with caching.

    I already deleted the "tile data cache configuration" without any effect.

    Thanks for any help / hint

    Sebastian

  • Maha Jamali Profile Picture
    Maha Jamali 487 on at
    RE: Work space - Tile count is not working

    Yes i am getting expected records.

  • Martin Dráb Profile Picture
    Martin Dráb 230,414 Most Valuable Professional on at
    RE: Work space - Tile count is not working

    What if you click the tile? Do you see the expected records?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,684 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans