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, ...
Answered

Custom data entity doesn't export data although it exists in the table

(0) ShareShare
ReportReport
Posted on by 255

Hi all,

I created a custom data entity for datasource KanbanRule using the entity creation wizard and attached additional datasources as required by the wizard. 

pastedimage1680097995480v1.png

Solution build, database synchronisation and entity list refresh was done without any errors. 

However, although KanbanRule table has plenty of data, I am not able to export as per the screenshot below when the entity export is executed from data management workspace.

pastedimage1680098230363v2.png

Why is this happening? Thank you for any help in this regard.

Thank you,

Amit

  • Verified answer
    Martin Dráb Profile Picture
    240,866 Most Valuable Professional on at

    You should review the query. For example, it's possible that one of your joins filter out all data and therefore the query doesn't return any records.

    I would go to SQL Server Management Studio, find the view (a data entity has a view in DB) and select data from it. If it doesn't return the expected records, I would review the SQL query used by the view and try to adjust to see how it should be changed. When I understand the problem and the change needed, I would go back to Visual Studio and modify the entity.

  • Verified answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Adding to Martin, you can also fire an SQL query by select * from EntityName. So you can see what data it is returning. Then tweak the entity accordingly.

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

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 528 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
CU10121822-0 Profile Picture

CU10121822-0 376

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans