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

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

Related

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

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>

Disable "Open Document" in Oracle Attachments (Oracle Applications)

Up to recently I had disabled Attachments for a responsibility.
I have now been asked to activate them (fine) but only allow for the agent to upload attachments and not view them.
The (what I thought would be) simplest way of doing this was to remove the "Open Document" button in the Attachments window but can not find it in any menu.
Is this even possible? I only have access to Oracle Applications so can not query the backend directly.
Set FND Diagnostics profile to Yes for your user.
Navigate to your screen and then Help > Diagnostics > Properties > Item
You will be able to find the internal name of the button. You can then use Forms personalisation to remove it.
You can disable or hide that button through form personalisation as we can do for any field in any forms.

How to get items to be displayed in left navigation pane of windows explorer

I need to get all the items in the left navigation pane of windows explorer.Same as a new explorer window would display i.e. taking into account the user settings.
i am not getting any API or registry where i can get these settings.
I can get the details of these folder (Favorites, Libraries, Network etc. ) in general using IKnownFolderManager and IKnownFolder COM interfaces.
But my problem is i only want to get the items which user has enabled/customized to display in explorer. where these explorer settings are saved ?
please suggest any Win32/COM API or any other programmable way to get this done.
thanks in advance.
Take a look at windows libraries api.

ICS file for Outlook Tasks

Is there an Outlook Task equivalent to the calendar ICS file. Such that when a user clicks on such a file , the Outlook Task window opens up. I searched hard, but looks like there is no standardization for Tasks as it is for the Calendar. Basically what I need is for the user to click on the file or its link and the Task window opens instead of the Appointment or Calendar window.
Thanks.
ICS files can contain VTODO part (instead of VEVENT), but Outlook does not understand VTODO.
Why not create an MSG file?

read/capture Windows pop-up message in vb6?

Problem: Need to read/capture the text of Windows pop-up messages that is generated by non-VB applications.
Situation:
I've a VB6 app, part of which requires processing an excel workbook. A non vb-6 pop-up window (as attached screen) "FILE CONVERSION IN PROGRESS" comes up, while opening an new version of excel-sheet from an old MS Excel app. And automatically it closes alos.
Requirement: I want to capture that pop-up occurance in the code. And then write a conditional statement code for the 'cancel' button click event of that non vb-6 pop-up.
Can anyone suggest something?
You can access other applications with the following APIs:
FindWindow() to locate the main window of what you're looking for
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633499%28v=vs.85%29.aspx
GetWindow() to navigate through the HWNDs of the application so you can get to the button
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633515%28v=vs.85%29.aspx
GetWindowText() to access the text from a control (it cannot be an Edit control)
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633520%28v=vs.85%29.aspx
You'll want to use Spy++ (which can be downloaded) to see what the class name you're looking for when it comes up and to figure out the hierarchy to navigate properly.
You'll need to use the API Text Viewer to get the API declarations so you can use them in VB6 properly.

Resources