Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

From the Tools menu, select Manage templates:
REPLACE WITH THIS IMAGE: Images/Pebble Templates/Managing Templates.png Image Added 
The default Template Manager is displayed and the dialog enables you to create templates for query and DDL generation; , and placeholder templates for usage in model conversions.
REPLACE WITH THIS IMAGE: Resources/Images/template manager_1114x627.png .
Image Added

Search and Filters

Use this section to find templates or filter them according to different criteria. As you type on the search field matching results start to populate the Templates Pane.

Icons

Description

Image Added

Deploys a series of search options. Refer to Search and Filtering for information on the available options.

Image Added

Deploys additional filtering options.
Image Added

Template Pane

Available templates (default and custom) are listed in this left-hand pane. Select a template to display its content in the centre pane.

Icons

Description

Image Added

Click to Add a template.

Image Added

Click to Edit the selected template.

Image Added

Click to make a Copy of the selected template.

Image Added

Click to Delete the selected template.

Image Added

Click to Move up a template.

Image Added

Click to Move down a template.

Image Added

Click to Import a template.

Image Added

Click to Export a template.

Editor Pane

The editor pane displays the content of the selected template which can then be edited, with assistance of the tools provided via icons in the toolbar.
Use the appropriate icon or check box in conjunction with the entered string when to locate and edit the content of a selected template.
A special keyboard function Ctrl+space activates a pop-up dialog that may be used to assist with auto-completion of variables and tags.

Icons

Description

Image Added

Find

Image Added

Find and Replace

Image Added

Click to Goto a line.

Image Added

Whitespace

Image Added

Compare and merge the script or template with another script or template.

Image Added

Reset

Meta Tags Pane

Manage key pair values to be used as variables within the template or as additional information to the template.

Icons

Description

Image Added

Click to Add a meta tag.

Image Added

Click to Edit the selected meta tag.

Image Added

Click to Delete the selected meta tag.

Preview Pane

The preview pane on the right provides a preview of the output for the chosen entity.

Icon

Description

Image Added

Click to Refresh the contents of the template.

Auto-refresh

Select the checkbox to automatically (after a short delay) refresh the content when the editor pane has detected a change in the content.

Choose entity to preview template

Select an entity for refining the variables used to run the previewer.

Choose preview item

Select an item to preview from the drop-down list.

Expand

Item

Variable

Data type

Note

Entity

table

Table



tables

List<Table>


Attribute

table

Table



column

Column



transformationColumn

Column


Relationship

relationship

Relation



fkTable

Table



pkTable

Table


Source Set

table

Table



sourceSet

SourceSet


Documentation subject

table

Table

If entity or attribute level.


column

Column

If attribute level.


relationship

Relation

If relationship level.


documentation

Documentation



subjectName

String



subjectLabel

String


Profiling

table

Table

If entity or attribute level.


column

Column

If attribute level.


relationship

Relation

If relationship level.


metric

String



value

String



vaules

List<Tuple<String, String>>