Ana içeriğe geç

Make'de Word şablonu

PDF4me Word Şablon en esnek şablon ailesidir. Make Tek bir belge oluşturun. Standart bir yöntem gerektirir. .docx Şablon yer tutucularıyla eşleşen dosya JSON veya XML tuşlara basar ve kişiselleştirilmiş bir çıktı üretir. PDF veya Word Bu belgeyi faturalar, sözleşmeler, sertifikalar ve mektuplar için manuel posta birleştirme işlemine gerek kalmadan kullanabilirsiniz.

İlgili Blog Yazıları
Bu özellik için henüz bir blog yazısı yok — yakında yayınlanacak.
Bu arada, her platforma yönelik eğitimler ve iş akışları için PDF4me bloguna göz atın.
Blogu ziyaret edin

Başlamadan Önce

Word Şablon yer tutucuları içeren .docx
Örnek şablon.docx Veri dosyanızdaki anahtarlara karşılık gelen yer tutucular içerir. Yer tutucu adları, veri dosyanızdaki anahtarlarla eşleşmelidir. JSON veya XML Alan adlarını, iç içe geçme durumları da dahil olmak üzere, tam olarak belirtin.
Eşleşen veri dosyası
Kullanmak veri.json (tavsiye edilen), test.xml, veya test.csvŞablon, biçimden bağımsız olarak aynı değerlere sahip olur.
PDF4me bağlantıda Make
Bir tane oluşturun PDF4me bağlantıda Make ve yapıştırın API Aynı tuş her cihazda çalışır. PDF4me Senaryonuzdaki modül.

Örnek Dosya Paketi

Aşağıdaki dosyaları indirin. Bir Word şablon artı eşleşen veriler JSON, XML, Ve CSV.

PDF4me'nin Şablon Kullanarak Belge Oluşturma modülü, Bağlantıyı gösteriyor, Şablon Adı PDF4me deposundan örnek bir şablona ayarlanmış, Belge Veri Türü Json, Belge Veri Metni boş, Belge Veri Dosyası önceki 2. adımdan eşlenmiş. Veri ve Meta Veri Json boş.

Hedef yapılandırması: PDF4me Word Şablon + JSON içinde Belge Verileri Metni + PDF çıktı.

Nedir bu? PDF4me Word Şablon şablonu içinde Make?

O PDF4me Word Şablon ailesi birleştirir Microsoft Word .docx Çalışma zamanında verilerinizi içeren dosya. .docx Bu modül, tamamen tasarlanmış bir düzen (logolar, tablolar, stiller) görevi görür ve yer tutucuları veri dosyasındaki değerlerle değiştirir. Belgenizin hassas biçimlendirmeye ve yeniden kullanılabilir marka kimliğine ihtiyaç duyduğu durumlarda önerilen seçenektir.

Nasıl yapılandırırım? PDF4me Word Şablon içinde Make?

Modül alanlarını aşağıdaki gibi ayarlayın. Zorunlu alanlar kırmızı yıldız işaretiyle belirtilmiştir. Make Kullanıcı arayüzü.

ParametreGerekliNe işe yarar?Örnek
ConnectionRequiredPDF4me connection for the scenario. Click Add to create one with your API key.My PDF4me connection
Template File TypeRequiredSet to PDF4me Word Template for this template family.PDF4me Word Template
Output TypeRequiredFormat of the generated document. Word for editable output, PDF for a locked layout (most common).PDF
Template NameRequiredTemplate file name including extension. Map from the prior module file name output.template.docx
TemplateRequiredTemplate file binary. Map from the prior module data output (for example 1. Data from Dropbox Download a File).1. Data
Document DataTypeRequiredChoose Json for JSON payloads (most common) or Xml when the upstream system returns XML.Json
Document Data TextConditionalInline JSON or XML data. Use when Document Data File is empty.data.json
Document Data FileConditionalMapped data file from a prior module. Use when Document Data Text is empty.1. Data

Çıktı

Bu modül, her çalıştırmada bir paket döndürür. Oluşturulan dosya şu konuma yerleştirilir: Belge Tarihi Çıkış alanı.

AlanTipİçeriğinde neler var?
Doc DataBinaryThe generated PDF document. Map into a downstream Upload File or Send Email Attachment module.
File NameStringOutput filename based on Template Name with the extension matching Output Type.
Mime TypeStringMIME type of the generated document.

Üretim modelleri

Word şablonları için yaygın kullanılan kalıplarReplace the manual test with these once the sample works.
Bulut depolamadan şablon
  1. Dropbox veya Google Drive depolama alanları şablon.docx.
  2. Dosya İndir seçeneği şablonu ikili veri olarak yükler.
  3. Belge Oluştur Tek harita Şablon Adı ve Şablon.
  4. Veriler, Sheets veya bir webhook aracılığıyla oluşturulur. JSON.
Teslim edilecek webhook PDF
  1. Webhook, kayıt yükünü alır.
  2. Tekli Belge Oluştur seçeneği, belgeyi şablonla birleştirir.
  3. Çıktı Türü PDF.
  4. E-posta Gönder veya Dosya Yükle seçeneği Belge Verilerini iletir.
Veri kaynağından toplu işlem
  1. Arama kayıtları birçok satır döndürür.
  2. Yineleyici, her seferinde yalnızca bir kaydı döngüye alır.
  3. Belge Oluşturma Tekli işlemi, her kayıt için yalnızca bir kez çalışır.
  4. Her dosya, kayıt başına ayrı bir klasöre yüklenir.

Sıkça Sorulan Sorular

What placeholder syntax does a PDF4me Word template use?+
The .docx uses template placeholders that match the keys in your data file. Nested keys map to nested placeholders, and the names must match your JSON or XML exactly. Download the sample template.docx to see the working placeholders.
Can a Word template output PDF instead of Word?+
Yes. Output Type is independent of the template. Set Output Type to PDF for a locked layout (most common for invoices and contracts) or Word for an editable .docx.
Where do I store the template file for Make?+
Keep template.docx in Dropbox, Google Drive, or OneDrive. Add a Download a File module before Generate Document Single and map Template Name and Template from it.
Do I have to use JSON, or can I use XML or CSV?+
Set Document DataType to Json or Xml. The sample pack includes data.json, test.xml, and test.csv with identical values so you can test each format.

İlgili Kılavuzlar

Temel şablon motoru için bkz. Aspose Words for .NET dokümantasyonu ve Make veri yapıları referansı.