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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Why can't I do a xrm.webapi call to the same table that I am currently working in?

(0) ShareShare
ReportReport
Posted on by 190

So the form i am working in is in TableA, and the script which has a webapi call using Xrm.WebApi.retrieveMultipleRecords("TableA".....

I add this script in even hadler of the form in TableA.  But it doesnt seem to work.  But when i connect to a different table it works.  Is there a restriction that does not allow me to connect to the same table that I am currently working in?

  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    there isn't a limitation on working on the same table, check that your script works correctly (like correct table name, correct columns, ...)

  • Abhiram Thulasi Profile Picture
    2 on at

    Hi,

    There aren't any such restrictions. We are allowed to fetch data using web API from the same entity.

    A possible reason for failure may be - incorrect references or values used in the script.

    Please share more details if you still need assistance

    Regards,

    Abhiram

  • Leco Lv Profile Picture
    Microsoft Employee on at

    Hi partner,

    Would you like to share the details of the script and the requirements you want to implement?

  • bp3378 Profile Picture
    190 on at

    Thanks, you are probably correct.  I had to do a different alternative method so I dont need to call api into this table again.  Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 46 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 35

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 35 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans