Skip to main content

Notifications

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 214

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
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: Custom data entity doesn't export data although it exists in the table

    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.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,836 Most Valuable Professional on at
    RE: Custom data entity doesn't export data although it exists in the table

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans