Skip to main content

Notifications

Microsoft Dynamics CRM forum
Answered

Getting empty results in FetchXML Query

Posted on by 102

Hi everyone, 

I am trying to execute a FetchXML query that is returning the correct number of array items. However, the attributes are having empty strings. Please see the attached screenshot for reference.

I have also enabled table permissions for Anonymous users. 

pastedimage1620597434896v1.png

Any help would be really appreciated. Thank you 

Categories:
  • Verified answer
    vishal bagadia_crm Profile Picture
    vishal bagadia_crm 490 on at
    RE: Getting empty results in FetchXML Query

    First of all,  verify your fetchxml using advanced find first.. See the results of Advanced find based on same fetchxml query. If you get the same results as advanced find, then fetchxml results are also correct.. meaning record contains empty data..

    As you are using javascript, I would suggest you to use web api request to retireve the relevant data rather than using it as a fetchxml.

    You can use RestAPI Builder to create your query and verify the results.. Let me know the criteria, I can provide you the query, if it is out of box entity.

    Regards,

    CRM Developer

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... 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