I would like to attach a specific email message from my outlook to a specific Microsoft Project task as a link or attachment.
I am using Microsoft Office 2013.
Is there an option to do that?
It looks like you need to save the email message to the hard drive (see the SaveAs method of the Attachment class) and then add it as an attachment to the Project task. See How to: Add an Attachment in Microsoft Excel or Microsoft Project for more information.
Note, you can use the Macro Recorder in MSProject to generate the required macro stub automatically.
Related
I am building a custom add-in for outlook, but I couldn't use the add-in after adding to outlook, because it is inactive(disabled).
I created a custom add-in by following this documentation.
But after creating the add-in, I was not able to sideload using npm start.
So I used this. npm run dev-server.
And I added the add-in to outlook by following this guide - outlook on desktop.
At this moment, the custom add-in I just added is inactive, so I tried to troubleshoot this.
The documentation says I should go to File->Slow and Disabled COM Add-ins and enable the disabled add-in, but there were nothing in the option.
And also I tried to find add-ins in the system registry and set to enable always, but I couldn't find the added custom add-in either.
https://learn.microsoft.com/en-us/office/vba/outlook/Concepts/Getting-Started/support-for-keeping-add-ins-enabled
Did I miss anything or ...?
Even if the add-in is active, but it doesn't work.
I signed in with my work email and am using the latest version of Office365.
Thank you.
You are mixing web and COM add-ins for Outlook. It seems a web add-in was created using the yeoman generator and sideloaded into your Outlook account. Note, web add-ins work for Exchange profiles only (including O365). Most probably you are trying to run the add-in against a non-Exchange account in Outlook.
But the troubleshooting steps described in the post are related to COM add-ins only (VSTO based ones too).
We just released our Office JS Add-In for Outlook. Our Add-In takes one or more emails and sends them to an external web service to upload as a case note attachment for our enterprise application. With the previous Visual Studio Tools for Office (VSTO) technology, we could invoke our Add-In with any number of emails selected so that many could be sent at one time. With the Office JS technology, if we select any more than 1 email, the Add-In button is not enabled and we can't invoke our Add-In. We have 12,000 customers using this tool using VSTO and they will report this as a bug for our Add-In given that the old technology works and the new technology does not. We would like this capability added for Office JS so our customers can do what they did using VSTO.
This is not possible today. We track Outlook add-in feature request on our user-voice page.
It looks like the feature you want has been requested by others already. Please upvote the existing request https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/11080962-allow-outlook-add-in-commands-to-be-used-on-select. Feature request on user-voice are considered when we go through our planning process.
I am developing an outlook addin using visual studio 2017 outlook web addin template.
I want to handle the event when the addin was first installed.
How can I get the installation event.I refered this link but its not giving me any event information for addin.
Office.initialize is used for determining when an add-in is launched and the runtime is ready. When the event is invoked, it means that all Office.js APIs are ready to use. There is no event for when add-ins are installed. If you are looking to create a "First-Run" Experience, you may use the RoamingSettings object to set some kind of mark if user went through your guide and doesn't want to see it any longer. This object will be available right after Office.initialize, so you can try to get this mark (key) and redirect to your app page(s) or your guide page(s) according.
I couldn't find any documentation on this.
I found this posting over here: How to send the Assignment Email with a link to the task in it SharePoint 2013 Visual Studio Workflow
The questions is
Where can I find some piece of documentation on the tokens available out of the box?
How can I use my own variables here? %myvariable% didn't work..
If i understand you properly, you can create your global variable in the workflow and use that variable in your email text.
Can someone give me a quick explanation of when I would use Visual Studio 2008 Outlook 2007 Ad-In project type? and how would that compare to developing a bunch of outlook macros directly in outlook?
Basically, I want to have some sort of application read email (with attachments) from a pop3 email box, do some filtering/editing/validation of the subject/sender/content and then if certain conditions are met, save the attachments to a local file, and then add an entry into an SQL server database table (i.e. date/sender/subject/message).
Seems there are at least 10 different ways to do this....so between an outlook macro and a VS Office Project, how do I pick?
I am not clear, if I create this solution as a Visual Studio outlook add-in, where does it run? Is it loaded into outlook, does it run as a separate process and communicates back and forth with outlook? if outlook is not running, does it start it?
An Outlook Add-on is a compiled component that uses the Outlook API to perform the tasks you need. A macro/VB script is an interpreted script that actually uses the same API. The add-on approach is better if you want to deploy your functionality.
When you work on an Outlook add-on in Visual Studio, you'll be creating a .NET component, which integrates into the Outlook application, which is written in C++ so uses COM. You'll have to be careful about managed/unmanaged types and releasing objects you retrieve from Outlook.
I have recently completed just such a tool, but I chose to use Add-in Express (http://www.add-in-express.com/). These guys provide a layer of abstraction over the [challenging] Outlook API and also provide some excellent support if you're stuck.
In my case, with Add-in Express, I "run" by setting Outlook as the application command to run, in the Project properties. Add-in Express sorts out the installation of the add-on within Outlook. So when I press "Run", Outlook starts and my add-in is displayed, which may be debugged in the normal fashion. I'm not sure how VSTO (Visual Studio Tools for Office) works in this respect - or at least, I can't remember.
This is an example of an outlook add-in..
Personally, I don't see macros distributable.