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

Data entity for Excel add-in with Table, Category, Group and All column

(0) ShareShare
ReportReport
Posted on by 1,244

Hi,

Greetings and thank you for reading this post!

I have created a data entity for editing the records in Excel add-in.

I have a column of enum type TableGroupCategoryAll.

For the TableGroupCategoryAll::Category records to edit, I added EcoResCaegory table on the data source with property IsReadyOnly set to Yes and correct relation.

The I added the Name and CategoryHierarchy fields from the EcoResCaegory datasoruce to the fields, key and autoreport nodes.

I am able to read, create records. But when I try to delete any non category records, I get error message:

Error message: 'No resources were found when selecting for update.'

To debug this, I added the delete, write, validateWrite methods on the data entity, but the debugger won't stop on any of these methods.

(I had attached the iisexpress.exe service)

Any suggestions?

Best regards,

Abhinay

I have the same question (0)
  • huijij Profile Picture
    19,813 on at

    Hi Abhinay,

    There are two ways to delete excel add-in data, the first one is to delete the data from the add-in as you mentioned and then refresh the list. The second method is that you can use DMF to export the template, then delete the specified data in the template and re-import the entity data, it should be noted that you need to check the truncate entity data on the form, so that the data from the previous template will be automatically deleted. Of course, you can't rule out some situations that the primary data cannot be deleted due to data consistency requirements.

  • Abhinay Tharwal Profile Picture
    1,244 on at

    Hi Judy,

    Thank you for your reply.

    The requirement is specifically for the Excel add-in.

    //BR, Abhinay

  • Verified answer
    huijij Profile Picture
    19,813 on at

    You can refer to similar issues, and it's possible that it was designed that way. However, if you want to figure out the root cause exactly, it is recommended that you raise a ticket with Microsoft.

    76866.Capture.PNG

  • Suggested answer
    Abhinay Tharwal Profile Picture
    1,244 on at

    Hi,

    The issue was the additional fields added to the entity key (EcoResCaegory: Name, CategoryHierarchy). I removed them and it worked fine.

    To view these columns, users will have to go to the design in Excel and add them from the list of available columns.

    I hope this helps.

    //BR, Abhinay

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 660

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 655 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 557

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans