Add-in disappearing from customers' ribbon in Word desktop - ms-word

We are getting an increased number of reports from customers that our add-in sporadically disappear from the ribbon in Word. It is a problem for us as people don't use what they can't see and many are very un-tech savvy and don't know how to reactivate add-ins (especially if they are used to have their central admin push them out to them).
Is this a known issue? Is there any setting in the manifest file that we might have missed? We would appreciate any information that might point us in the right direction to solve this.

First of all, I'd suggest making sure the add-in is available and loaded by host application.
Second, I'd recommend checking whether any ribbon UI errors are thrown by the host application. By default, if an add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom ribbon does not appear, or why a ribbon appears but no controls appear.
To show add-in user interface errors you need to start the application and configure the following option:
Click the File tab.
Click Options.
In the categories pane, click Advanced.
In the details pane, select Show VSTO Add-in user interface errors, and then click OK.
See How to: Show Add-in user interface errors for more information.

Related

How can I determine if my VSTO ribbon is active in Word

I have a VSTO project that creates a ribbon tab in Word.
In this Stackoverflow link I can see how to force my ribbon tab to be activated.
No where can I find how to perform sort-of the reverse - i.e. I want to know whether my ribbon tab is active or not.
Can anyone tell me how to achieve this? How to determine whether the ribbon tab that I can activate is still active at any other stage of the user interaction with Word?
There is no way to do that using the Outlook Object Model. As a possible workaround you can use the Microsoft Active Accessibility.
The Fluent UI (aka Ribbon UI) doesn't provide anything for that. But you can use the GetVisibleMso method of the CommandBars class for checking whether a built-in controls is visible or not. You just need to pass the idMso value of the control to the method, see Office 2013 Help Files: Office Fluent User Interface Control Identifiers. But the best way to get the job done is to use callbacks in your custom UI markup. For example, the getVisible callback is invoked when controls are going to be shown on the ribbon (your tab is active). Thus, you will always know your tab is visible.

Disabled touch-ui but unable to find sidekick when i switched to classic-ui

Is there any way that i can do it for whole site?
For individual user instance, Go to user account settings > Preferences > Author mode, select classicUI
more info here: https://docs.adobe.com/docs/en/aem/6-3/author/author-environment/user-properties.html#Account Settings
Alternatively, to have all users of an AEM instance use the Classic UI by default, start off by going to the AEM Web Console Configuration (/system/console/configMgr). Make sure you’re signed in as an admin and do a find for “WCM Authoring UI Mode Service.” If the service is not visible, click on the OSGi button at the top followed by Configuration, and then do another find. Click on “WCM Authoring UI Mode Service” and change the “Default authoring UI mode” to “CLASSIC” (or back again to “TOUCH,” depending on what you want to do). You must enter “CLASSIC” or “TOUCH” in uppercase letters or an error message will show up when opening a site. Changing this setting will make the chosen UI the default for all sites of the AEM instance. When opening a site with /siteadmin, or /sites.html/content, the site should now open using the Classic UI. This should be the case for all users.

Share a same popup window among different addin instances

I am making an Excel add-in by Excel JavaScript API. There is a button in this add-in, clicking on it launches popup = window.open("https://localhost:3000/#/new/", "popup", "width=1000, height=1100") and popups a browser window.
Closing the workbook or the add-in will NOT systematically close the popup. So at the moment, if I open a workbook and the add-in again, and click on the button, another browser window will popup.
I am thinking if it is possible to always use the same popup for all the excel/add-in instances. We could use localstorage to share information among different excel/add-in instances, but I am not sure if it is possible to save the popup/window there.
Does anyone have any good idea to achieve this?
For Office Add-ins, you should be using the built in Dialog API. This API ensures popups are properly handled regardless of platform (i.e. across browsers, mobile and desktop clients).
The Dialog object supports a close method, allowing you to close any open dialogs from the parent taskpane.

Mouseup event is not propagated to a popup window in IE 11

I've a legacy app that features a DND from a popup window to the main one.
It works fine in IE 8 but not in any of the newer versions of IE. The effect results in the drag ghost image being stuck in the source window and not going away after the drop had occurred.
Some debugging did in fact confirm that the 'mouseup' event does not get propagated back to the source window. What can be done to fix it? Many thanks!
ITs a bit hard to begin to answer your question without some code....
use the File>Properties menu to find out which IE security zones the two windows(domains) map too...IE uses a different security model to other browsers... drag/drop is probably not allowed between local web files (using file: protocol) and internet or intranet sites.
Have you used the Dev tool yet to debug it? If you are using showModalDialog (which normally disables context menus) you can right click on a link (a) or input element to display the context menu so you can display the debugger for showModal content page.
If possible include a link to your website or a mashup (jsfiddle) with your questions.

Customize basic search form and provide appropriate search results

In basic search form I have included checkboxes to detect duplicates on name & phone number.
How shall i proceed further.I have included fields on /custom/modules/Contacts/metadata/SearchFields.php and searchdefs.php.
Please help.
SugarCRM's Basic and Advanced Search field arrnagements can (and should) be configured using the Studio Tool. Log in as a System Administrator, click the Admin link in the top right corner and find the link for Studio
Within Studio, navigate to the module you're like to configure, go into Layouts, then Search, then Basic Search. The screen arrangement can be configured using drag-and-drop 'bricks' to represent the fields. All database fields for the module can be added to the Basic or Advanced search filters.
The screen can be configured using code, but I don't see why you would opt to do that. If you do, though, be sure to clear your cache using Repair and Rebuild or by enabling Developer Mode in the System Settings.