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 / Update data from datav...
Power Pages
Answered

Update data from dataverse

(1) ShareShare
ReportReport
Posted on by 4 Most Valuable Professional

Hi everyone,

 

I've created a page with a list component from a dataverse view.  The problem is when I create new records in the table (in dataverse), I can see reflect the new data in the page, even refreshing or reloading the page.  The only way to obtain the new data is from the page studio press to preview again.

 

Is this a bug or I am doing something wrong.

 

Thanks for your comments.

 

Roberto

 

 

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,505 Super User 2026 Season 1 on at

    Unfortunately, data created/updated from DataVerse (that is not initiated from the Portal) to Portal is not real-time, and can take several minutes to be available on the Portal (the Micsrosoft SLA is 15 minutes, but usually is not more than a couple).

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Roberto_corella 

     

    Completely agree with @Fubar  and the SLA is as mentioned. Try this it may or may not work without going to the design studio 

    1. Once you add the data in dataverse table 

    2. wait for a few minutes. Go to the site and press ctrl + F5 (hard refresh). This will reload the page and retrieve missing data 

     

    3. Most of the time I have ended up pressing sync config and then ctrl+F5. 

     


    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Christian Leverenz Profile Picture
    1,214 on at

    Hi @Roberto_corella ,

    a colleague of mine always says, in software you face two hard problems: naming of variables and caching 🙂

    To overcome caching of the data, i sometimes do a fetch for the data in the page itself with a where statement like createdon < current date (https://docs.microsoft.com/en-us/power-apps/maker/portals/liquid/template-tags#fetchxml ). As the current date usually changes when loading the page, a request is made to the dataverse getting new data. This then usually reflects the new data on the page.

    For example: 

    {%- fetchxml bypasscache -%}
    <fetch version="1.0" output-format="xml-platform" mapping="logical" no-lock="true">
    <entity name="account" >
    <filter>
    <condition attribute="accountid" operator="eq" value="<the loaded accountid from request.params["id"] for example" />
    <condition attribute="createdon" operator="le" value="{{ now | date: 'yyyy-MM-ddTHH:mm:ss'}}" />
    </filter>
    </entity>

    Of course, you have to read something from that fetch. If you like to refresh dependent data, you might wnat to fetch for example contacts whith condition parentcustomerid = myid or something like that.

     

    Give it a try, whether it resolves your cache issues.

     

    Hope it helps and does not sound too creepie,

      Christian
    </fetch>
    {%- endfetchxml -%}

    But do this only when the data is to be refreshed. It increases the number off calls to the dataverse and with high tghraffic you could get in touch with throttling https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations 

  • ssm251989 Profile Picture
    15 on at

    Can we able to use the same approach to the power pages api calls instead of this web template method? Please suggest.

  • GWham1 Profile Picture
    on at

    You are a victim of portal cache. You could try either of the following.

     

    Use FetchXML and add a filter to force it to get the latest data by checking the createdon date is not equal to now.

     

     

    <filter type="and">
     <condition attribute="createdon" operator="ne" value="{{now}}" />
    </filter>

     

     

    Or, if you want to continue to use the list component, update your view to add a separate filter condition to check the date is not in the last x years. Something like the below;

    GWham1_0-1709984278805.png

     

    That should force it to check each time and get the latest data.

     

    Let me know how you get on.

  • ssm251989 Profile Picture
    15 on at

    I've used and  createdOn Condition to get the latest data it works fine..!!! Thank you!

  • Verified answer
    GWham1 Profile Picture
    on at

    @ssm251989 👍 @Roberto_corella Could you 'accept as solution' if this resolved your issue. Thanks.

  • ssm251989 Profile Picture
    15 on at

    Hi GWham,

    Accept as solution Option is not showing to me, pls refer the below screen shot. Can you pls Guide me where I can saw that option.

     

    ssm251989_0-1710221226805.png

     

     

  • GWham1 Profile Picture
    on at

    @ssm251989apologies, only the original poster can see this. All good. Glad I could help you

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 50

#2
Valantis Profile Picture

Valantis 26

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard