SP へFieldCollection.getByInternalNameOrTitle 方法 (sp.js)
コレクションから指定された内部の名前またはタイトルを持つフィールドの最初のオブジェクトを返します。
**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.FieldCollection.getByInternalNameOrTitle()
パラメーター
strName
型: String内部名またはフィールドのタイトルを指定する文字列。
戻り値
[Type]:の SPフィールド
注釈
getByInternalNameOrTitle検索最初の内部名、し、[タイトルで内部名が見つからない場合。
他のリソースのエンドポイント
詳細については、 FieldCollection リソースを参照してください。
エンドポイント URI 構造
http://<sitecollection>/<site>/_api/web/lists(listid)/fields/getByInternalNameOrTitle(strName)
HTTP 要求
このリソースには、次の HTTP コマンドがサポートしています。
- 投稿
投稿の書式
POST http://<sitecollection>/<site>/_api/web/lists(listid)/fields/getByInternalNameOrTitle(strName)
リソースのパラメーター
- strName