Comments (12)
Hi @jladbury, Thanks for reporting this issue, If possible, could you share us manifest? Thanks.
from office-js.
Here you go . . .
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
<!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->
<!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
<Id>88558cd5-91e3-47c4-9761-2faf405f75dc</Id>
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>1.0.0.0</Version>
<ProviderName>[Provider name]</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
<DisplayName DefaultValue="c9wordExperiment04" />
<Description DefaultValue="c9wordExperiment03 restructured as per c9 standards"/>
<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
<IconUrl DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/resources/icon-32.png" />
<HighResolutionIconUrl DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/resources/icon-80.png"/>
<!--If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below-->
<!--<SupportUrl DefaultValue="[Insert the URL of a page that provides support information for the app]" />-->
<SupportUrl DefaultValue="https://www.contoso.com/help"/>
<!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
<AppDomains>
<AppDomain>AppDomain1</AppDomain>
<AppDomain>AppDomain2</AppDomain>
<AppDomain>AppDomain3</AppDomain>
</AppDomains>
<!--End Basic Settings. -->
<!--Begin TaskPane Mode integration. This section is used if there are no VersionOverrides or if the Office client version does not support add-in commands. -->
<Hosts>
<Host Name="Document" />
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/taskpane.html" />
</DefaultSettings>
<!-- End TaskPane Mode integration. -->
<Permissions>ReadWriteDocument</Permissions>
<!-- Begin Add-in Commands Mode integration. -->
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
<!-- The Hosts node is required. -->
<Hosts>
<!-- Each host can have a different set of commands. -->
<!-- Excel host is Workbook, Word host is Document, and PowerPoint host is Presentation. -->
<!-- Make sure the hosts you override match the hosts declared in the top section of the manifest. -->
<Host xsi:type="Document">
<!-- Form factor. Currently only DesktopFormFactor is supported. -->
<DesktopFormFactor>
<!--"This code enables a customizable message to be displayed when the add-in is loaded successfully upon individual install."-->
<GetStarted>
<!-- Title of the Getting Started callout. resid points to a ShortString resource -->
<Title resid="GetStarted.Title"/>
<!-- Description of the Getting Started callout. resid points to a LongString resource -->
<Description resid="GetStarted.Description"/>
<!-- Point to a url resource which details how the add-in should be used. -->
<LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
</GetStarted>
<!-- Function file is a HTML page that includes the JavaScript where functions for ExecuteAction will be called.
Think of the FunctionFile as the code behind ExecuteFunction. -->
<FunctionFile resid="Commands.Url" />
<!-- PrimaryCommandSurface is the main Office Ribbon. -->
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<!-- Use OfficeTab to extend an existing Tab. Use CustomTab to create a new tab. -->
<OfficeTab id="TabHome">
<!-- Ensure you provide a unique id for the group. Recommendation for any IDs is to namespace using your company name. -->
<Group id="CommandsGroup">
<!-- Label for your group. resid must point to a ShortString resource. -->
<Label resid="CommandsGroup.Label" />
<!-- Icons. Required sizes 16,32,80, optional 20, 24, 40, 48, 64. Strongly recommended to provide all sizes for great UX. -->
<!-- Use PNG icons. All URLs on the resources section must use HTTPS. -->
<Icon>
<bt:Image size="16" resid="Icon.16x16" />
<bt:Image size="32" resid="Icon.32x32" />
<bt:Image size="80" resid="Icon.80x80" />
</Icon>
<!-- Control. It can be of type "Button" or "Menu". -->
<Control xsi:type="Button" id="TaskpaneButton">
<Label resid="TaskpaneButton.Label" />
<Supertip>
<!-- ToolTip title. resid must point to a ShortString resource. -->
<Title resid="TaskpaneButton.Label" />
<!-- ToolTip description. resid must point to a LongString resource. -->
<Description resid="TaskpaneButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16" />
<bt:Image size="32" resid="Icon.32x32" />
<bt:Image size="80" resid="Icon.80x80" />
</Icon>
<!-- This is what happens when the command is triggered (E.g. click on the Ribbon). Supported actions are ExecuteFunction or ShowTaskpane. -->
<Action xsi:type="ShowTaskpane">
<TaskpaneId>ButtonId1</TaskpaneId>
<!-- Provide a url resource id for the location that will be displayed on the task pane. -->
<SourceLocation resid="Taskpane.Url" />
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<!-- You can use resources across hosts and form factors. -->
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/resources/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/resources/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/resources/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812" />
<bt:Url id="Commands.Url" DefaultValue="https://localhost/commands.html" />
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost/c9word-experiments/c9wordExperiment04/compiled/taskpane.html" />
</bt:Urls>
<!-- ShortStrings max characters==125. -->
<bt:ShortStrings>
<bt:String id="GetStarted.Title" DefaultValue="Get started with your sample add-in!" />
<bt:String id="CommandsGroup.Label" DefaultValue="Commands Group" />
<bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane" />
</bt:ShortStrings>
<!-- LongStrings max characters==250. -->
<bt:LongStrings>
<bt:String id="GetStarted.Description" DefaultValue="Your sample add-in loaded successfully. Go to the HOME tab and click the 'Show Taskpane' button to get started." />
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Show a Taskpane" />
</bt:LongStrings>
</Resources>
</VersionOverrides>
<!-- End Add-in Commands Mode integration. -->
</OfficeApp>
from office-js.
-
As a troubleshooting step, try opening the same document in desktop Word (logged in as the same user) and see if the buttons show up.
-
Since this is Word on the web, try clearing the browser cache.
-
Try using another browser to open the doc in Word on the web. Are the buttons there?
from office-js.
Rick,
Thanks for taking a look at this. I have only just found time to consider your points.
Before I comment on them, I should say that, three days later, the add-ins have disappeared from the Ribbon. During those three days I have restarted the machine a couple of times, but sadly have no way of knowing if that was what made them go.
Taking your points in order:
- The problem occurred whenever I created a new blank document. It might have occurred opening an existing one, but I did not check.
- I cleared the browser cache in which Word was running, and also the cache of the add-in session. In both cases, I used the 'Application > Storage > Clear site data' function in the relevant Dev Tools, with all options checked
- The problem occurred when running Word in Chrome and in Edge. I did not check any other browser.
from office-js.
@shanshanzheng-dev please help to take a look and see why clear cache did not work. Thanks.
from office-js.
Hi @jladbury, We'll be looking into this problem, thanks for reporting this! Can't share timelines, but will report back here if if we have a suggestion for you. Thanks.
from office-js.
Hi @jladbury They should refresh the page after clearing the cache. Does that work?
from office-js.
from office-js.
Hi @jladbury Sorry for slow response, we can repro this issue. Thanks for reporting. It has been put on our backlog < bug #8990576> to triage this. We unfortunately have no timelines to share at this point.
from office-js.
Thanks for keeping me informed.
from office-js.
Is there any progress with this?
from office-js.
Hi @jladbury sorry, It still on our backlog <#8990576>. We unfortunately have no timelines to share at this point. Thanks for your understanding.
from office-js.
Related Issues (20)
- Document paragraph listeners miss some events. HOT 5
- [Word online] Unable to read contentControls and other properties after a simple redirection HOT 3
- XLMiner Analysis Toolpak Not Loading in Excel Online HOT 1
- PowerPointApi 1.5: `getSelectedSlides` has stopped returning an empty collection when no slides are selected HOT 1
- For custom functions on web version of excel does not show any help regarding parameters HOT 2
- Office.DevicePermissionType.microphone is unfedined HOT 4
- Issue with direct connection in Mac desktop PowerPoint add-in and SAML connection in windows as well as Mac desktop PowerPoint add-in
- How to Close a Task Pane from Within the Task Pane UI on Button Click HOT 6
- attachment id coming in GUID format via office js(Office.context.mailbox.item.getAttachmentsAsync) HOT 1
- OfficeThemes.css classes should not keep their default value
- OnAppointmentSend add-in is unavailable and time-out after short of time HOT 1
- Enable browser extensions in Excel Desktop app (WebView2) HOT 1
- Developing an Excel Add-in with a Timer that Accounts for Visibility Changes HOT 3
- Addin not loading for shared mailbox after email address change
- Outlook: Pinnable Taskpane with multi-select
- Debugging [TypeError: Network request failed] HOT 2
- markerBackgroundColor/markerForegroundColor properties in Excel Chart Series return an incorrect value and lack support for a ‘No Fill’/'No Border' option. HOT 1
- [WordApi] field.range.insertText() fails for a tracked field HOT 1
- [Outlook Mac]: Empty ItemId in pinned Taskpane without ItemChanged-Handler
- Unable to install or uninstall add-ins for an Hotmail account in Outlook web (new)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.