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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Cannot apply current record filter in entities for open in excel

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

I have created a custom entity for exporting warehouse items in released products similar to the OOTB EcoResReleasedProductWarehouseDefaultsEntity to be used in excel through open in excel feature.

I created a custom template and uploaded it in the document templates and checked the "apply current record filter" checkbox to yes.

pastedimage1599029756710v2.png

now the problem is that when I go the warehouse items form to open it in excel i receive the following error.

pastedimage1599029913184v3.png

pastedimage1599029935885v4.png

and when I set the "apply current record filter" to No, the error is not coming. I only want to export the current record as this contains more than 100000 lines.

Any idea how to resolve this?

Thankyou

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi FODeveloper,

    Please try to re-create that filter in the add-in pane at the right side of the screen:

    organicax.com/.../

    Or you could:

    Implement the OfficeIGeneratedWorkbookCustomExporter interface.

    Write your code in the getDataEntityContext(OfficeGeneratedExportMenuItem _menuItem) method.

    Get the ExportToExcelDataEntityContext object for your entity.

    Use it's filter method to apply your filter.

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    Have a look at docs.microsoft.com/.../customize-open-office-menu also you can find simple examples in AOT like form/HCMGoal Form/DemoDataPost

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

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans