如何使用manifest.xml为word 2013添加一个

时间:2016-08-26 15:56:43

标签: ms-word add-in office-js

我为word 2013任务窗格创建了一个加法

现在我想检查它是否正常工作

我应该在哪里以及如何保留manifest.xml文件,以便查看添加是否正常工作。

PS:我不想在线使用办公室,应该通过桌面上的文字。

所以我会去File>选项>添加ins> manage add ins> xml架构>添加> (我会将manifest.xsd添加到其中)

之后我也无法在我的 - 应用程序选项卡中查看添加内容

private static final String LISTEN_VIEW_CREATE = ""
        + "CREATE VIEW " + TABLE_NAME + " AS "
        + "SELECT "
            + timestampTable.TABLE_TIMESTAMP + "." + timestampTable.TIMESTAMP_ID + " AS " + LISTEN_ID + ", "
            + trackTable.TRACK_NAME + " AS " + TRACK_NAME + ", "
            + trackTable.TRACK_MBID + " AS " + TRACK_MBID + ", "
            + albumTable.ALBUM_NAME + " AS " + ALBUM_NAME + ", "
            + albumTable.ALBUM_MBID + " AS " + ALBUM_MBID + ", "
            + artistTable.ARTIST_NAME + " AS " + ARTIST_NAME + ", "
            + artistTable.ARTIST_MBID + " AS " + ARTIST_MBID + ", "
            + timestampTable.TIMESTAMP_VALUE + " AS " + TIMESTAMP_VALUE + ", "
            + albumTable.ALBUM_IMG_ID + " AS " + IMAGE_ID
        + " FROM "
            + timestampTable.TABLE_TIMESTAMP
                + " INNER JOIN " + trackTable.TABLE_TRACK + " ON "
                    + timestampTable.TABLE_TIMESTAMP + "." + timestampTable.TIMESTAMP_CON_TRACK_ID + " = "
                    + trackTable.TABLE_TRACK + "." + trackTable.TRACK_ID
                + " INNER JOIN " + albumTable.TABLE_ALBUM + " ON "
                    + timestampTable.TABLE_TIMESTAMP + "." + timestampTable.TIMESTAMP_CON_ALBUM_ID + " = "
                    + albumTable.TABLE_ALBUM + "." + albumTable.ALBUM_ID
                + " INNER JOIN " + artistTable.TABLE_ARTIST + " ON "
                    + timestampTable.TABLE_TIMESTAMP + "." + timestampTable.TIMESTAMP_CON_ARTIST_ID + " = "
                    + artistTable.TABLE_ARTIST + "." + artistTable.ARTIST_ID;

这是manifest.xml文件

1 个答案:

答案 0 :(得分:2)