Documentation Index

Fetch the complete documentation index at: https://docs.datajet.app/llms.txt

Use this file to discover all available pages before exploring further.

TranslateTemplate

Prev Next

Creates a copy of a field template and applies it to an alternative table

Caution!
This method could create an invalid field template if specified fields do not exist on the target table.  No fields are copied by this method, and no verification is performed.


KeyValue(s)Description
method"TranslateTable"Creates a copy of a field template and applies it to an alternative table
source"SourceTemplateName"Required.   The name of the template to translate
name"TargetTemplateName"Required. The name of the template to create
table"TargetTable"Required.  The target table for the new template.
overwritetrue/falseOption.  Default = true.
If false and "name" already exists, an error will be raised.


{
  "method": "TranslateTemplate",
  "source": "Customer Common",
  "name": "Sales Common",
  "table": "sales",
  "overwrite": true,
  "project": "Rg2-Demo"
}