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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Delay in CRUD WebApi f...
Power Pages
Answered

Delay in CRUD WebApi for Power Pages

(0) ShareShare
ReportReport
Posted on by 2,502 Super User 2025 Season 2

Hello everyone,

 

I know for now that the caching takes some time that's why I cannot use FetchXML or rely on the portal itself to be able for realtime data manipulation. Therefore I implemented the CRUD WebApi in hope that it works in realtime.

In my tests I still have a delay of around 20 seconds, leading to the problem that if an item is sold out the Api tells the client it's still available.

 

Does anyone know how I can make a power page truly connected to dataverse in realtime.

Goal is that if 2 people press the purchase button on the same time, only one of the requests should be able to go through. 

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hello, did you try the "date" trick that I mentioned on a previous post?

    I have an old article on Caching, but some elements are still relevant:

    http://oliverrodrigues365.com/2020/07/27/power-apps-portals-caching-tips/


    What I do for every retrieve that I want to make sure to bypass the cache, I include a "name != datetime.now" so the query is always different.

    for example:

    url: "/_api/<table>?$select=<columns>&$filter=<appIdColumn> eq " + applicationId + " and <nameColumn> ne '" + Date.now() + "'",

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 72 Super User 2025 Season 2

#2
Jerald Felix Profile Picture

Jerald Felix 27

#3
Lucas001 Profile Picture

Lucas001 25 Super User 2025 Season 2

Last 30 days Overall leaderboard