Is there any property or event to allow users to download ics file (calendar) using FullCalendar.min.js?
I see lots of excellend properties (https://fullcalendar.io/download )but not able to find out download property which can give .ics file.
Any help would be appreciated.
Related
I have the task to get several Mails with the Graph API and archive those as .msg files to a server.
Right now, i'm only able to get mails as MIME. Is there a way to transform those into .msg files?
MSG file format is specific to the Windows version of Outlook. Neither Graph nor EWS expose that file format in any way. You can create an MSG file (see How to create ".msg" file without using outlook in mfc?) and import EML into it.
Also note that Outlook will be just as happy to open and display an EML file as an MSG file, so it might make sense to work with EML files, even if they don't expose all the information and MAPI specific properties that an MSG file can store.
TL;DR: I want to extract an Excel attachment from an Outlook message, automate an Excel script on the unprocessed reports, and then send the output in a new email message.
I have reports from Amazon that I have sent to a specific email on my Outlook folder each month.
I set up Power Automate to trigger whenever an email with an attachment is received in this folder.
I want to take the attachment in this Outlook email and run an Excel script that I build on Excel Desktop (not an Excel application macro) to format the data.
And then I want to send the output/result (scripted email attachment) as the body of an email out to clients.
I've gotten the first and last parts to run, but I can't get the script to process the file, that's the phase that always breaks that automation.
Things that I think might be causing the issue:
Do I need to extract the attachment from the email and save it as a file before I can run the Excel script on it?
Does the attachment need to be saved through Share Point to be later referenced by the Excel script?
Does the script need to be on the same or different cards as previous steps?
I've seen people run the Excel script through a Scope.
I've also looked at every available YouTube video to troubleshoot this: some go over certain steps in the process, but I'm having a hard time threading everything together.
Other Things I've Tried
I also tried to build a macro that does the same thing as my Excel desktop automation, and then wrote VBA code so each time a new sheet is opened the same macro is run, processing the data. But I couldn't get it to run on any new future sheet that I open, even when writing the VBA auto-open code in Module as well as This Worksheet.
I'm open to any method that will make this work.
Get email (V2) - Message ID
#{triggerOutputs()?['body/id']}
Apply to Each - Select an output from previous steps
#{outputs('Get_email_(V2)')?['body/attachments']}
Create File - File Name
#{items('Apply_to_each')?['name']}
Create File - File Content
#{items('Apply_to_each')?['contentBytes']}
Move or rename a file - File (make sure you add .xlsx for Destination File Path)
#outputs('Create_file')?['body/Id']
Run Script - File
#outputs('Move_or_rename_a_file')?['body/Id']
Get file content - File
#outputs('Move_or_rename_a_file')?['body/Id']
Send an email (V2) - Attachments Name-1
#outputs('Move_or_rename_a_file')?['body/DisplayName']
Send an email (V2) - Attachments Content - 1
#body('Get_file_content')?['body']
The task is to save the stored credential file contents to database.
I am using the Google Java client quickstart project to get calendar and events from google. I am also using the offline access flag and set it as true. In the startup code it uses this:
.setDataStoreFactory(new FileDataStoreFactory(new java.io.File(TOKENS_DIRECTORY_PATH)))
So instead of this FileDataStoreFactory can we use something else, so that I can write the contents to my database
Full code : https://developers.google.com/calendar/quickstart/java#step_3_set_up_the_sample
I wanted to understand if I can save this StoredCredential file contents to the database for each user, so that I can schedule this calendar sync.
Any help will be appreciated.
Is there a way to change the GlobalAppointmentId of an appointment.
I found this property schema:
var globalIdPropertySchema = #"http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/00030102";
and I set a new value to it:
Item.PropertyAccessor.SetProperty(globalIdPropertySchema, MY_NEW_ID);
then when I get it using Item.PropertyAccessor.GetProperty I'm getting the new id, but the Item.GlobalAppointmentId is still the original one.
I'm needing this so that my addin can sync appointments using ICS files, our system sends ICS files with a suffix in the iCalendar UID field.
But it's possible to create appointments for our system through the Outlook AddIn, then the ICS file which is send uses the GlobalAppointmentID as the UID field in the ICS file. We store it, but it needs to have our suffix. Any tips?
You will need to completely release the appointment to make sure Outlook reloads it next time.
Do you see the change after you restart Outlook?
I'm using SkyDrive Live to upload files, but now I want to download the file I just uploaded. In the documentation it mentions a file ID but I'm not finding how I can get that ID.
I have a folder that I placed the file into so I would somehow need to pass the folder ID and then get the fileID...
Does anyone know how to do this or know of any tutorials on this?
If you uploaded the file with SkyDrive SDK, then you get the fileId by the UploadCompleted event's e.Result["id"]
If you have the folderId, but not the fileId, then you can query the content of the folder with client.GetAsync(folderId/files). The GetCompleted event's e.Result["data"] returns a IDictionary of file descriptions, each containing the fileId. In this cased you need to identify the required file by dictionaryEntry["name"] or some other magic..