Skip to main content

2.7.6. Stamp Templates

Note:

The Stamp Templates feature is only available when the additional package dfx-stamp is installed.

Using stamp templates, you can create stamps of various types, such as a seal, barcode, QR code, and others. You can then apply the created stamps to documents in PDF or Word format.

2.7.6.1. Stamp Template Types

  • Document Blank – required to generate a document when there is no attachment.
  • Document – applies a combination of different stamp types to a document. You can combine multiple child templates into one parent template. For example, you can place a "QR code" stamp template on the first page, a "Seal" template on the middle pages, and a "Facsimile" template on the last page.
  • Barcode – applies a barcode to a document.
  • Text Block – applies a stamp in the form of a text block to a document.
  • QR Code – applies a QR code to a document.
  • Seal – applies an image to a document.
  • Facsimile – applies a drawing with a signature to a prepared MS Word file.

2.7.6.2. Create a Stamp Template

  1. In the navigation panel, select the Studio 1 workspace.

  2. Select the Forms and Templates 2 shortcut group, then select the Stamp Templates 3 shortcut.

  3. In the toolbar, select Create 4.

  4. Fill in the fields 1 using the hints in the table below, then in the toolbar, select Save 2.

FieldDescription
Code*
  • The code must be unique.
  • The code must be short (typically up to 10 characters).
  • Use only Latin letters and digits.
Name*The display name of the stamp template.
ℹ️ Note: You can set the stamp template name for different languages. To do this, in the Name field, select the icon and fill in the fields for other languages. Then select the Apply button.
DescriptionA short description of the stamp template.
Example: "A stamp for marking approved documents with the date and signature of the responsible person."
Stamp TypeSelect one of the following stamp types:
  • Document Blank – required to generate a document when there is no attachment.
  • Document – applies a combination of different stamp types to a document. You can combine multiple child templates into one parent template. For example, you can place a "QR code" stamp on the first page, a "Seal" stamp on the middle pages, and a "Facsimile" stamp on the last page.
  • Barcode – applies a barcode to a document.
  • Text Block – applies a stamp in the form of a text block to a document.
  • QR Code – applies a QR code to a document.
  • Seal – applies an image to a document.
  • Facsimile – applies a drawing with a signature to a prepared MS Word file.
Note:

Fields marked with * are required.

  1. Go to the next tab — it will have the same name as the stamp type you selected earlier.

  2. Fill in the fields 1 using the hints from the section that corresponds to the selected stamp type:

  3. In the toolbar, select Save 2.

Note:

The fields on this tab differ depending on the selected stamp type.

2.7.6.2.1. Stamp Type: Document Blank

FieldDescription
Use PDF blankEnables creating a blank in .pdf format.
Number of pagesSpecify the number of pages in the document blank.
OrientationSelect one of the following orientation options:
  • Landscape — horizontal page format where width is greater than height.
  • Portrait — vertical page format where height is greater than width.
FormatSelect one of the following page size options:
  • A1: 594 x 841 mm
  • A2: 420 x 594 mm
  • A3: 297 x 420 mm
  • A4: 210 x 297 mm
  • A5: 148 x 210 mm
  • A6: 105 x 148 mm
  • A7: 74 x 105 mm
  • A8: 52 x 74 mm
  • A9: 37 x 52 mm

2.7.6.2.2. Stamp Type: Document

FieldDescription
First page templateSelect a stamp template you previously created in the platform from the list. This template will be applied to the first page of the document.
Middle pages templateSelect a stamp template you previously created in the platform from the list. This template will be applied to all pages of the document except the first and last.
Last page templateSelect a stamp template you previously created in the platform from the list. This template will be applied to the last page of the document.

Page


FieldDescription
SignificantIn this field, select which parameters will be used for the template:
  • Inherited — the settings you define in the script will apply. To set them, go to the next Properties 1 tab, then in the script, edit the values of the required settings 2.

  • Yes — the settings you define for this Document-type template will apply.
  • No — the settings of the stamp templates added in the First page template, Middle pages template, and Last page template fields will be applied.
Position on pageSelect one of the following stamp position options on the page:
  • Inherited — this option is not available for the Document template type.
  • Top left
  • Top center
  • Top right
  • Bottom left
  • Bottom center
  • Bottom right
Left marginEnter a numeric value for the left margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Top marginEnter a numeric value for the top margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Right marginEnter a numeric value for the right margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Bottom marginEnter a numeric value for the bottom margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
RotationTo rotate the stamp clockwise, select one of the following values:
  • Inherited — this option is not available for the Document template type.
  • 90°
  • 180°
  • 270°

2.7.6.2.3. Stamp Type: Barcode

FieldDescription
Page numberEnter the page number on which the barcode will be placed.
ℹ️ Note: For the barcode to be applied to the selected page, set the Stamp position field below to Custom.
Number of pagesSpecify the total number of pages in the document. This helps the system correctly place the barcode, especially if it should appear on the last page.
Signature behaviorSelect one of the following options:
  • Use last signature or default — only the last applied signature will be used if present, or the default value.
  • Use all available signatures — all signatures on the document will be taken into account.
  • Use all available signatures or default — all signatures are used if present, or the default value.
Certificate seriesEnter the digital signature certificate series.
Certificate valid fromEnter the certificate start date.
Certificate valid toEnter the certificate expiry date.
Signature timeEnter the date the signature was applied.
Full name from certificateEnter the full name of the certificate owner exactly as it appears in the certificate document.
SignatoryEnter the name of the person who actually signs. This may differ from the full name in the certificate.
Organization nameEnter the full name of the signatory's organization.
Example: "LLC "Star"."
Organization EDRPOUEnter the 8-digit EDRPOU code of the signatory's organization. Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nEDRPOU:'+STR($stamp.signInfoOrgEDRPOU)+ — display the organization's EDRPOU


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
DRFOEnter the 10-digit individual tax number of the signatory (formerly known as the identification code).
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nDRFO1112:'+STR($stamp.signInfoSubjectDRFO)+ — display the individual's DRFO

ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
PositionEnter the signatory's job title.
Example: "General Director".
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nPosada:'+$stamp.signInfoOrgPosition+ — display the signatory's position


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
UnitEnter the name of the department the signatory belongs to.
Example: "Sales Department".
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nPidrozdyl:'+$stamp.signInfoOrgUnit+ — display the signatory's unit


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.

Page


FieldDescription
Stamp positionSelect the pages of the document on which the stamp will be applied:
  • Custom — the stamp will be applied to the page number you entered in the Page number field above.
  • First page
  • All pages
  • All pages (except first and last)
  • Last page
Position on pageSelect one of the following stamp position options on the page:
  • Inherited — if this stamp template is a child of a Document-type template, the position setting defined in that parent Document template will be used.
  • Top left
  • Top center
  • Top right
  • Bottom left
  • Bottom center
  • Bottom right
Left marginEnter a numeric value for the left margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Top marginEnter a numeric value for the top margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Right marginEnter a numeric value for the right margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Bottom marginEnter a numeric value for the bottom margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
RotationTo rotate the stamp clockwise, select one of the following values:
  • Inherited — if this stamp template is a child of a Document-type template, the rotation setting defined in that parent Document template will be used.
  • 90°
  • 180°
  • 270°

Text


FieldDescription
ValueThis field contains the template code that defines the content and formatting of the stamp. It includes special expressions that are automatically populated with data when the stamp is generated. The code can be edited to change the information displayed on the stamp or its formatting.
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.
Text positionSelect the position of the text relative to the barcode:
  • Inherited — if this stamp template is a child of a Document-type template, the text position setting defined in that parent Document template will be used.
  • Right
  • Left
  • Top
  • Bottom
IndentEnter a numeric value for the text indent from the barcode. The platform uses pixels (px) as the unit of measurement.
Maximum widthEnter a numeric value for the maximum width of the stamp. The platform uses pixels (px) as the unit of measurement. The default width is 260 px.

Code


FieldDescription
Barcode widthEnter a numeric value for the barcode width. The platform uses pixels (px) as the unit of measurement.
Barcode heightEnter a numeric value for the barcode height. The platform uses pixels (px) as the unit of measurement.
Barcode symbologySelect Code128.
AlignSelect one of the following alignment options for the barcode:
  • Left align
  • Center

Attachment


FieldDescription
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.

Organization


FieldDescription
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.

Control


FieldDescription
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.

Number of sheets


FieldDescription
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.

Attachment number


FieldDescription
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.

Timestamp


FieldDescription
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.

2.7.6.2.4. Stamp Type: Text Block

FieldDescription
Page numberEnter the page number on which the text block will be placed.
ℹ️ Note: For the text block to be applied to the selected page, set the Stamp position field below to Custom.
Number of pagesSpecify the total number of pages in the document. This helps the system correctly place the text block, especially if it should appear on the last page.
Signature behaviorSelect one of the following options:
  • Use last signature or default — only the last applied signature will be used if present, or the default value.
  • Use all available signatures — all signatures on the document will be taken into account.
  • Use all available signatures or default — all signatures are used if present, or the default value.
Certificate seriesEnter the digital signature certificate series.
Certificate valid fromEnter the certificate start date.
Certificate valid toEnter the certificate expiry date.
Signature timeEnter the date the signature was applied.
Full name from certificateEnter the full name of the certificate owner exactly as it appears in the certificate document.
SignatoryEnter the name of the person who actually signs. This may differ from the full name in the certificate.
Organization nameEnter the full name of the signatory's organization.
Example: "LLC "Star"."
Organization EDRPOUEnter the 8-digit EDRPOU code of the signatory's organization. Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nEDRPOU:'+STR($stamp.signInfoOrgEDRPOU)+ — display the organization's EDRPOU


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
DRFOEnter the 10-digit individual tax number of the signatory (formerly known as the identification code).
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nDRFO1112:'+STR($stamp.signInfoSubjectDRFO)+ — display the individual's DRFO


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
PositionEnter the signatory's job title.
Example: "General Director".
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nPosada:'+$stamp.signInfoOrgPosition+ — display the signatory's position


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
UnitEnter the name of the department the signatory belongs to.
Example: "Sales Department".
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nPidrozdyl:'+$stamp.signInfoOrgUnit+ — display the signatory's unit


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.

Page


FieldDescription
Stamp positionSelect the pages of the document on which the stamp will be applied:
  • Custom — the stamp will be applied to the page number you entered in the Page number field above.
  • First page
  • All pages
  • All pages (except first and last)
  • Last page
Position on pageSelect one of the following stamp position options on the page:
  • Inherited — if this stamp template is a child of a Document-type template, the position setting defined in that parent Document template will be used.
  • Top left
  • Top center
  • Top right
  • Bottom left
  • Bottom center
  • Bottom right
Left marginEnter a numeric value for the left margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Top marginEnter a numeric value for the top margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Right marginEnter a numeric value for the right margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Bottom marginEnter a numeric value for the bottom margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
RotationTo rotate the stamp clockwise, select one of the following values:
  • Inherited — if this stamp template is a child of a Document-type template, the rotation setting defined in that parent Document template will be used.
  • 90°
  • 180°
  • 270°

Text


FieldDescription
ValueThis field contains the template code that defines the content and formatting of the stamp. It includes special expressions that are automatically populated with data when the stamp is generated. The code can be edited to change the information displayed on the stamp or its formatting.
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.
Maximum widthEnter a numeric value for the maximum width of the stamp. The platform uses pixels (px) as the unit of measurement. The default width is 260 px.

2.7.6.2.5. Stamp Type: QR Code

FieldDescription
Page numberEnter the page number on which the QR code will be placed.
ℹ️ Note: For the QR code to be applied to the selected page, set the Stamp position field below to Custom.
Number of pagesSpecify the total number of pages in the document. This helps the system correctly place the QR code, especially if it should appear on the last page.
Signature behaviorSelect one of the following options:
  • Use last signature or default — only the last applied signature will be used if present, or the default value.
  • Use all available signatures — all signatures on the document will be taken into account.
  • Use all available signatures or default — all signatures are used if present, or the default value.
Certificate seriesEnter the digital signature certificate series.
Certificate valid fromEnter the certificate start date.
Certificate valid toEnter the certificate expiry date.
Signature timeEnter the date the signature was applied.
Full name from certificateEnter the full name of the certificate owner exactly as it appears in the certificate document.
SignatoryEnter the name of the person who actually signs. This may differ from the full name in the certificate.
Organization nameEnter the full name of the signatory's organization.
Example: "LLC "Star"."
Organization EDRPOUEnter the 8-digit EDRPOU code of the signatory's organization. Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nEDRPOU:'+STR($stamp.signInfoOrgEDRPOU)+ — display the organization's EDRPOU


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
DRFOEnter the 10-digit individual tax number of the signatory (formerly known as the identification code).
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nDRFO1112:'+STR($stamp.signInfoSubjectDRFO)+ — display the individual's DRFO


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
PositionEnter the signatory's job title.
Example: "General Director".
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nPosada:'+$stamp.signInfoOrgPosition+ — display the signatory's position


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.
UnitEnter the name of the department the signatory belongs to.
Example: "Sales Department".
Then scroll down to the Text 1 section, and in the Value field, add the following script to display the entered value on the stamp:
'\nPidrozdyl:'+$stamp.signInfoOrgUnit+ — display the signatory's unit


ℹ️ Note: In the last line of the script you enter, the "+" at the end is not needed — remove it. The "+" is only required if you plan to add more script lines after it.

Page


FieldDescription
Stamp positionSelect the pages of the document on which the stamp will be applied:
  • Custom — the stamp will be applied to the page number you entered in the Page number field above.
  • First page
  • All pages
  • All pages (except first and last)
  • Last page
Position on pageSelect one of the following stamp position options on the page:
  • Inherited — if this stamp template is a child of a Document-type template, the position setting defined in that parent Document template will be used.
  • Top left
  • Top center
  • Top right
  • Bottom left
  • Bottom center
  • Bottom right
Left marginEnter a numeric value for the left margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Top marginEnter a numeric value for the top margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Right marginEnter a numeric value for the right margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Bottom marginEnter a numeric value for the bottom margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
RotationTo rotate the stamp clockwise, select one of the following values:
  • Inherited — if this stamp template is a child of a Document-type template, the rotation setting defined in that parent Document template will be used.
  • 90°
  • 180°
  • 270°

Text


FieldDescription
ValueThis field contains the template code that defines the content and formatting of the stamp. It includes special expressions that are automatically populated with data when the stamp is generated. The code can be edited to change the information displayed on the stamp or its formatting.
Font nameSelect a font from the list to apply to the stamp text.
Font sizeEnter a numeric value for the font size of the stamp text. The platform uses pixels (px) as the unit of measurement.
ColorEnter the stamp text color value in hex format.
BoldCheck this box if you want the stamp text to use bold font.
AlignSelect one of the following text alignment options for the stamp:
  • Left align
  • Inherited — if this stamp template is a child of a Document-type template, the alignment setting defined in that parent Document template will be used.
  • Center
Text orientationSelect one of the following options:
  • Horizontal — the default value, meaning text direction is left to right.
  • Inherited — if this stamp template is a child of a Document-type template, the text orientation setting defined in that parent Document template will be used.
Text positionSelect the position of the text relative to the QR code:
  • Inherited — if this stamp template is a child of a Document-type template, the text position setting defined in that parent Document template will be used.
  • Right
  • Left
  • Top
  • Bottom
IndentEnter a numeric value for the text indent from the QR code. The platform uses pixels (px) as the unit of measurement.
Maximum widthEnter a numeric value for the maximum width of the stamp. The platform uses pixels (px) as the unit of measurement. The default width is 260 px.

Code


FieldDescription
ValueThis field contains the template code that defines the content and formatting of the stamp. It includes special expressions that are automatically populated with data when the stamp is generated. The code can be edited to change the information displayed on the stamp or its formatting.
QR code widthEnter a numeric value for the QR code width. The platform uses pixels (px) as the unit of measurement.
QR code heightEnter a numeric value for the QR code height. The platform uses pixels (px) as the unit of measurement.
QR code qualitySelect one of the following QR code quality levels:
  • Level Lowest ~7% — Preserves approximately 7% of data even if the code is damaged. Suitable for clean scanning conditions without expected damage.
  • Level Middle ~15% — Can recover up to 15% of lost data. A good balance between code size and error resistance.
  • Level Quartile ~25% — Can recover up to 25% of lost data. Suitable for conditions where partial code damage is possible.
  • Level Highest ~30% — Can recover up to 30% of lost data. Best choice for challenging scanning conditions or when significant damage is expected.
QR code typeSelect Auto-detect.

2.7.6.2.6. Stamp Type: Facsimile

FieldDescription
Position on pageSelect one of the following stamp position options on the page:
  • Inherited — if this stamp template is a child of a Document-type template, the position setting defined in that parent Document template will be used.
  • Top left
  • Top center
  • Top right
  • Bottom left
  • Bottom center
  • Bottom right
Left marginEnter a numeric value for the left margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Top marginEnter a numeric value for the top margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Right marginEnter a numeric value for the right margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Bottom marginEnter a numeric value for the bottom margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
RotationTo rotate the stamp clockwise, select one of the following values:
  • Inherited — if this stamp template is a child of a Document-type template, the rotation setting defined in that parent Document template will be used.
  • 90°
  • 180°
  • 270°
Facsimile
EmployeeFrom the list, select the employee whose facsimile you need. Only employees who have added their facsimile will appear in the list. If the required employee does not have a facsimile, you can add it in employee edit mode. The file must contain a hidden block (a transparent image) into which the facsimile is applied.

2.7.6.2.7. Stamp Type: Seal

FieldDescription
Stamp positionSelect the pages of the document on which the stamp will be applied:
  • Custom — this option is temporarily unavailable for the Seal stamp type.
  • First page
  • All pages
  • All pages (except first and last)
  • Last page
Position on pageSelect one of the following stamp position options on the page:
  • Inherited — if this stamp template is a child of a Document-type template, the position setting defined in that parent Document template will be used.
  • Top left
  • Top center
  • Top right
  • Bottom left
  • Bottom center
  • Bottom right
Left marginEnter a numeric value for the left margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Top marginEnter a numeric value for the top margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Right marginEnter a numeric value for the right margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
Bottom marginEnter a numeric value for the bottom margin of the stamp from the edge of the page. The platform uses pixels (px) as the unit of measurement.
RotationTo rotate the stamp clockwise, select one of the following values:
  • Inherited — if this stamp template is a child of a Document-type template, the rotation setting defined in that parent Document template will be used.
  • 90°
  • 180°
  • 270°

Seal


FieldDescription
Image sourceSelect the source from which the seal image will be retrieved:
  • Entity — uses an image linked to a specific entity in the system.
  • File content base64 — uses an image encoded in base64 format.

Entity


FieldDescription
Entity name(Fill in this field if you selected Entity as the image source.)
Enter the name of the entity to which the seal image is linked. Possible entity names that may contain an image:
  • uba_user — Platform user. The user's avatar image.
  • dfx_Document — Document. The image may be embedded in the document.
  • dfx_DocumentAttachment — Files from the Document Attachments attribute and all custom file attributes.
ID(Fill in this field if you selected Entity as the image source.)
Enter the unique identifier of the entity. To get the ID:
1. Open the required entity in the platform.
2. Copy the link to it.
3. From the link, copy everything after instanceID=.

Example for uba_user:
1. Go to the Users registry.
2. Select the required user.
3. In the toolbar, select 1, then select Link 2.

4. Paste the copied link into a text editor, then copy everything after instanceID=.

5. Paste the copied value into the ID field.
Attribute name(Fill in this field if you selected Entity as the image source.)
Enter the name of the entity attribute that contains the seal image.
  • For the dfx_Document entity, you can enter the attribute name docImage to use the image stored directly in the document as the seal image.
  • For the uba_user entity, you can enter the attribute name avatar to use the user's profile picture as the seal image.
  • For the dfx_DocumentAttachment entity, you can enter the attribute name attachment to use the image from the Document Attachments attribute.
File content base64(Fill in this field if you selected File content base64 as the image source.)
Paste the base64-encoded seal image. You can use free online converters that convert jpeg images to base64 format.
Size typeSelect one of the following size types:
  • Default — the actual image size will be used.
  • Absolute scaling — allows you to specify the exact size in pixels.
  • Relative scaling by height — resizes the image proportionally to the page height.
  • Relative scaling by width — resizes the image proportionally to the page width.
  • Fixed height — fixes the height; width changes proportionally.
  • Fixed width — fixes the width; height changes proportionally.
Size valueEnter a numeric value for the seal size. How this value is interpreted depends on the selected size type. The platform uses pixels (px) as the unit of measurement.

2.7.6.3. Add Additional Information to a Stamp

The platform also allows you to create stamps on documents signed with qualified electronic signatures (QES). When configuring stamps, you can include additional information about the signatory:

  1. For organizations:

    • Organization EDRPOU code
    • Signatory's position in the organization
    • Signatory's unit in the organization
  2. For individuals:

    • Individual tax number (DRFO).

To configure additional information on a stamp, follow these steps:

  1. Open or create a stamp template (see the Stamp Templates section).

  2. Go to the tab 1 that has the same name as the stamp type you selected.

  3. Find the fields you want to add to the stamp 2 and fill them in.

  4. Scroll down to the Text 1 section, and in the Value field, add the required script line 2 to display the entered values on the stamp:

    • '\nEDRPOU:'+STR($stamp.signInfoOrgEDRPOU)+ — display the organization's EDRPOU
    • '\nDRFO1112:'+STR($stamp.signInfoSubjectDRFO)+ — display the individual's DRFO
    • '\nPosada:'+$stamp.signInfoOrgPosition+ — display the signatory's position
    • '\nPidrozdyl:'+$stamp.signInfoOrgUnit+ — display the signatory's unit
    Note:

    In the last line of the script you enter, the "+" at the end is not needed — remove it. The last line does not require a "+" because there are no other lines to concatenate after it.

  5. In the toolbar, select Save.

2.7.6.4. Edit a Stamp Using a Script

You can also apply additional template settings in the Script tab. Settings defined via a script take precedence over settings configured through the native interface. If you first configured a template using the interface and then added manual parameters via a script, the script settings will override the default ones.


To enable script-based stamp editing, follow these steps:

  1. Open the Constructor tab 1 of the entity that contains the stamp.

  2. Switch to Script mode 2.

  3. In the script code, enable the editing option by adding "important": true, 3, then define the parameters you want to override below it 4.

2.7.6.5. Activate Stamp Application to Files

You can add a stamp to specific attributes on a document type form or a task form. There are three ways to activate the stamp application:

2.7.6.5.1. Using an Action Button in an Attribute

  1. If you want to activate a stamp for a specific document type, go to the Document Types 2 shortcut > the required document type > Constructor tab 3.

Or

  1. If you want to activate a stamp for a specific task form, go to the Forms and Templates 2 shortcut group > Task Forms 3 shortcut > the required task form > Form tab 4.

  2. On the form, select or add one of the following attribute types:

    Note:

    Stamps can be applied to attachments in MS Word format (its PDF image) / PDF.

  3. Hover over the attribute, then select the icon.

  4. Enable the Stamp on document 1 toggle, then select the Save 2 button.

  5. Select the attribute again 1, then in the settings go to the Stamp Templates section and fill in the fields 2 using the hints in the table below.

FieldDescription
Stamp templateSelect the stamp template you want to apply to the document.
Blank templateSelect the blank template to which you want to move the document content.
Allow user to changeEnable this toggle if you want to allow the user to change the stamp template and its position before applying the stamp.
SourceFrom the list, select the source from which the platform should take the document to stamp. Currently, there is one available option:
Self — the document to be stamped is taken from the current form (the document form you are working in).
ActionFrom the list, select the action to perform after the stamp is applied:
  • Print only — after applying the stamp, a preview window opens where you can save the stamped file without saving it to the attribute.
  • Print and save — after applying the stamp, a preview window opens where you can save the stamped file and store it in the attribute.
  • Save — after applying the stamp, the file is saved to the attribute.
  • Print and save immediately — after applying the stamp, a preview window opens where you can save the stamped file and store it in the attribute immediately, without additionally saving the document/task form.
  • Save immediately — after applying the stamp, the file is saved to the attribute immediately, without additionally saving the document/task form.
Save conditions (available only for the Print and save and Save actions)From the list, select one of the conditions for handling a signature in the file:
  • If signed, warn about new version — warn the user that the file is signed, with the option to save the original file as a version or cancel the stamp application.
  • If original is missing, move to original — for PDF files. Allows saving the stamped document as the document image without creating a version.
  • If signed, save as new version without warning — save the original file as a version without user confirmation.
  • If signed, do not save — cancel saving the stamped file if the original file is signed.
  • If signed, show error — show an error if the original file is signed.
Destination (available only for the Print and save and Save actions)From the list, select where to save the stamped file:
  • Self — the stamped document will be saved in the same attribute where the stamp was applied.
  • Other file-type attributes placed on the form of this document type or task form.
  1. In the toolbar, select Save.

After configuration, users will be able to manually apply the stamp to all documents generated from this document type. To apply a stamp to a document, follow these steps:

  1. Open the appropriate workspace depending on the entity type that contains the document you want to stamp:
    1.1. To apply a stamp to a document on a document form, in the navigation panel, select the Documents 1 workspace, then select the Documents 2 shortcut.

    1.2. To apply a stamp to a document on a task form, in the navigation panel, select the Tasks 1 workspace, then select the All Tasks 2 shortcut.

  2. Select the required task or document.

  3. Find the file attribute that contains the document you want to stamp, then select the icon.

  4. Specify the stamp position in the document 1, then select the Apply 2 button.

    Note:

    The Position window will only appear if the Allow user to change toggle was enabled when configuring the stamp in the file attribute.

  5. In the Preview window, you will see the document with the stamp applied. Select the Save button to save the result.

2.7.6.5.2. Using the Events Feature

  1. In the navigation panel, select the Studio 1 workspace.

  2. Select the Document Types 2 shortcut, then select the required document type 3.

  3. Go to the Events 1 tab, then select Add handler 2.

  4. In the Event 1 field, select from the list the event after which the stamp will be applied automatically.

  5. In the Handler type 2 field, select Stamp on document.

  6. Fill in the remaining fields 1 using the hints in the table below, then select the Add 2 button.

The stamp will now be applied to the document automatically when the selected event occurs.

FieldDescription
Stamp templateSelect the stamp template you want to apply to the document.
Blank templateSelect the blank template to which you want to move the document content.
Allow user to changeEnable this toggle if you want to allow the user to change the stamp template and its position before applying the stamp.
SourceFrom the list, select the source from which the platform should take the document to stamp. If the form has multiple file-type attributes, you can select one of them as the source for stamping.
Alternatively, you can select Self — the document to be stamped is taken from the current form (the document form you are working in).
Save conditionsFrom the list, select one of the conditions for handling a signature in the file:
  • If original is missing, move to original — for PDF files. Allows saving the stamped document as the document image without creating a version.
  • If signed, save as new version without warning — save the original file as a version without user confirmation.
  • If signed, do not save — cancel saving the stamped file if the original file is signed.
  • If signed, show error — show an error if the original file is signed.
DestinationFrom the list, select where to save the stamped file:
  • Self — the stamped document will be saved in the same attribute where the stamp was applied.
  • Other file-type attributes placed on the form of this document type or task form.
  1. In the toolbar, select Save.

2.7.6.5.3. Using Scripts

  1. If you want to activate a stamp for a specific document type, go to the Document Types 2 shortcut > the required document type > Constructor tab 3.

Or

  1. If you want to activate a stamp for a specific task form, go to the Forms and Templates 2 shortcut group > Task Forms 3 shortcut > the required task form > Form tab 4.

  2. On the form, select or add one of the following attribute types:

    Note:

    Stamps can be applied to attachments in MS Word format (its PDF image) / PDF.

  3. In the attribute settings, go to the Stamp Templates section.

  4. Hover over Generate script 1, then select the action you want to activate 2. The required script will be copied to the clipboard.

  5. Switch to Script mode 1, then in the text field 2, paste the copied script.

  6. In the toolbar, select Save.