As part of an automation procedure, I must copy the emails with attachments from Outlook to GCS(attachment formats should be .csv files). Can somebody advise me on how to complete this process best? Please keep in mind that I am new to GCP and that the simplest explanation would be beneficial.
Thanks in advance.
You can use REST API such as Graph API to retrieve the required data from the Office365 side and transfer it to the GCS. See Use the Microsoft Graph API for more information.
In case of dealing with Outlook (as an application installed) you can develop a VBA, COM add-in or just automate Outlook from an external application.
The simplest choice is VBA which allows to automate tasks in Outlook. VBA macros are not designed for distributing on multiple machines, that is for COM add-ins were invented. In that case you can create an installer like for any other distributable software.
The Outlook object model provides a rich set of properties and methods that allows getting the job done. You can use the Attachment.SaveAsFile method to save attached files on the disk from where you could upload them to the GCS.
Related
I have exported Firestore collections to Google Big Query to make data analysis and aggregation.
What is the best practice (using Google Cloud Products) to serve Big Query outputs to a client web application?
Google provides seven client libraries for BigQuery. You can take any library and write a webserver that will serve requests from client web application. The webserver can use a GCP service account to access BigQuery on behalf of its clients.
One such sample is this project. It's written in TypeScript. Uses NodeJS library on the server and React for the client app. I'm the author.
You may try to have an express tour through Google Data Studio, looking for the main features what this Google analytics service can offer for the customers. If your aim stands for visualizing data from Bigquery, Data Studio is a good option, thus it provides a variety of informative dashboards and reports, allowing the user customize charts and graphs sharing them publicly or via user collaboration groups.
Data Studio spreads a lot of connectors to different data sources, hence you can find a separate Bigquery connector for further integration with data resources residing in Bigquery warehouse.
You can track for any future product enhancements here.
I'd like to do a key phrase analysis of a Microsoft Word document. It looks like the API only takes JSON documents. Is there a route to use real life documents like Microsoft Office documents?
A recent hackathon project, Resolving Managed Metadata Madness in SharePoint, answers this question.
The developer of that project used a three step process involving custom code. An Azure Function was written to extract the text to pass to the API. The function returns the results of the analysis back to Microsoft Flow.
A Flow attached to Document Library will call the Azure Function
that’ll do the heavy lifting
An Azure Function will run, extract
text, analyze it using Azure Cognitive Services, and then write the
info back to SharePoint Online
Finally, notifies admin of the
execution and the creator of the file.
I'm trying to use the new Data Transfer API for Google Apps Domain and I would like to transfer some specific Google Drive files from one user to another. It seems we can use this API to transfer a "full service" (eg: all files from Google Drive) and not only some specific files.
Is my understanding of this API is correct or is it possible to limit the transfer to specific resources?
Thank you.
You're correct. The API enables you to transfer ownership of application data (currently Drive documents and Google+ pages) in bulk. It essentially allows you to automate the manual ownership transfer task documented here. You might want to read this blog here which has some useful background information.
The only way to achieve what you want is to use the Drive API (not to be confused with the Drive SDK).
I need to write a small program that will be able to add existing email accounts to outlook so that we will be able to recieve email messages on a virtual machine. We are using outlook 2003 and outlook 2010 (A 2003 solution is more important though)
It is not possible to do by hand as it needs to be part of an automated test and setting them up manually all the time would not be feasable.
I have looked around on google and I can't seem to find any help in using the Extended MAPI so I thougt I would come here.
If anyone could help me out by then that would be great.
If you have an option using either vb script or c# that would also be useful.
What kind of account?
POP3/SMTP accounts are not MAPI based and MS did not document the parts of the IOlkAccountManager interface responsible for creating new accounts.
For Exchange accounts, use IMsgServiceAdmin::CreateMsgService("MSEMS", ...) - MSDN has a few example of how to do that. For the PST accounts, the service name will be "MSPST MS" or "MSUPST MS".
Nowadays a lot of web applications are providing API for other applications to use.
I am new to the usage of API so I want to understand the use cases for it.
Lets take Basecamp as an example.
What are the use cases for using their API in my web application?
For inserting current data in my web application into a newly created Basecamp account instead of inserting everything manually which could take days or weeks if the data is huge?
For updating my application data when the user changes something in Basecamp. If so, how do I know for example when a user add/edit/remove a contact in Basecamp. Do I make a request and check every minute from the backend?
For making backup of the Basecamp data so I can move it to other applications if necessary?
Are all the above examples good use cases for the usage of API?
Are there more use cases?
I want to have a clear picture of why it's good to use another web service API and how I can leverage that on my application.
Thanks.
I've found the biggest reason to use and provide web services is to be able to programmatically drive the application with another process. This allows the coupling of different actions in different applications driven by one event/process/trigger.
For example I could create a use a webservice provided by Basecamp, my bug tracking database and the continuous integration server. I could tie all those things together and kick them off from a commit hook script.
I can have a monitor in production automatically open a ticket in our ticket tracker. This could trigger an autoremediation process from the ticket tracker which logs into the box remotely and restarts the service.
The other major reason I've seen to use and provide web service is to reduce double entry. If you do change management in your production environment that usually means you create Change tickets. The changes that occur may also need to be reflected in the Change Management Database which is usually a model of how production is suppose to look. Most of these systems don't automatically drive the update of your configuration item with the data from the change. Using web services you can stitch them together to eliminate the double (manual) entry that would normally occur.
APIs are used any time you want to get data to/from an application without using the default interface.
*I'd bet there's a mobile app would use the basecamp api.
*You could use the api to pull information from basecamp into another application (like project manager software or an individual's todo webpage)
*the geekiest of us may prefer to update basecamp from a script/command line rather than interrupting our work flow to open a web page and click around.