---
sourceDocument: オーストラリア API リファレンス
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/api-reference

 Release :

    - australia

ft:locale :

    - ja-JP

ft:publication_title :

    - オーストラリア API リファレンス

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# SystemDocumentList - スコープ指定、グローバル

# SystemDocumentList - スコープ指定、グローバル {#ariaid-title1}

* リリースバージョン: Australia
* 
* 更新日 2026年03月12日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：3分

SystemDocumentList API は、ドキュメントリスト \[ds_document_lists\] テーブルのレコードフィールドを設定するためのメソッドを提供します。

この API は ドキュメント管理 プラグイン (com.snc.platform_document_management) を必要とし、 `sn_doc_services` 名前空間内で提供されます。詳細については、「 [ドキュメント サービス」](https://www.servicenow.com/docs/access?context=document-services-landing-page&version=australia&pubname=australia-servicenow-platform&ft:locale=en-US)を参照してください。

ドキュメントリストを作成または管理するには、 [DocumentListService API](https://servicenow-prod.fluidtopics.net/ZbUpbnE7cY5TIa~smNZ6lA#DocumentListServiceBothAPI "DocumentListService API は、ドキュメントリストを作成、削除、および更新するためのメソッドを提供します。") を使用します。

## SystemDocumentList - SystemDocumentList(文字列 docListName) {#ariaid-title2}

SystemDocumentList オブジェクトをインスタンス化します。
{#SysDocList-SystemDocumentList_S__table_o12_jrk_spb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| docList名 | 文字列 | ドキュメントリストの名前。 |
[表 : 1. パラメーター]

{#SysDocList-SystemDocumentList_S__table_o12_jrk_spb} {#SysDocList-SystemDocumentList_S__table_p12_jrk_spb__entry__2}

| タイプ | 説明 |
|-|-|
| なし |   |
[表 : 2. 返される内容]

{#SysDocList-SystemDocumentList_S__table_p12_jrk_spb}  
次の例は、 SystemDocumentList オブジェクトをインスタンス化する方法を示しています。

    var docList = new sn_doc_services.SystemDocumentList();

## SystemDocumentList - description(文字列の説明) {#ariaid-title3}

新しいドキュメントリストレコードの \[説明\] フィールドを設定します。
{#SysDocList-description_S__table_o12_jrk_spb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| description | 文字列 | ドキュメントリストの説明。 |
[表 : 3. パラメーター]

{#SysDocList-description_S__table_o12_jrk_spb} {#SysDocList-description_S__table_p12_jrk_spb__entry__2}

| タイプ | 説明 |
|-|-|
| なし |   |
[表 : 4. 返される内容]

{#SysDocList-description_S__table_p12_jrk_spb}  
次の例は、ドキュメントリストに説明を追加する方法を示しています。「 [DocumentListService API](https://servicenow-prod.fluidtopics.net/ZbUpbnE7cY5TIa~smNZ6lA#DocumentListServiceBothAPI "DocumentListService API は、ドキュメントリストを作成、削除、および更新するためのメソッドを提供します。")」も参照してください。

    var dL = new sn_doc_services.SystemDocumentList('My document list');

    // Define the document list field
    dL.description('description');

    var docList = new sn_doc_services.DocumentListService();
    gs.info(JSON.stringify(docList.createDocumentList(dL), null, 2));

出力：

    {
      "message": "Create List for the given name : My document list, List sysId : b2c021a924683c10f877a6fed1c2b0b1 is successful.",
      "request_id": "b2c021a924683c10f877a6fed1c2b0b1",
      "status": "success"
    }

## SystemDocumentList - name(文字列 docListName) {#ariaid-title4}

ドキュメントリストレコードの \[名前\] フィールドを設定します。
注:  
SystemDocumentList() コンストラクターで名前をパラメーターとして設定することもできます。
{#SysDocList-name_S__table_o12_jrk_spb__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| docList名 | 文字列 | ドキュメントリストの名前。 |
[表 : 5. パラメーター]

{#SysDocList-name_S__table_o12_jrk_spb} {#SysDocList-name_S__table_p12_jrk_spb__entry__2}

| タイプ | 説明 |
|-|-|
| なし |   |
[表 : 6. 返される内容]

{#SysDocList-name_S__table_p12_jrk_spb}  
次の例は、既存のドキュメントリストの名前を変更する方法を示しています。「 [DocumentListService](https://servicenow-prod.fluidtopics.net/ZbUpbnE7cY5TIa~smNZ6lA#DocumentListServiceBothAPI "DocumentListService API は、ドキュメントリストを作成、削除、および更新するためのメソッドを提供します。")」も参照してください。

    var docListID = 'b2c021a924683c10f877a6fed1c2b0b1';
    var docListUpdate = new sn_doc_services.SystemDocumentList();

    docListUpdate.name('name change');

    var docListSvc = new sn_doc_services.DocumentListService();
    gs.info(JSON.stringify(docListSvc.updateDocumentList(docListID , docListUpdate), null, 2));

出力：

    {
      "message": "Update List for the given sysId : b2c021a924683c10f877a6fed1c2b0b1 is successful.",
      "request_id": "b2c021a924683c10f877a6fed1c2b0b1",
      "status": "success"
    }


