Excel.LinkedEntityId interface

リンクされたエンティティ ID オブジェクトは、このサービス定義値を検索するためのサービスとカルチャを記述するプロパティのセットを表します。

注釈

API セット: ExcelApi 1.16

使用元

// Loads a linked entity cell value using a LinkedEntityId.
async function loadLinkedEntity(domainId: string, entityId: string) {
    await Excel.run(async (context) => {
        // Specify the linked entity ID to load.
        const linkedEntityId: Excel.LinkedEntityId = {
            entityId: entityId,
            domainId: domainId,
            serviceId: 268436224, // Service ID used by Excel to identify linked entity cell values associated with an add-in.
            culture: "en-US",
        };

        // Load the linked entity cell value.
        context.workbook.linkedEntityDataDomains.loadLinkedEntityCellValue(linkedEntityId);
        await context.sync();
    });
}

プロパティ

culture

この CellValueの作成に使用された言語カルチャを表します。

domainId

CellValue の作成に使用するサービスに固有のドメインを表します。

entityId

CellValue の作成に使用されるサービスに固有の識別子を表します。

serviceId

CellValue の作成に使用されたサービスを表します。

プロパティの詳細

culture

この CellValueの作成に使用された言語カルチャを表します。

culture: string;

プロパティ値

string

注釈

API セット: ExcelApi 1.16

domainId

CellValue の作成に使用するサービスに固有のドメインを表します。

domainId?: string;

プロパティ値

string

注釈

API セット: ExcelApi 1.16

entityId

CellValue の作成に使用されるサービスに固有の識別子を表します。

entityId: string;

プロパティ値

string

注釈

API セット: ExcelApi 1.16

serviceId

CellValue の作成に使用されたサービスを表します。

serviceId: number;

プロパティ値

number

注釈

API セット: ExcelApi 1.16