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 Apps / CDS datasource update ...
Power Apps
Answered

CDS datasource update only manually

(0) ShareShare
ReportReport
Posted on by 7

Hi friends,

 

Whenever I open my app with CDS datasource collections and forms are empty until I update manually.

This does not work:

OnVisible=Refresh(datasource1);; Refresh(datasource2)

regards,

Roman

Categories:
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @zund (Roman),

     

    Would you please share more information about the items (or the datasource) property of the corresponding controls, like Gallery or form?

    If you are using collection here, on first opening, it would need to collect the data first, if you are using entity directly from the Common Data Service connection, then there is no need to configure the Screen OnVisible property, on first loading the App would query the data directly from the Datasource.

    The Description of the OnVisible property of the screen control:

    OnVisible – How an app responds when the user navigates to a screen.

    Per testing, the refresh works from my side. Please note that in order to trigger the OnVisible property, the screen should be navigated to first.

    Screen control in PowerApps

    Regards,

    Michael

     

  • zund Profile Picture
    7 on at

    Thank you @v-micsh-msft

     

    So I misunderstood what OnVisible ist used for but why is the app not loading the date from CDS on app and displaying it in the gallery?

    There is an error initially on the gallery filter and the checkboxes of the items because it can not find three boolean columns in the entity. After manually refreshing everything is fine. It will find the columns and will display the filtered items.

     

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 Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard