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 / Is there a way to add ...
Power Apps
Answered

Is there a way to add the Calendar new screen without forcing the user to select a calendar from the dropdown?

(0) ShareShare
ReportReport
Posted on by 2,297

Is there a way to add the "Calendar" new screen without forcing the user to select a calendar from the dropdown?

WebPortal_0-1642097948181.png

 

I mean, it all works well, but I'd like to display a specific calendar when that screen becomes visible automatically.

 

I've tried many different things and it seems impossible, so if anyone has a solution, I'd appreciate.


Thanks in advance!

Categories:
  • Verified answer
    VeGETzX Profile Picture
    367 on at

    I'm not sure if this is what you're looking for but here is my try.

     

    Since calendar selection dropdown Default property was set to "_myCalendar.DisplayName" we need to put the calendar we want it to select by default to that _myCalendar variable.

     

    I assume that I want to pick default calendar by its DisplayName, So I set the screen's OnVisible property to

    Set(
     _myCalendar,
     LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "United States holidays")
    );
    Select(dropdownCalendarSelection1);
    

    This mean when calendar screen is showing up it will look for a calendar "United States holidays" and put it in _myCalendar variable. Then we use Select() to simulate the selection the calendar selection dropdown because the default generated calendar will updated when user click that dropdown.

     

    Here is a result, United States holidays calendar will automatically selected when screen is visible

    2022-01-15_00-22-52.gif

     

  • WebPortal Profile Picture
    2,297 on at

    @VeGETzX 

     

    Thank you, I believe that makes it.

     

    Although.. the calendar takes quite a lot of time to display, sometimes around 5 seconds or so, do you know why?

  • VeGETzX Profile Picture
    367 on at

    Yes, There are some delay because Power Apps will fetch the user's calendar from Outlook every time that screen is visible.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard