# 既存フォルダー配下に作成するフォルダーの設定（Googleドライブ、Box、Autodesk Docs、FUJIFILM IWpro共通）

## **フォルダー自動生成の設定（既存フォルダーの配下）**

各サービスで指定した既存のフォルダー配下に作成するフォルダー設定を行います。

{% hint style="success" %}
任意で行う設定です。
{% endhint %}

既存のフォルダーの配下に帳票の情報等を使用してフォルダー及びフォルダー階層を自動生成することができます。\
置換文字列を利用することで、保存された入力帳票の情報などをフォルダー名に利用できます。

{% hint style="warning" %}
「/」はフォルダー階層を表す予約文字です。\
クラスター値や備考値の「/」は文字として扱われます。
{% endhint %}

<table><thead><tr><th width="271">置換文字列</th><th>置換される値</th></tr></thead><tbody><tr><td>{date}</td><td>サーバー保存時の日付(『yyyyMMdd『形式)</td></tr><tr><td>{dateTime}</td><td>サーバー保存時の日付(『yyyyMMddHHmmss『形式)</td></tr><tr><td>{time}</td><td>サーバー保存時の日付(『HHmmss『形式)</td></tr><tr><td>{defTopName}</td><td>帳票定義名称</td></tr><tr><td>{repTopName}</td><td>入力帳票名称</td></tr><tr><td>{remarks1}</td><td>帳票備考１</td></tr><tr><td>…</td><td>…</td></tr><tr><td>{remarks10}</td><td>帳票備考１０</td></tr><tr><td>{defTopId}</td><td>帳票定義ID</td></tr><tr><td>{repTopId}</td><td>入力帳票ID</td></tr><tr><td>{publicStatus}</td><td>公開ステータス</td></tr><tr><td>{editStatus}</td><td>編集ステータス</td></tr><tr><td>{cluster_[シート番号]_[クラスターindex]}</td><td>クラスター値 例）シート番号=１、クラスターindex=5 のクラスターの場合　{cluster_1_5}　</td></tr></tbody></table>

**【Googleドライブでの設定 例】**

**Googleドライブアップロード先の設定**

* 指定したGoogleドライブのフォルダー\
  TEST\ベース
* 指定したフォルダー配下に生成するフォルダーの設定詳細設定\
  {defTopName}/{cluster\_1\_0}\
  の記述で以下の階層からなる２つのフォルダーを生成します。\
  →\[定義名称]\
  　　→\[シート１のクラスターindex0(日付クラスター)の値]

<div align="left"><figure><img src="/files/UXiR1HUTUGLDZpcszjap" alt="" width="563"><figcaption></figcaption></figure></div>

上記の設定を行なうと、以下のアップロード結果となります。

**Googleドライブアップロード結果**

* 指定したGoogleドライブのフォルダー\
  TEST\ベース
* 指定したフォルダー配下に生成したフォルダー\
  →(最新デモ\_サンプル）全インプットサンプル　＝定義名称\
  　　→ 2020/11/02　　　＝日付クラスターの年月日値

<div align="left"><figure><img src="/files/aDQCZhowRk0JRecTdgYp" alt="" width="563"><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manuals.i-reporter.jp/output-the-data/external-systems-integration/folder-settings-under-existing-folders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
