Word doesn't show custom add-in icon on Windows - office-addins

I've tested my add-in on Windows, MacOS and Word Online and it seems to exhibit this behavior only on Windows.
I've added a new button for my add-in in the manifest. When I sideload the add-in, it doesn't show the customized icon on Home Tab, it displays default add-in icon.
All icon urls are https.
I've defined all icon sizes (16,20,24,32,40,48,64,80) as icon resources.
Any ideas?

Related

Toolbar disappears when viewing PDF HTML5 WebView2

I am using a WebView2 control in a WPF application to show a PDF to the user
This is normally displayed with a nice little toolbar, all part and parcel of rendering a PDF in a WebView2 control, allowing the user to navigate to other pages, zoom in or out, rotate, etc.
However, we found that as the window gets a bit narrower at some point this toolbar simply disappears. Is there something we can do to stop this happening?
As the available space for the PDF toolbar shrinks the PDF toolbar shows fewer and fewer controls. This is also true in the browser. However, in the browser the minimum horizontal width of the browser window is a value at which the PDF toolbar is still visible.
I'm not sure if this behavior is by design or not. You can try opening a bug report about this on the WebView2 feedback repo.

WinForms WebView2 not showing pdf draw tools

I have a WinForms application and a form with WebView2 control. I set Source property of the Webview2 control to a local pdf file. When I run the program, the pdfviewer is showing the pdf document, but the draw and highlight controls are not showing.
When I open the pdf in edge browser, the controls are showing. Where am I doing the mistake.
The feature to annotate PDFs is disabled in WebView2. You can read more about this on Disabling Feature: PDF Annotations Support.
Additionally, you can open a feature request to enable this feature on the WebView2 Feedback repo.

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.

About the application with the i icon at the bottom of the screen

I searched for this and couldn't find any references to this.
In my iOS universal app, I wanted to display the information icon (same as the utility application) at the bottom right of my main view controller and use the same both for iPhone and iPad to flip over to display information about my app and other things. On the iPadd Utility application template with XCode 4.6, the information icon is displayed as a button on the navigation bar and a UIPopOver control is used to display information.
In my case, I don't want to use a UIPopOver on the iPad but use the same flip over effect both for iPhone and iPad when clicking the information icon. Is this a valid as per Apple's guidelines or guaranteed for rejection?.
I do exactly what you're thinking of doing in my app. I used the flip transition to display my info page using the information icon as the button image. I had no problems with Apple regarding this when I submitted.

WPF Icon for all app windows

It is possible to set one Icon so, that it would be used on every window in current app. So that i set it once (not on every window by hand)..?
A good reference on the subject is here MSDN. States that you have an Icon for the Application (Desktop Icon), and one for each Window.
A WPF window always displays an icon. When one is not provided by setting Icon, WPF chooses an icon to display based on the following rules:
Use the assembly icon, if specified.
If the assembly icon is not specified, use the default Microsoft Windows icon.
Community Content Reference:
"A liitle tip : if you set the application icon and expect to see it on the window - it wont show up if running in debug from VS. Running externally or without attaching (ctrl + f5) the icon displays as expected."
Set the icon in the project properties on the "Application" tab in the "Resources" section. This icon will be the default icon for all windows in the application.
Under VS2010 open the Properties for the main application executable and open the Application tab. Set the icon under 'Icon and Manifest' in the Resources section.
To see the icon while debugging under VS2010 you need to open the Debug tab and uncheck the option for 'Enable the Visual Studio hosting process', otherwise you will only see the default icon on most windows.
I assume that the icon loading code is getting confused by the hosting process and is looking in "someapplication.vshost.exe" instead of "someapplication.exe" for the icons.
This looks like it's fixed in VS2013.
The reason that "Enable the Visual Studio hosting process" makes the icon not work is that it is started using the vshost.exe, and thereby the manifest is not read properly.
The same goes if you have other stuff in the manifest, like regfree ocx controls etc that requires the manifest to load.
You can also try this to set your own icon:
private void Page_Loaded_1(object sender, RoutedEventArgs e)
{
Uri iconUri = new Uri(#"C:\Apps\R&D\WPFNavigation\WPFNavigation\Images\airport.ico", UriKind.RelativeOrAbsolute);
(this.Parent as Window).Icon = BitmapFrame.Create(iconUri);
}

Resources