Skip to main content

Notifications

Dynamics 365 general forum
Unanswered

Associated View with 2nd level child entity error when export to excel

Posted on by 1,217

Hi All,

I have a custom entity named key contact which link to Account entity. The associated view required to display the Country's Region. The country is a custom entity which also a lookup field in Account entity to Country entity.

I'm using Xrmtoolbox to link the Key Contact entity to Account then from Account to Country entity. The view is running fine on the form itself, record able to display correctly. However, when users try to export the data from the view to excel, the following error occurs. I tried change the alias name, but no luck.

Screenshot-2020_2D00_10_2D00_06-133054.jpg

Below is the fetchXML from xrmtoolbox

  
    
    
    
    
    
    
    
    
      
      
    
    
      
      
        
      
    
    
      
    
  

Any help is much appreciated.

Thanks.

Regards,
Teh

  • YA TEH Profile Picture
    YA TEH 1,217 on at
    RE: Associated View with 2nd level child entity error when export to excel

    Hi Reddy,

    Thanks for your prompt reply. I had tested, result still same error. The error is prompt seem it cant find the 2nd level child entity.

    Regards,

    Teh

  • RE: Associated View with 2nd level child entity error when export to excel

    Try removing line no 15 -- <attribute name="ads_country" />

    And add the country name from ads_country entity below ads_regionafi.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

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... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans