Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Getting empty results in FetchXML Query

(0) ShareShare
ReportReport
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 

  • 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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans