Hi,
I'm new to powerapps and a task assigned to me regarding out of office, since we just migrated to the cloud.
I've just started using Out Of Office template, a brilliant app.
However, I'm facing some issues and need your help me sorting it out:
1- what if I needed to make all users in the company, which permission should be granted to these users in order to be able to use the app?
2- how can I insert a line in the internal response text that's generated by default? as the default text: "Thank you,Displayname"
3- the auto-reply can't be canceled from the app (web or phone), and has to be disabled from the outlook.
4- creating out of office makes 2 things, enable the auto-reply on the outlook (it's ok) and creates an appointment with a name "out of office" but it shows as "Free" how can I change this to be "out of office"?
Thanks in advance 🙂
Ahmed
Solved! Go to Solution.
Hi @Ahmed_Mamdouh :
Q1:what if I needed to make all users in the company,……
A:
First, you need to ensure that the user's lincense allows them to run a Canvas APP.I think this link will help you a lot
https://docs.microsoft.com/en-us/power-platform/admin/signup-for-powerapps-admin
Seondl,You need to share this app with these users.Please refere to this link:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app
Q2:how can I insert a line in the internal response text ……
A:
Could you tell me what " internal response text" is ?Are you talking about the "Success!" Text (Label23) in SuccessScreen?If so,you can set it's Text property to
"Success!"&Char(13)&"Thank you "&User().FullName
Q3:the auto-reply can't be canceled from the app (web or phone), and has to be disabled from the outlook
A:
Whether to enable auto-reply is a function set in OutLook and cannot be set by PowerApps.
Q4:creating out of office makes 2 thing……
A:
If my understanding is correct, you only need to adjust the OnSelelct proeprty of the submit button.
Best Regards,
Bof
Hi @Ahmed_Mamdouh :
Q1:what if I needed to make all users in the company,……
A:
First, you need to ensure that the user's lincense allows them to run a Canvas APP.I think this link will help you a lot
https://docs.microsoft.com/en-us/power-platform/admin/signup-for-powerapps-admin
Seondl,You need to share this app with these users.Please refere to this link:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app
Q2:how can I insert a line in the internal response text ……
A:
Could you tell me what " internal response text" is ?Are you talking about the "Success!" Text (Label23) in SuccessScreen?If so,you can set it's Text property to
"Success!"&Char(13)&"Thank you "&User().FullName
Q3:the auto-reply can't be canceled from the app (web or phone), and has to be disabled from the outlook
A:
Whether to enable auto-reply is a function set in OutLook and cannot be set by PowerApps.
Q4:creating out of office makes 2 thing……
A:
If my understanding is correct, you only need to adjust the OnSelelct proeprty of the submit button.
Best Regards,
Bof
Hi Bo,
Thank you, first of all, for the direction. I did encounter the same question and by searching "free" within the app I found the OnSelect Property of SubmitButton in ReviewScreen as you mentioned about in the most current MS Out of Office power app version. The problem is even though changing the Show as ="Out of Office" will now show the title of the block as "Out of Office", it did NOT block user's calendar with the usual purple color and actually block the calendar of the user for the said time frame as unavailable. In fact, with "Out of Office" showing on the title, the time slot still shows as "free" - please see the screenshot. On the left I manually blocked OOF and on the right it's the Power App block. If you click to open the one Power App created, it actually shows time as "Free" still although in the Submit button property I have changed it to "Out of office", that means changing it there only change the title of the event, not actually blocking the time off. The expected result would be purple color blocking the availability of the Out of Office period. How can we achieve that? Would greatly appreciate your thoughts on that.
Scarlett
Since no one answered my question (supposedly it's an old thread and no one revisits it), I did some digging and figured this out. Simply change the ShowAs parameter to "oof" (not "Out Of Office" as it would show in actual calendar view), it will serve the purpose. Hopefully this will help whoever runs into this similar problem
Hi,
I still have a problem with the application related to the empty _myCalendarID value and showing conflicts (see zero all the time).
After your tip, my calendar doesn't change to purple, but it's probably a _myCalendarID problem.
Can you give me your code from:
App OnStart
Save button Onselect (ReviewScreen screen)
regards
Elas Pinkman
A bit late reply but hopefully you have found solutions. Anyways, here are the codes as you asked -
For App OnStart =
//gets user profile, sets count variables to 0, gets user calendar ID, creates time selection collection
Concurrent(
Set(_myProfile, Office365Users.MyProfile()),
Set(_clearedEventsCount, 0),
Set(_inviteeCount, 0),
Set(_myCalendarID, LookUp(Office365.CalendarGetTables().value, DisplayName = "Calendar").Name),
ClearCollect(HoursList,
{Name:"12:00 am",Minutes:0}, {Name:"12:30 am",Minutes:30}, {Name:"01:00 am",Minutes:60}, {Name:"01:30 am",Minutes:90},
{Name:"02:00 am",Minutes:120}, {Name:"02:30 am",Minutes:150}, {Name:"03:00 am",Minutes:180}, {Name:"03:30 am",Minutes:210},
{Name:"04:00 am",Minutes:240}, {Name:"04:30 am",Minutes:270}, {Name:"05:00 am",Minutes:300}, {Name:"05:30 am",Minutes:330},
{Name:"06:00 am",Minutes:360}, {Name:"06:30 am",Minutes:390}, {Name:"07:00 am",Minutes:420}, {Name:"07:30 am",Minutes:450},
{Name:"08:00 am",Minutes:480}, {Name:"08:30 am",Minutes:510}, {Name:"09:00 am",Minutes:540}, {Name:"09:30 am",Minutes:570},
{Name:"10:00 am",Minutes:600}, {Name:"10:30 am",Minutes:630}, {Name:"11:00 am",Minutes:660}, {Name:"11:30 am",Minutes:690},
{Name:"12:00 pm",Minutes:720}, {Name:"12:30 pm",Minutes:750}, {Name:"01:00 pm",Minutes:780}, {Name:"01:30 pm",Minutes:810},
{Name:"02:00 pm",Minutes:840}, {Name:"02:30 pm",Minutes:870}, {Name:"03:00 pm",Minutes:900}, {Name:"03:30 pm",Minutes:930},
{Name:"04:00 pm",Minutes:960}, {Name:"04:30 pm",Minutes:990}, {Name:"05:00 pm",Minutes:1020}, {Name:"05:30 pm",Minutes:1050},
{Name:"06:00 pm",Minutes:1080}, {Name:"06:30 pm",Minutes:1110}, {Name:"07:00 pm",Minutes:1140}, {Name:"07:30 pm",Minutes:1170},
{Name:"08:00 pm",Minutes:1200}, {Name:"08:30 pm",Minutes:1230}, {Name:"09:00 pm",Minutes:1260}, {Name:"09:30 pm",Minutes:1290},
{Name:"10:00 pm",Minutes:1320}, {Name:"10:30 pm",Minutes:1350}, {Name:"11:00 pm",Minutes:1380}, {Name:"11:30 pm",Minutes:1410}
),
ClearCollect(ProgressTable,
{Row:1, Text: "Time, and title"}, {Row: 2, Text: "Response type"}, {Row: 3, Text: "Email access"}, {Row: 4, Text: "Contacts"}, {Row: 5, Text: "Review"})
);
//gets user's calendar events for next 90 days, gets user's relevant people
Concurrent(
ClearCollect(FutureCalendarEvents, Office365.GetEventsCalendarViewV2(_myCalendarID, Text(Now(), DateTimeFormat.UTC), Text(DateAdd(Now(), 90, TimeUnit.Days))).value),
ClearCollect(MyPeople, RenameColumns(Office365Users.RelevantPeople(_myProfile.Id).value,
"birthday", "Birthday", "companyName", "CompanyName", "department", "Department", "displayName", "DisplayName", "givenName", "GivenName", "id", "Id", "jobTitle", "JobTitle", "officeLocation", "OfficeLocation", "userPrincipalName", "UserPrincipalName")
)
)
I did make some modifications just so you know so you might want to test and double check the codes when using them on your app.
Codes on Save button (Review Screen) OnSelect =
//start and end times need to be passed into the connector in UTC time format
Set(_startTimeUTC, Text(DateAdd(_oOFRecord.StartDate, _oOFRecord.StartTime.Minutes, TimeUnit.Minutes), DateTimeFormat.UTC));
Set(_endTimeUTC, Text(DateAdd(_oOFRecord.EndDate, _oOFRecord.EndTime.Minutes, TimeUnit.Minutes), DateTimeFormat.UTC));
Set(_createdOOF, true);
Concurrent(
//schedules the automatic replies
Office365.SetAutomaticRepliesSetting("Scheduled", If(_sendExternalResponse, "All", "None"),
{ScheduledStartDateTimeOffset: _startTimeUTC,
ScheduledEndDateTimeOffset: _endTimeUTC,
InternalReplyMessage: InternalMessage.HtmlText,
ExternalReplyMessage: ExternalMessage.HtmlText}),
//creates an event in your outlook calendar with ShowAs = Out of Office and ResponseRequested = false
Set(_createdCalendarEvent, Office365.V2CalendarPostItem(_myCalendarID, _oOFRecord.Title, _startTimeUTC, _endTimeUTC,
{Body:_internalMessage, IsHtml: true, ShowAs: "oof", ResponseRequested: false})));
Navigate(WelcomeScreen, BorderStyle.None)
Dear Community Members, We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd. During this period, members will not be able to Kudo, Comment, or Reply to any posts. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
We are excited to announce the Summer of Solutions Challenge! This challenge is kicking off on Monday, June 17th and will run for (4) weeks. The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities. Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”) - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024 Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods. You must enter into each weekly Entry Period separately. How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different. Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers. At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing. Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random. Individuals will be contacted before the announcement with the opportunity to claim or deny the prize. Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners. Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event. ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE** Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08 23 @WarrenBelz 31 @DBO_DV 10 @Amik 19 AmínAA 6 @mmbr1606 12 @rzuber 4 @happyume 7 @Giraldoj 3@ANB 6 (tie) @SpongYe 6 (tie) Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08 10@WarrenBelz 25 @DBO_DV 6@mmbr1606 14 @AmínAA 4 @Amik 12 @royg 3 @ANB 10 @AllanDeCastro 2 @SunilPashikanti 5 @Michaelfp 2 @FLMike 5 @eduardo_izzo 2 Meekou 2 @rzuber 2 @Velegandla 2 @PowerPlatform-P 2 @Micaiah 2 Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27 Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8 SunilPashikanti8
On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners. The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights. Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.
We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for. We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer. Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together. Here's to new beginnings and endless possibilities! If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport. To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages