The latest ONLYOFFICE Docs 8.2 version has been released with many new features and improvements, one of which automatically update is field codes in text documents. Read this article to learn more about this feature and how to use it in ONLYOFFICE document editors.
What is a field code and when to use it ?
Field codes are dynamic placeholders that automatically insert content into a Word document based on specific conditions. They are especially useful when you need to add information that changes over time, such as page numbers, dates, hyperlinks, or data from an external data source (such as a database).
In short, if you want a automatically update document to always display the current date when you write it, without having to enter it manually every time, you can insert a field code to automatically get the current date and insert it into the document. Every time you open or update the document, the date will be automatically updated to the latest date without any operation on your part.
This feature helps you save time and make your documents smarter
Without having to add information manually.
Field codes in ONLYOFFICE
ONLYOFFICE document editors support a variety of field codes, each with specific functionality. Here are some commonly used field codes along with their syntax and command parameters (optional parameters that modify the behavior of a field):
1. MERGEFIELD
You can link data from automatically update an external data source, such as a database or CSV file, to the current document. During the mail merge process, the contents of the external data source replace the field codes.
Command parameters
Insert text before netherlands whatsapp number data the field if it is not empty.
Insert text after the field if it is not empty.
Marks the field as a mapped field.
Enable vertical formatting.
2. PAGENUM (page number)
This field inserts the automatically update current page number.
Syntax : { PAGENUM }
3. PAGECOUNT (page count)
Insert the total number of pages in the current document.
Syntax : { PAGECOUNT
4.TOC (Table of Contents
This field creates a table of automatically update contents based on the heading styles, outline levels, or headings in the document.
Syntax: { TOC [Switches] }
Command parameters:
Limits the table recent mobile phone number affiliate marketing automatically update of contents to the bookmarked section of the document.
Applies hyperlink formatting.
Use a custom style instead of the default heading style.
Creates a table agb directory of contents based on the document structure level, ignoring custom TC fields.