split button outlook command add-in - add-in

I am designing a menu for an outlook add-in using Node.js
I would like that menu to behave like these SplitButton (a button that can trigger events adjacent to a dropdown menu). If you look at the splitbutton picture, It shows the paste button you see on Office Word as an exemple; if you click paste, it will paste by default but the the dropdown menu next to it has a seperate action that gives you different pasting options in the form of a dropdown menu.
I am using this the manifest found in this tutorial https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/manifests , unfortunately the menu button cannot have any event attached to it, just give the dropdown menu.
A description of what I am trying to achieve can be found here https://www.codeproject.com/Articles/18447/SplitButton-a-NET-WinForm-control-Part-1, the button part and the split part can have their own actions. Is there a way to do this inside the outlook add in manifest? I am using node.js
Currently the whole button works as a dropdown.
Thank you

Currently the feature 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.

Related

File in Upload control not persisting on Submit button in MVC

Recently, I was asked this question:
When using a file upload control in ASP.Net MVC, why is the selected file not persisting on Submit button click? It does shows up in control when user selects it from hard drive. Other controls of that form are persisting on submit button click, but not this file upload control.
I replied it had got to with Ajax. I am new to Web technologies. Was my answer correct?
It appears, I need to place the file upload control outside of UpdatePanel of Ajax, remaining controls like textboxes, button can go inside UpdatePanel so that their validation takes place. Another option would be to use hidden field for preserving the file value

how to use the global search in watson explorer application builder

I am new to IBM Watson Explorer's Application Builder component.
I able to create some widgets and place them on a page, but I am not able to figure out how to use the global search bar in the page header.
I want to search for something using the global search and the data in the widgets on the page should be updated.
Tried reading the knowledge center docs, but not able to get much info.
For making use of the global search, you may want to understand, where the data for that resides.
The Watson Explorer Engine is where you ingest your documents by creating a search collection and by adding them as seeds and then once that is all set up and you are able to see your data there, you can now switch over to the AppBuilder.
Link (Creating a search collection): https://www.ibm.com/support/knowledgecenter/en/SS8NLW_9.0.0/com.ibm.swg.im.infosphere.dataexpl.engine.tut.auth.doc/t_vse-auth-tut-create-display.html
Tabs on admin page of AppBuilder look like this: Image Link: AppBuilder tab header
Once on AppBuilder admin dashboard, you might want to create a new entity by going to the entity tab, located at the top of the page.
Then you can name it whatever you like and from the dropdown select the collection name you had created on Watson Explorer Engine, toggle the searchable button on in the entity page and once done click on save at the bottom of the page.
Link (adding backend and entity creation): https://www.ibm.com/support/knowledgecenter/en/SS8NLW_9.0.0/com.ibm.swg.im.infosphere.dataexpl.appbuilder.doc/c_de-ab-devapp-tutorial-integrate.html
Then you may want to head over to the layouts tab and then go to the search page there, then drag the search results widget to the pane below and save it.
Layout tab - search page, looks like this: Image Link: Layout tab - search page
Layout tab - search result widget on search page, looks like this: Image Link: Search result Widget
Finally after all this, when you search for the document from the search page "/AppBuilder/search", it should show up there.
Tutorial WEX AppBuilder Resource: https://www.ibm.com/support/knowledgecenter/en/SS8NLW_9.0.0/com.ibm.swg.im.infosphere.dataexpl.appbuilder.doc/c_de-ab-devapp-tutorial.html
Hope this helps.

jquery-mobile dialog without hash change

I am new to jquery mobile. I want to open a dialog containing external page as content. At the same time not want to change hash in url.
I have link
Open dialog
which opens the dialog but changes the hash in url. Need help, thank in advance
From official docs:
Since dialogs are typically used to support actions within a page, the
framework does not include dialogs in the hash state history tracking.
This means that dialogs will not appear in your browsing history
chronology when the Back button is clicked.
http://api.jquerymobile.com/dialog/

How do I create a confirmation dialog in jQuery Mobile?

I want to have a confirmation dialog (not plain javascript) show when the user clicks a button, but I'd rather have it embeded instead of referencing another page.
How do I embed a dialog for use on a jQuery Mobile page?
You have 2 options really - if you want it to popup and fill the page, you can create a JQM dialog page (even dynamicaly), and switch to it. JQM dialogs are explained more in detail here:
http://jquerymobile.com/demos/1.0b1/docs/pages/docs-dialogs.html
It is quite possible to append a new dialog to the same page (simple append it to the container above the one with data-role="page") and switch to it with $.changePage(...)
Another option, if you want it to popup "over" the existing content (modal mode from UI dialog), this plugin will do that:
http://dev.jtsage.com/jQM-SimpleDialog/
Full disclosure: I wrote the second one, so I am biased. However, it does employ a bit of option 1 above, and you are of course welcome to rip the code apart to see how it works if you'd rather roll your own.
Edit:
Another option is to use the builtin popup interface, added in the last major version (1.2.0 I think). It can be found here, and is included in the default:
http://jquerymobile.com/demos/1.2.0/docs/pages/popup/index.html

Open page in silverlight out of browser

Is there any way to open a page in the browser by clicking the app in out-of-browser mode?
Thank you
HyperlinkButton works. I was trying with HtmlPage.Window.Navigate with no success. And because the button supports content it is simple to create something like a linked image.
Agreed with Artur and simple way to do this is :
1) Put HyperLink Button in your Silverlight page.
2) Generate Click event and provide :
hyperlink.NavigateUri = new Uri("Url",UriKind.RelativeOrAbsolute);
3) Simply Run the Application and Click on HyperLink Button.

Resources