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 / Office365Outlook.V4Cal...
Power Apps
Answered

Office365Outlook.V4CalendarPostItem problems

(1) ShareShare
ReportReport
Posted on by 648

Hello out there 

 

I am a Swedish user here the name of calendar is Kalender 

To find calendar names i use this in a listbox  Office365Outlook.CalendarGetTables().value

 

If i find the word Kalender i change that in my code below  to "Kalender" , but the code with "Calednar"
works 4 some users but not all so there is my totaly confusion . 


When i am logged in the result is in  my dropdownlist Kalender 

dalacarelia_196_0-1637395470603.png

 

This code works for me and my test user but not all clients and they also have Kalender in their app . 

 

Office365Outlook.V4CalendarPostItem("Calendar";
"The funny subject";
DateAdd(Now(); TimeZoneOffset(); Minutes);
DateAdd(Now() ; 10 + TimeZoneOffset(); Minutes)
;"(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"

)

This code now with Kalender works for some oft the clienst bur not for me . 


Office365Outlook.V4CalendarPostItem("Kalender";
"Ämne";
DateAdd(Now(); TimeZoneOffset(); Minutes);
DateAdd(Now() ; 10 + TimeZoneOffset(); Minutes)
;"(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"

)
Here si a link to see the problem : https://youtu.be/1XcyzCgmygM

Categories:
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @dalacarelia_196 

     

    Can you insert a gallery and Set the Items property to

    Office365Outlook.CalendarGetTablesV2().value

    to verify the names of the Calendar the user has

    StalinPonnusamy_0-1637432870895.png

     

    Another Workaround is

    Office365Outlook.V4CalendarPostItem(If(!IsBlank(LookUp(Office365Outlook.CalendarGetTablesV2().value, name = "Calendar")),"Calendar","Kalender");
    "The funny subject";


    Thanks,
    Stalin - Learn To Illuminate

  • Verified answer
    powercorner Profile Picture
    477 on at

    Hello @dalacarelia_196 ,

     

    first of all! It is very nice that you recorded a short clip to describe your problem. That makes things much easier!!!
    I think your problem has something to do with the Id you are sending in the PostItem function.
    Because the displayname of a calendar can be different, so its better to use its Id.

    Ad you can see on my picture I also added the calendar items into a dropdown (DropDown1 - command: Office365Outlook.CalendarGetTables().value)
    And I used the Dropdown.Selected.Name in the PostItem function to make sure that its created properly. Your error which you showed in your screenrecording was pointing at the id. So it might be that the displayname differs for users with a different language. I think this aproach should work.

    powercorner_1-1637433108489.png

     

     

    With regards,
    Kevin

  • dalacarelia_196 Profile Picture
    648 on at

    Perfect

  • dalacarelia_196 Profile Picture
    648 on at

    With your gallery , spot on my problem  Thank you sir for the help .

    I am so happy now .

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 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard