Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Data Entity Postload() not called during export from Listpage

(0) ShareShare
ReportReport
Posted on by 37,079

Dear all,

I have a strange behavior with a new Data Entity (based on CustTable)

1 Mapped field + 3 virtual fields that are set in PostLoad()

Export from a Data management export project: 4 fields fetched correctly and exported.

Export from All Customers Listpage: only mapped field is exported. Virtual fields are empty.

Debugger doesn't run into postload(). Haven't found anything in LCS Issue search, nor in previous forum posts.

Appreciate any help.

(Version PU 42)

Categories:
  • Suggested answer
    nmaenpaa Profile Picture
    101,146 on at
    RE: Data Entity Postload() not called during export from Listpage

    Open in Excel uses OData. And it calls postLoad. You should be able to debug it to find out why the virtual fields are not populated.

  • Suggested answer
    nmaenpaa Profile Picture
    101,146 on at
    RE: Data Entity Postload() not called during export from Listpage

    Open in Excel uses OData. And it calls postLoad. You should be able to debug it to find out why the virtual fields are not populated.

  • Suggested answer
    nmaenpaa Profile Picture
    101,146 on at
    RE: Data Entity Postload() not called during export from Listpage

    Open in Excel uses OData. And it calls postLoad. You should be able to debug it to find out why the virtual fields are not populated.

  • Crispin John Augustine Profile Picture
    37,079 on at
    RE: Data Entity Postload() not called during export from Listpage

    Do you also know if  "Open in Excel" and "OData" do not call postLoad()?

  • Crispin John Augustine Profile Picture
    37,079 on at
    RE: Data Entity Postload() not called during export from Listpage

    Thanks Nicolas.

    That answers my question. I've had a big misunderstanding!

    What does this mean for OData? I expect postload() to work in this case. But virtual fields are again empty here.

  • Verified answer
    nmaenpaa Profile Picture
    101,146 on at
    RE: Data Entity Postload() not called during export from Listpage

    "Export to Excel" is not using data entities, it simply exports what you see in the grid.

    "Open in excel" is using data entities.

    docs.microsoft.com/.../office-integration-edit-excel

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

Dynamics 365 Community Update – Sep 16th

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

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard 229,831 Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Overall leaderboard

Product updates

Dynamics 365 release plans