Command line or other tools to collect outlook add-in's installed? - outlook

Is there any tool or utility to see the list of admin-managed Outlook add-ins installed on a user machine?
This will be helpful to gather diagnostics using script rather than asking users to take screenshots and upload manually?
Can we get manifest info used by the add-in using any utility tool or from UI?

There is no such tools. You can find the list of web add-ins in the hidden items of your Inbox folder. If you try to use MFCMAPI and navigate to the associated content table of your Inbox where you can find the list of hidden messages:
Every message with a message class set to the IPM.Configuration.ClientExtension.* represents a web add-in installed for your mailbox.

Admins can run this powershell commandlet to get add-ins for individual users:
Get-App -Mailbox <userEmailAddress>

Related

Outlook web addin save the mail and lauch a program

I had a VSTO in Outlook which saves the the selected email into a Temp folder and launchs then an exe to handle the mail.
Now, we want to create an addin in Outlook web app. Is there a way to save the selected email and reuse out exe ? how to launch an exe loccaly from web addin ?
Thanks
Web addins have no access to the local file system and cannot launch executables.
The best you can do is let the user download the file. If your app is registered to handle file extension of the file you provide, the user can then launch the app.
That is not possible. For security reasons Office web add-ins don't have access to the local file system, but you may consider using all standard mechanisms for web applications like web storage and etc. So, it is not possible to run any executable files on the local system for security reasons.
Office web add-ins are run under the context of currently selected item in Outlook. The Office JavaScript API doesn't provide any method for saving items on the disk (again, disk IO operations for accessing the local filesystem is not available for security reasons).
You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.

Open Task pane from command in Outlook add-in using Office.js

I am working on an outlook add-in and I need the ability to open a task pane from one of the button commands.
Long story short the command will reach out to an API. The result of the API call will let the client side know if any user interaction is required. If it is I want to present the user with the task pane to fill in any required information.
From what I have found you should be able to call Office.addin.showAsTaskpane().
However this only works if you are using the Shared runtime requirement set which is only supported in Powerpoint, Word, and Excel.
In Outlook you can open a task pane by clicking on the ribbon button or notification item which can be added programmatically, i.e. dynamically. So, you may consider adding a notification item with a link for opening a task pane as a possible workaround. However, it requires a user interaction.
Web add-ins don't provide any way in Outlook to open a task pane programmatically. You can file a new feature request at https://aka.ms/M365dev-suggestions .
This is not supported yet
You can refer from here Duplicate question OR similar
Thanks

How to get the path of .exe/.pkg installed on system using javascript/jquery?

I am developing an Outlook Web Add-In using javascript/html/css. I am trying to get the path of installed .exe/.pkg file on Windows/macOS respectively on button control's click.
Please suggest solution.
Because all office addins run in a web-sandbox, it's not possible to access the users filesystem.

Creating link to Outlook messages

Outlook 2007
While composing a new message in outlook can a link be created to other messages?
Whww I am composing a new mail I would like to create a link to asent item, clicking this link should then open the message.
Can this be done?
Microsoft has a support KB on hyperlinks to access Outlook folders and items:
http://support2.microsoft.com/kb/158135
However, the Outlook: scheme is not registered by default with newer versions of outlook.
http://www.slipstick.com/outlook/using-outlook-links/
I verified that the registry editing technique to associate "outlook:" with opening Outlook items ( http://www.slipstick.com/problems/outlook-missing-outlook-protocol/ ) works for Outlook 2013 on Windows 8.1, so I imagine it would work for earlier versions too.
I needed to do the same thing in Outlook 2013. I was able to do so without any registry editing. (I believe such editing is only necessary if you want the links to work outside of Outlook)
I wanted to create a link to an email that I had stored in the following Outlook folder: My Projects\Set 1\. The subject line of the email was Testing links. Here's the steps to do so:
Right-click on the folder in which the target email is stored -> Choose Properties...
Copy the full Location path (in my case this was \\MyEmail#my.domain\My Projects. (Note that this doesn't include the parent folder itself; Use the description box (or some other convenient location) to paste that path, then append the folder. So in my case the full path looked like \\MyEmail#my.domain\My Projects\Set 1.
Open up the email that you want to paste the link into.
Create a normal hyperlink
In the Address field type Outlook: followed by the path you created in Step 2 above, followed by a backslash and tilde, followed by the subject line of the target email. So for me, that whole address looks like this: Outlook:\\MyEmail#my.domain\My Projects\~Testing links
Done.

Open .eml files in compose mode in outlook 2010

I want my users to be able to open eml files in compose mode in outlook 2010, by default it opens in readonly mode. Is there any way out?
Use: We generate email templates which the users can download and customize it before sending.
If you can add the header "X-Unsent: 1" to your .eml, it should open in Compose mode.
Works on Microsoft Outlook but does not work on thunderbird.
A related discussion can be found here https://bugzilla.mozilla.org/show_bug.cgi?id=688284
Mail on MacOS adds this header internally:
X-Uniform-Type-Identifier: com.apple.mail-draft
Unfortunately, this will still not allow you to sent it directly. However, you can move any mail to your drafts folder and then sent it from there.

Resources