cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cweaver
Advocate II
Advocate II

App Screen View/Navigate Count Property

Hello,

 

I wanted to see if there was a way to quantify the number of times a specific screen in the app has been viewed/navigated each session? My app has a tabbed browser style screen navigation in that the user clicks whichever tab they want to accomplish whichever task they need to (to view customer sites and perform actions related to those sites, click the Sites tab; to view building materials properties, pricing, start a project BOM, click the Materials tab, etc.). Initially my app splash screen would refresh (with visual indication) all of the app data connections, but the time to refresh all the connections and navigate to the home screen was horrendously unacceptable. My current approach is to refresh the data connections (with visual indication) relevant to each tab (screen) as the tab is selected. This dramatically improves home screen load time, however a user will frequently need to switch back (from a different tab) to a tab they were previously on, and as such, the data connection for that screen is refreshed. As our source data is not being updated frequently enough and the user will really only need the data refreshed each time they open the app, is there a way to, say, for a tab's (button's) OnSelect property to be:

 

If(ScreenViewCount('TargetScreen')<1, Refresh('ScreenSource(s)'); Navigate('TargetScreen'), Navigate('TargetScreen'))

 

I can't seem to find such a property offhand, but wanted to make sure I wasn't missing anything?

Thank you for your time

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User III
Super User III

Watch this video which is more comprehensive with Vivek and Audrie

https://youtu.be/OM-rlhKJFTA

------------

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

View solution in original post

2 REPLIES 2
eka24
Super User III
Super User III

Watch this video which is more comprehensive with Vivek and Audrie

https://youtu.be/OM-rlhKJFTA

------------

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

View solution in original post

@eka24, THANK YOU! This video was immeasurably helpful and there is no way I would have been able to find the content of this video otherwise. I've never saved a YouTube video since YouTube came out, but I have saved this one. 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,423)