Share via


SP へUserCustomActionCollection.getById 方法 (sp.js)

フィールドの表示名を指定する値を取得または設定します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.UserCustomActionCollection.getById()

パラメーター

  • userCustomActionId
    [Type]:の SPGuid

    カスタム アクションの識別子を指定します。

  • id

戻り値

[Type]:の SPUserCustomAction

注釈

nullを返す必要がある場合は、指定された id に対応するカスタム アクションがありません。

他のリソースのエンドポイント

詳細については、 UserCustomActionCollection リソースを参照してください。

エンドポイント URI 構造

http://<sitecollection>/<site>/_api/web/UserCustomActions/getById(id)

HTTP 要求

このリソースには、次の HTTP コマンドがサポートしています。

  • 投稿

投稿の書式

POST http://<sitecollection>/<site>/_api/web/UserCustomActions/getById(id)

リソースのパラメーター

  • id