Is there any way to trigger delete event from outlook web add-ins - office-addins

I want to delete the current outlook web event from custom add-in created using task pane. Is there any way to capture the delete event of item from custom button click inside task pane. Please see the below screenshot for the same.
Screenshot

Related

Outlook - Create a custom button to open up a Pane when New meeting is being created

I have a requirement to create a task pane when a New Meeting button in outlook is clicked with React Js.
I am new to the Outlook add-in development.
So any help is appreciated.
Thanks
Outlook web add-ins work under the currently selected item in Outlook. If you need to create a custom ribbon button which opens a task pane - that is a supported scenario. Read more about that in the Add-in commands for Outlook article.

Is there a way to handle browser back events in an Outlook web-addin?

I am developing an Outlook web add-in using React and TypeScript. The add-in is a single-page application and has its own buttons for navigating back and forward. It is loaded as a taskpane in Outlook. The current behavior is that when a user clicks the browser back button while the taskpane is loaded it simply closes.
What I am trying to achieve is that the add-in listens to the back button click in the browser and handles it accordingly i.e. by navigating back within the taskpane rather than closing it.
I have tried listening to 'popstate' events within the React component:
public componentDidMount() {
window.addEventListener('popstate', () => {
console.log("Back button clicked.");
this.props.onBackButtonClicked();
});
}
The problem with this approach is that the 'popstate' event never fires as the taskpane add-in is hosted within an iframe. I have no control over the iframe itself as all Outlook web-addins are hosted within an iframe. I also cannot access the parent window of the iframe as it is on a different domain.
Is there a way for the Outlook web add-in to get notified about users clicking on the browser back button?
Currently, the feature addin getting notified about users clicking on the browser back button, you requested, is not a part of the product. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.

Use sign-in option on excel Ribbon by Manifest.xml file

How can I use sign-in features on excel ribbon. So that after successfully sign-in all buttons on ribbon will change according to our requirements.
Is it possible with Manifest.xml file or do I need to use some another mechanism?
I am using React.js for creating taskpane on right-side of excel. This taskpane is opened after clicked on ribbon button and this ribbon button is coming after addin the manifest file to insert addin option.
Attaching this Pic for step by step process, Which I need in Excel Ribbon
What you want to do in your screenshot cannot be done at this time with Office Web Add-ins. The enabled/disabled status of buttons cannot be changed at run time and the names of buttons cannot be changed at runtime. Microsoft is working on adding that feature.

"Form region" for calendar views in outlook add-in

Overview: I would like to show a "form region" when calendar is selected in Outlook. I also would like to show some custom HTML content in the reading pane (or any pane like task pane adjacent to main calendar pane).
Questions:
Are API add-ins allowed for Calendar views in Outlook?
Are & custom form regions allowed for Calendar views in Outlook?
Would it be possible to show Custom form region here in Calendar's reading pane when no specific time is selected in the calendar?
Would it be possible to show Custom form region here in Calendar's reading pane when specific appointment type is selected in the calendar?
Create a task pane instead - see https://msdn.microsoft.com/en-us/library/aa942864.aspx and https://msdn.microsoft.com/en-us/library/bb296010.aspx.
Takes panes can be displayed both in explorers (that is what you need) and inspectors (similar to form regions).
Unfortunately it's currently not possible to open an Outlook Add-In in 'Calendar/meeting view' using the 'new' office add-in model. It's only possible to open it in Mail Read or Compose mode and Appointment/meeting Read or Compose mode where a single item is opened. Maybe you could create a UserVoice for this?
OfficeDev UserVoice

Customize Calendar Appointment Preview (popout) in Outlook 2013 with c#

Is there any way to customize (or replace) the box that displays details of a particular appoint as you scroll over it in the Calendar Explorer of Outlook 2013.
I am trying to display one of the additional custom properties (formatted) to give a visual queue of the status of an item without having to open it up in it's Inspector and navigate to the custom form region that provides the UI.
I have created form regions, and used RibbonXML at a very rudimentary level, but couldn't see a way to do this using either of those approaches.
Thanks in advance

Resources