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
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
Solved! Go to Solution.
Can you insert a gallery and Set the Items property to
Office365Outlook.CalendarGetTablesV2().value
to verify the names of the Calendar the user has
Another Workaround is
Office365Outlook.V4CalendarPostItem(If(!IsBlank(LookUp(Office365Outlook.CalendarGetTablesV2().value, name = "Calendar")),"Calendar","Kalender");
"The funny subject";
Thanks,
Stalin - Learn To Illuminate
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.
With regards,
Kevin
Can you insert a gallery and Set the Items property to
Office365Outlook.CalendarGetTablesV2().value
to verify the names of the Calendar the user has
Another Workaround is
Office365Outlook.V4CalendarPostItem(If(!IsBlank(LookUp(Office365Outlook.CalendarGetTablesV2().value, name = "Calendar")),"Calendar","Kalender");
"The funny subject";
Thanks,
Stalin - Learn To Illuminate
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.
With regards,
Kevin
Perfect
With your gallery , spot on my problem Thank you sir for the help .
I am so happy now .
User | Count |
---|---|
252 | |
104 | |
94 | |
50 | |
39 |