The parameter reference mixes two very different things: about 31 parameters you type inside the template, and about 21 you set on the document solution or its button. Knowing which kind you're looking at tells you where to add it, and why a parameter "does nothing" when it's in the wrong place.
The kinds of parameters
| Kind | What it looks like | Where it goes | What it controls |
|---|---|---|---|
| Template tag | {{Image:Account.Logo__c}}, {{PAGE}}, {{TableStart:…}} | Typed in the Word template, where the result should appear | What appears at that spot in the document |
| Field switch | \@, \#, \*, \ PHONE: after a field name | Inside a merge field: {{Account.CreatedDate \@ "dd-MM-yyyy"}} | How one value is formatted |
| Behavior setting | A toggle or field, such as Convert to PDF? | The solution's Assign Behaviors page, in its own sidebar section | Output, saving and logging after generation |
| Solution parameter (Other Parameter) | name=value, such as SkipDownload=1 | Assign Behaviors > Other Parameter > Add Other Parameter | Output, delivery, email and automation |
| Button URL parameter | &name=value, such as &ofn={!Opportunity.Name} | The solution button's URL | The same settings as solution parameters |
Solution parameters and button URL parameters are the same thing seen from two sides. Since v1.13.0, Docs Made Easy adds each Other Parameter to the button URL. Some FAQs tell you to add a parameter "to the button URL" (for example directemailsender=1 or reportid). Adding the parameter as an Other Parameter does the same job.
A new Other Parameter takes effect without clicking Update Button URL. That button (since v1.20.0) converts the button URL to a document key and adds all of the solution's parameters to it. Activity logging and Convert to PDF? are set in the solution's UI, so you never need to edit the button URL for them.
Every parameter, conditional and switch works in both Basic and Pro. There are no Pro-only parameters or Pro-only syntax; the "Pro syntax" wording in the v1.25 release notes isn't a separate tier.
Notice the two merge syntaxes. Templates use {{Opportunity.Name}}. Solution parameter values use Salesforce button syntax, {!Opportunity.Name}, as in ofn={!Opportunity.Name} or redirecttourl=/{!Account.Id}.
When to use which
| If you want to… | Use | Example |
|---|---|---|
| Put something in the document (an image, a table, a page number) | Template tag | {{Image:Object.Field}} |
| Change how a field looks (date, number, case) | Field switch | {{Contact.Name \* upper}} |
| Change what happens after generation (save, download, email, PDF) | Behavior setting or Other Parameter | bgm=1, SkipDownload=1 |
| Pass a value into a query or another parameter | Other Parameter | pv0, QVar0Id (see Choose a data source) |
| Set a regional format used by a template tag | Both: Other Parameter and template tag | CurrencyCulture1=de-DE + {{Amount \# CurrencyCulture1}} |
Every parameter page by kind
In the template
| Kind | Parameter pages |
|---|---|
| Field switch | Date format · Time and AM/PM · Currency format · Upper case · Lower case · Phone format |
| Field and text tags | ADJUST · Today · Checkbox · HTML · HYPERLINK · Label · REPLACE |
| Images and layout tags | Image · Image H and W · PAGE · NUMPAGES · PageBreak · WATERMARK |
| Table tags | TableStart and TableEnd · RowNumber · RowCount · Sum(Above) · TableGroup · TableGroupStart · TableHide:Master |
In the template and on the solution
| Parameter page | Template part | Solution part |
|---|---|---|
| CurrencyCulture | {{FieldName \# CurrencyCulture1}} | CurrencyCulture1=de-DE |
| NumberCulture | {{FieldName \# NumberCulture1}} | NumberCulture1=nl-NL |
| AUTOSUM(ABOVE) | {{AUTOSUM(ABOVE)\# CurrencyCulture1}} | CurrencyCulture1 |
| CustomLabel | {{CustomLabel.LabelName}} | language=fr |
| TableHide | {{TableHide:Object.r.Relationship}} | Or, instead: If No Records > Delete Table on the Gather Data relationship |
| docfamily | Document Template Family field on the template record | docfamily=<group name> |
On the solution or button
| Kind | Parameter pages |
|---|---|
| Behavior setting only | Activity logging (Post Merge Distribution) · Default PDF (Generated File > Convert to PDF?) · Background Mode |
| Behavior setting or Other Parameter | bgm=1 · bgm=2 · bgm=3 · bgm=5 (Background Mode) · ofn (Generated File > Filename, or &ofn= in the button URL) |
| Other Parameter (output) | bgm=10 · SkipDownload · SC · MergeDocument · redirecttourl · unlinkFields · Field update |
| Other Parameter (email) | directemailpreview · directemailsender · directstandardemail · EmailFromId · owdemailid |
Other solution parameters are documented in guides rather than reference pages: pv0 (document queries), QVar0Id, QVar0Format and EmailToId (QVars), documenttemplateid (dynamic templates) and reportid (report data).
Example: one solution, three kinds
An opportunity quote shows the amount in euro format, saves the file to Files without downloading it, and is named after the opportunity.
In the template:
Total: {{Opportunity.Amount \# CurrencyCulture1}}
On Assign Behaviors > Other Parameter:
| Parameter Name | Parameter Value |
|---|---|
CurrencyCulture1 | de-DE |
bgm | 1 |
SkipDownload | 1 |
On Assign Behaviors > Generated File > Filename: {!Opportunity.Name}.
Docs Made Easy adds the Other Parameters to the button URL, for example &bgm=1&SkipDownload=1.
Limits and gotchas
- Right syntax, wrong place. A template tag typed as an Other Parameter, or
bgm=1typed into the Word file, does nothing. Check the kind first. - Two merge syntaxes. Use
{{…}}in the template and{!…}in parameter values. - Casing doesn't matter. Parameter names aren't case-sensitive, so
EmailFromIdandEmailFromID,documenttemplateidanddocumenttemplateId, andQVar0Idandqvar0Idall work. Spelling still matters: copy names from their reference page.