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:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,398 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,398 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 45

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 14 Most Valuable Professional

#3
DP_Prabh Profile Picture

DP_Prabh 13

Last 30 days Overall leaderboard