メインコンテンツへスキップ

人口 Excel で Make

人口 Excel は PDF4me モジュール Make 満たす Excel ライブ JSON データを自動的に処理し、配列を行ごとに拡張し、単一の操作で数式を再計算します。これを使用して、入力済みの請求書テンプレート、動的なレポート、またはデータ駆動型レポートを生成します。 Excel あらゆる出力 JSON 手動データ入力なしで、シナリオにおける情報源を確保できます。

このモジュールの機能

PDF4me Excel人口を増やす 受け入れる Excel スマートマーカープレースホルダーと JSON データペイロード、そして完全にデータが入力されたデータを返します。 Excel ワークブック内 Make シナリオ。配列は JSON 行に自動的に展開され、挿入後に数式が再計算され、インデックスで特定のワークシートを対象とすることができます。結果として、すぐに配布できるデータが得られます。 Excel このレポートは、お客様のシナリオにおけるデータのみに基づいて生成され、手動入力は一切行われません。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証 API リクエスト​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオが認証できるようにするためのキー Excel 人口要求を安全に処理します。

見逃してはならない重要な事実​

スマートマーカーの名前は一致する必要があります JSON 鍵は正確に
あなたのフィールド名は JSON ペイロードはスマートマーカーのプレースホルダーと一致する必要があります。 Excel テンプレートは、大文字・小文字を含めて正確に記述します。マーカー &=Items.ItemName 必要とする JSON 名前付き配列 商品 オブジェクトを含む 商品名 プロパティ。一致しない場合、出力でプレースホルダーが置換されません。シナリオを実行する前に、必ずキー名を確認してください。
配列は自動的に行ごとに下方向に拡張されます
その時 JSON スマートマーカーにバインドされた値は配列であり、モジュールはマーカーセルの下に要素ごとに1行を挿入し、既存の行を下に移動させます。想定される行数に合わせてテンプレートのサイズを事前に設定する必要はありません。そのため、Populateモジュールは、請求書、注文リスト、および実行時にデータ行数が変化するあらゆるレポートに適しています。
厳格に設定 JSON 数値式の場合は文字列を「いいえ」に設定します。
厳密な JSON 文字列は「はい」(デフォルト)、数値は引用符で囲まれています。 JSON のような 「55」 テキストとして挿入されます Excel下流のSUM関数やその他の数式で数値として扱う必要がある場合は、Strictに設定します。 JSON 文字列を数値に変換するモジュールは、引用符で囲まれた数値文字列を数値に変換します。 Excel 集団形成前の細胞値。
PDF4me Excel Populateモジュールを作成し、接続フィールド、Dropbox - ファイルのダウンロードに設定されたファイル、およびItemName、Qty、UnitPriceフィールドを含むItems配列を持つJSONデータテキストエリアを表示します。

地図 繋がり、 セット ファイル に Dropbox またはマップ、そして JSON キーがスマートマーカーフィールド名と一致するペイロード Excel テンプレート。

パラメータ​

必須: 接続、ファイル(ソース)、 JSON データは必須です。その他のフィールドはすべてオプションです。スマートマーカー構文リファレンスについては、以下を参照してください。 Aspose Cells WorkbookDesigner のドキュメント文化コードについては、以下を参照してください。 Microsoft BCP 47 カルチャ名リファレンス。

パラメータ必須その機能例
ConnectionRequiredPDF4me Excel API connection. Click Add and paste your API key if connecting for the first time.My PDF4me Excel connection
FileRequiredFile source mode. Map supplies the Excel template binary from a prior module output. Dropbox - Download a File pulls directly from Dropbox, reducing the number of modules needed.Map
File NameOptionalExcel template filename including extension (.xlsx). Map from the prior module file name output or enter a static value. Used to identify the template and name the output file.invoice-template.xlsx
DocumentRequiredBinary content of the Excel template workbook. Map from a Google Drive download, SharePoint file, email attachment, or HTTP response. Must be the raw file buffer.1. Data
JSON DataRequiredJSON string whose keys match the Smart Marker placeholders in the Excel template. Arrays expand row by row. Scalar values fill single cells. Pass as a mapped string from a prior module or a static JSON literal.{"Items":[{"ItemName":"A123","Qty":"55","UnitPrice":"3.05"}]}
Strict JSON StringsNoYes (default): inserts quoted string values as text in Excel. No: coerces quoted numeric strings to numeric cell values so formulas can operate on them. Empty behaves like Yes.Yes
Culture & Language SettingsNoBCP 47 locale code controlling date and number formatting in the output. Defaults to en-US (MM/DD/YYYY, period decimal). Change to match your data source locale: de-DE, fr-FR, and so on.en-US
Calculate FormulasNoYes (default): recalculates all workbook formulas after JSON data is inserted. No: skips recalculation. Enable when the template contains SUM, VLOOKUP, or other formulas that depend on the populated values.Yes
Worksheet IndexesNoComma-separated 1-based indexes of worksheets to populate. Enter 1 for the first sheet only, 1,3 for first and third. Leave empty to populate all worksheets in the workbook.1
Quote Prefix To StyleNoYes: converts Excel quote-prefix formatting to visible cell style. No: removes it. Empty (default): preserves existing quote-prefix behavior without conversion. Use Empty unless your template specifically requires style conversion.Empty
PDF4me Excel を作成する際の詳細設定で、厳密な JSON 文字列を「はい」、文化と言語の設定を en-US、数式を「はい」、ワークシートインデックスを 1、引用符の接頭辞をスタイルに「空」と表示します。

オプション設定: 厳しい JSON 弦楽器、 文化と言語環境、 計算式、 ワークシート索引、 そして 引用符のスタイル接頭辞。 セット 計算式:はい そのため、ワークブックの数式は入力されたデータを反映します。

出力​

分野タイプ内容物
documentBase64 StringThe fully populated Excel workbook encoded as Base64. Decode it with a Make Tools module, then pass the binary to a Google Drive upload, email attachment, Dropbox create-file, or HTTP POST to distribute the report.
FileNameStringOutput filename for the populated workbook, derived from the input template name. Use this as the target filename when saving to cloud storage to preserve the original naming convention.
SuccessBooleanTrue if the template was populated without errors. Add a Make filter on this field before routing the output to avoid processing incomplete results from failed runs.

簡単なサンプル(3分でお試しください)​

すぐに実行できる組み合わせが 2 つあり、上記のスクリーンショットと一致します。各ペアをダウンロードし、XLSX をマッピングします。 書類 (または使用する) Dropbox ファイルモード)に貼り付ける JSON の中へ JSON データそして、そのシナリオを一度実行します。

コンボA:シンプルなアイテム(パラメータのスクリーンショットと一致します)

用途 テンプレート.xlsx と ワークシート索引 = 2 (シート2には、パラメーターのスクリーンショットで使用されているシンプルなアイテムマーカーが含まれています。)対応するフラットアイテムとペアにしてください。 JSON。

コンボB:リッチな請求書 Excel テーブル

請求書シートを使用します テンプレート.xlsx ネストされた &=RootData.Items.* マーカー、構造化参照式 シンプルインボイス 表、小計 + 税金 + 合計の計算。

コンボC:複数シートのワークブック

各シートに異なるデータソースを示す3シートのテンプレート。ファイル内のシートの順序は次のとおりです。 アイテム、従業員、製品。

入力方法 Excel テンプレート Make​

  1. 開いてください Excel テンプレートを使用して、データが表示されるセルにスマートマーカープレースホルダーを配置します。 &=ObjectName.FieldName スカラー値の場合、 &=ArrayName.FieldName 行ごとに拡張される配列の場合。
  2. 追加 PDF4me Excel あなたの Make シナリオを選択して選択する Excel - 人口を増やす。
  3. 選択または作成 繋がり あなたの PDF4me API 鍵。
  4. セット ファイル に 地図 そして接続する ファイル名 そして 書類 から Google Drive、 SharePoint、 または Dropbox モジュールをダウンロードします。または、ファイルを設定して Dropbox ファイルをダウンロードする テンプレートを直接取得する。
  5. 地図 JSON データ 以前のモジュールから生成され JSON 文字列、または静的な文字列を貼り付ける JSON リテラル。すべてのキーがテンプレート内の対応するスマートマーカーフィールド名と一致していることを確認してください。
  6. セット 計算式 に はい テンプレートに入力値に依存する数式が含まれている場合。 ワークシート索引 特定のシートのみを対象とするか、すべてのシートを空欄のままにするかを選択できます。
  7. クリック 保存 そして実行します。 書類 出力してクラウドストレージへのアップロード、メール、または API 必要に応じて。

Populateはいつ使用すべきですか? Excel で Make?​

Makeの「Excelへのデータ入力」機能はいつ使用すべきですか?Common Make automation patterns using the Populate Excel module.
注文データから請求書を自動生成する
  1. ウェブフックは、顧客の詳細と明細項目を含む新しい注文ペイロードを受け取ります。 JSON 配列。
  2. このシナリオでは、ブランド化された請求書テンプレートを以下からダウンロードします。 Google Drive。
  3. 人口 Excel 順序をマッピングする JSON テンプレート内のスマートマーカーに移動し、各行項目ごとに1行ずつ展開して、合計計算式を再計算します。
  4. 入力済みの請求書は顧客にメールで送信され、クライアントフォルダにアップロードされます。 SharePoint。
データベースから週次KPIレポートを作成する API
  1. 毎週スケジュールされたトリガーが発火し、 REST API 最新のKPI指標を取得するために JSON。
  2. このシナリオでは、KPI レポート テンプレートを以下から取得します。 Dropbox 内蔵の Dropbox ファイルモード。
  3. 人口 Excel テンプレートセルにメトリック値を挿入し、トレンド計算式を再計算します。
  4. 完成したレポートはSlackチャンネルに投稿され、日付付きアーカイブフォルダに保存されます。 Google Drive。
クライアントごとに入力する Excel 要約 CRM 輸出
  1. A CRM 取引が完了(落札)とマークされたときにウェブフックが発火し、クライアントと取引データを提供します。 JSON。
  2. このシナリオでは、取引概要テンプレートを以下からダウンロードします。 SharePoint ワークシートインデックス1のみを対象とします。
  3. 人口 Excel 顧客名、取引金額、および製品ライン項目をテンプレートに入力します。
  4. 入力済みのサマリーはクライアントフォルダにアップロードされ、アカウントチーム向けにプロジェクト管理ツールにタスクが作成されます。

よくある質問​

How do I auto populate an Excel template with data in Make?+
Use the PDF4me Excel - Populate module. Create an Excel template with Smart Marker placeholders such as &=Items.ItemName, then pass a matching JSON string in the JSON Data field. The module replaces every placeholder with the corresponding value from the JSON, expands arrays into rows, and returns the filled workbook ready for distribution.
What are Smart Markers and how do I write them in Excel?+
Smart Markers are placeholder strings placed in Excel cells that the Populate module replaces with live JSON data at run time. Write them as &=ObjectName.FieldName for scalar values or &=ArrayName.FieldName for arrays. For example, placing &=Items.ItemName in a cell tells the module to insert the ItemName property from each element of the Items JSON array, one per row.
What does Calculate Formulas do and when should I enable it?+
Calculate Formulas: Yes (the default) triggers a full workbook formula recalculation after the JSON data is inserted. Enable it whenever the template contains SUM, VLOOKUP, IF, or other formulas that reference the populated cells, so the formula results reflect the new data. Set it to No only if formula recalculation is unnecessary or handled downstream.
How do I populate only specific worksheets and not the whole workbook?+
Enter the 1-based worksheet indexes as a comma-separated list in the Worksheet Indexes field: for example 1 for the first sheet only, or 1,3 for the first and third. Leave the field empty to populate all worksheets. This is useful when the template contains data sheets with Smart Markers alongside static reference or chart sheets you do not want the module to modify.
What is the difference between Strict JSON Strings Yes and No?+
With Strict JSON Strings set to Yes (the default), string values in the JSON such as '55' are inserted into Excel cells as text. With No, quoted numeric strings are coerced to numeric Excel values. Choose No when downstream formulas such as SUM need to treat those values as numbers rather than text strings.
What does Quote Prefix To Style do?+
Quote Prefix To Style controls whether Excel quote-prefix cell formatting (a hidden attribute that forces text interpretation of cell content) is converted to a visible cell style in the output workbook. Leave it at Empty (the default) for standard behavior. Set Yes only if your template uses quote-prefix styling and you need that to appear as a visible format in the populated output.

関連モジュール​

ヘルプが必要な場合​