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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Power pages does not r...
Power Pages
Answered

Power pages does not reflect the changes immediately in the power pages site

(0) ShareShare
ReportReport
Posted on by 24

Hello Everyone,

I am currently working on a project where an external user books a meeting room from powerpages. The problem is when a user books a meeting room, I want the record to display immediately or after one refresh on their booking page. I know Powerpages takes 1 to 2 minutes to display records but in my case, I want to display the records immediately or after one refresh. Does anyone have any solution to this as it is critical for my current project?
I am using web API to fetch the records from the CRM table and power automate flow to create or update the record into the CRM.

 

Thanks

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi, if you are using the Web API you can add a "name != datetime.now" idea so the query is always different, this will bypass the cache

    this article might help: Power Apps Portals – Caching Tips – Oliver Rodrigues (oliverrodrigues365.com)

  • RohitAswal Profile Picture
    24 on at

    Hello @OliverRodrigues ,

    can you please provide me with the code? 

    I have tried but it is throwing me an error.
    here is the url: 

     `${portalURL}_api/salesorders?$filter=_customerid_value eq ${accountID}&$name ne ${Date.now()}`
  • Verified answer
    oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at
    webapi.safeAjax({
     type: "GET",
     url: "/_api/<my table plural name>?$select=<my columns>&$filter=<my id column> eq " + applicationId + " and <my name> ne '" + Date.now() + "'",
     contentType: "application/json",
     headers: {
     "Prefer": "odata.include-annotations=*"
     },
     success: function (data, textStatus, xhr) {
     var results = data;
     // YOUR LOGIC HERE
     for (var i = 0; i < results.value.length; i++) {
     var result = results.value[i];
     }
     },
     error: function (xhr, textStatus, errorThrown) {
     console.log(xhr);
     }
    });

     

    here is my code, let me know if that works

    btw.. you don't need to specify your "portal url".. if you just add "/_api/" it should return your portal root url

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 18 Super User 2026 Season 2

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#3
CU08101843-0 Profile Picture

CU08101843-0 4

Last 30 days Overall leaderboard