---
schema_version: "1"
id: b564fba6e4ab14d52f49cb2c3bd1fd84e4f6cfcbdb926c1f7d3fa8bdb895c827
title: 個別のファイルへの変換の移動
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/studio/7.x/move-transformations-separate-file-studio-task.md
canonical_url: https://docs.mulesoft.com/jp/studio/7.x/move-transformations-separate-file-studio-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1da58059c97bfaa18a1f88706c01e8438c10d492a53abfe5bbcc74a501074b05
description: MuleSoft Documentation Site
release: 7.x
latest: false
---
# 個別のファイルへの変換の移動

デフォルトでは、Transform Message コンポーネントの DataWeave コードは Mule XML ファイル内に記述されます。このコードを個別のファイル (​`.dwl`​) に記述して、XML から参照することもできます。これらのファイルは、ビルド時に Mule アプリケーションと一緒にバンドルされます。

DataWeave コードを ​`.dwl`​ ファイルにエクスポートするには次の手順を実行します。

1. **\[Edit Current Target (現在の対象を編集)\]**​ ボタンをクリックします。
    
    ![対象の編集](/mulesoft/current/ja-jp/studio/7.x/_images/dw-multiple-outputs-edit.png)
2. \[File (ファイル)\] ラジオボタンをオンにします。
    
    ![外部ファイル 2](/mulesoft/current/ja-jp/studio/7.x/_images/dataweave-externalfile2.png)
3. `.dwl`​ ファイルの名前を入力します。
4. \[OK\] をクリックします。

DataWeave コードが格納されたファイルがプロジェクトの ​`src/main/resources`​ フォルダーに作成されます。

## [](#関連情報)関連情報

- [DataWeave 言語](https://docs.mulesoft.com/mule-runtime/latest/dataweave)
- [Transform Message コンポーネント](https://docs.mulesoft.com/jp/studio/7.x/transform-message-component-concept-studio)