Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 如何在Mac Word 2016中显示Word加载项?_Macos_Office Js - Fatal编程技术网

Macos 如何在Mac Word 2016中显示Word加载项?

Macos 如何在Mac Word 2016中显示Word加载项?,macos,office-js,Macos,Office Js,我试图遵循Mac Word 2016的基本概念验证office.js/add-in 我可以看到外接程序的功能,但我的清单都没有显示 参考文献: 说明要求将xml放入名为“wef”的文件夹中……以下是指向我的wef的路径: /用户/11trees/Library/Containers/com.microsoft.Word/Data/Documents/wef 所有说明都建议使用以下路径(因此没有特定的用户名): 用户/Library/Containers/com.microsoft.word/Da

我试图遵循Mac Word 2016的基本概念验证office.js/add-in

我可以看到外接程序的功能,但我的清单都没有显示

参考文献:

说明要求将xml放入名为“wef”的文件夹中……以下是指向我的wef的路径: /用户/11trees/Library/Containers/com.microsoft.Word/Data/Documents/wef

所有说明都建议使用以下路径(因此没有特定的用户名): 用户/Library/Containers/com.microsoft.word/Data/Documents/wef

也许我遗漏了一些非常明显的东西……或者也许位置的差异不是我的清单没有显示的原因

我使用的清单是网络上的样板和愚蠢的例子——逐字逐句

谢谢你的帮助

使用清单更新:

<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:type="TaskPaneApp">
    <Id>0e978793-8a1a-43c9-b8bb-762db69bdfae</Id>
    <Version>1.0.0.0</Version>
    <ProviderName>11trees</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="Boilerplate content" />
    <Description DefaultValue="Insert boilerplate content into a Word document." />
    <Hosts>
        <Host Name="Document"/>
    </Hosts>
    <DefaultSettings>
        <SourceLocation DefaultValue="http://127.0.0.1:8080" />
    </DefaultSettings>
    <Permissions>ReadWriteDocument</Permissions>
</OfficeApp>

0e978793-8a1a-43c9-b8bb-762db69bdfae
1.0.0.0
11棵树
恩美
读写文件

/Users/11trees/Library/Containers/com.microsoft.Word/Data/Documents/wef是11trees的正确路径

选择“插入”选项卡>“我的加载项”时,是选择按钮还是按钮的下拉部分?应在下拉列表中列出外接程序。如果不是,则清单可能有错误。你能把你的舱单寄到这里吗

更新6/6:该注释似乎导致清单未通过Word注册。当我删除SillyStories清单中的注释时,我可以在下拉列表中看到外接程序


样板内容清单在15.22版(160501)中运行良好

谢谢您的回复。我在wef中添加了两份清单中的一份。就在样品中。我在下拉列表中没有看到任何选项-我正在选择Insert/Add-ins/My Add-ins…出现一个模式,但它找不到任何内容。我可以切换到Windows上开发…但我不想:)你用的是什么版本的Word?如果选择下拉列表,它是否如下所示:。您可以选择下拉列表,而不是选择“我的加载项”按钮。它看起来应该有点像我提供的图像。迈克尔,非常感谢你…我的回答真的很愚蠢…为浪费你的时间道歉。我正在查看插入/我的加载项菜单选项-从主文件/编辑/查看…菜单。我没有阅读说明,建议您转到“插入功能区”选项卡…现在我当然看到了我的本地清单。非常感谢。如果您已解锁,则不会浪费时间。:)这里也有同样的问题。无法查看我的加载项,不知道原因。使用样板样本。我真的不明白op是怎么解决他的问题的。思想?