Skip to main content

Text Input Tool Icon テキスト入力ツール

ユーザーロール要件

ユーザーロール*

ツール/機能へのアクセス

フルユーザー

✓

ベーシックユーザー

✓

*Alteryx Oneプロフェッショナルエディションおよびエンタープライズエディションをご契約中で、Designerバージョン2025.1以降をお使いのお客様に適用されます。

テキスト入力ツールを使用して手動でテキストを入力して、入力用の小さなデータファイルを作成します。これは、ワークフローの構築中に検索テーブルをテスト、作成する場合に便利です。

テキスト入力ツールからのデータ入力はワークフロー内に保存されるため、入力データファイルを提供しなくてもワークフローを共有できます。

ツールごとに学習

このツールには「ツールごとに学習」があります。サンプルワークフローをご覧いただき、Designerからこのサンプルやその他の多くのサンプルに直接アクセスする方法をご確認ください。

テキスト入力とAMP

テキスト入力ではワークフローがAlteryx Multi-threaded Processing (AMP)を使用するか、従来のEngineを使用するかによって、異なるデータ型が作成されます。

  • AMP:テキスト入力最大長のV_Stringデータ型を作成します(最大2,147,483,647文字)。

  • 従来のEngine: テキスト入力は、テキスト入力ツールを介して入力された最長の文字列と一致する長さの文字列データ型を作成します。

V_Stringは、Designerで処理するときに含まれるデータを保存するために必要なメモリのみを消費しますが、データベースに書き込む前に、セレクトツールまたはオートフィールドツールを使用してより正確な文字列長を設定することをお勧めします。

また、テキスト入力ツールを使用する際、AMP Engineでは従来のEngineよりも信頼性が高く明示的なデータ型を利用できます。

  • 従来のEngine:「F」や「T」などの特定の文字値をブール値のFalseとTrueに自動的に変換します。これにより、単一文字の文字列を入力した場合に、予期せず型が変換される可能性があります。

  • AMP:「F」または「T」をブール値に自動変換しません。これらの値は、ブール値として明確に定義されていない限り、文字列として保持されます。これにより、予期しない型に変換されるのを防ぎ、より予測可能な動作で利用できます。

To keep the values you enter as strings without type detection on either engine, turn off automatic column detection. Go to Disable Automatic Column Detection.

ツールの設定

  1. セルを選択してデータ値を入力します。ツールは、入力した値に基づいてデータ型を自動設定します。

  2. フィールド名を変更するには、ヘッダーセルを選択し、新しいヘッダー名を入力します。

オプションメニュー

[設定]ウィンドウ内で、[オプション]ツールバーから複数のアクションを実行できます。オプションには以下が含まれます。

  • インポート: 既存のデータファイルまたは接続を参照します。テキスト入力ツールは、インポート時に合計 10,000 セルに制限されていますが、必要に応じて手動でセルを追加することもできます。

  • コピー: 選択した値をクリップボードにコピーします。

  • 貼り付け: クリップボードの値をセルに貼り付けます。

  • 削除: オプションには以下のものが含まれます。

    • すべて: グリッド内のすべてのデータを削除します。

    • 行: 現在選択されている行を削除します。

    • 列: 現在選択されている列を削除します。

    • ヘッダー: ヘッダー行全体を削除します。

  • 挿入: オプションには、行、列、ヘッダー の挿入が含まれます。

空白のセルは NULL 値になります。

キーボードによるセル移動

  • Tabキーを押すと、カーソルが左から右のセルに移動します。

  • Shift + Tab キーを押すと、カーソルが右から左のセルに移動します。

  • 上矢印キーと下矢印キーは、カーソルが行間のセルに移動します。

入力、出力、注釈、エラーのプロパティについては、ツール設定を参照してください。

Disable Automatic Column Detection

重要

Automatic Column Detection is on by default, and workflows saved before this option existed (before 2026.4) keep their current behavior.

This option works with both the original engine and the AMP engine.

By default, the Text Input tool detects field types and sizes from the values you enter. Turn off automatic field detection to output your values as strings instead. The tool doesn't determine field types or shorten field sizes in your data. Turn off automatic field detection when you need to:

  • Keep leading zeros in identifiers, such as 00123.

  • Keep large numbers that look like numeric values.

  • Keep date-like text as entered.

  • Get predictable output field types and sizes.

To turn off automatic column detection, follow these steps:

  1. Select the Text Input tool.

  2. In the Configuration window, select the Disable Automatic Column Detection checkbox.

When the automatic column detection is off:

  • Values are output as strings. Use a Select tool or Auto Field tool later in your workflow to set the column types you need.

  • Column names, column order, and the way blank cells become NULL values don't change.

  • The option is saved with the tool configuration.