# Synchronize

Synchronize the records of local database with the remote database. With this action it is also possible send /receive files.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Type of synchronization** *\<radiobox> -* Defines the type of synchronization that the user wants to execute. There are several options for this parameter: *File Transfer with KDriver Synchronization*, *Online (GWAY)*, *File Import/Export*.
  * **File Transfer with KDriver Synchronization** - Export/Import Database to/from text files and synchronizes them with Server via KDriver. This will make the following operations:
    1. Export the selected tables data into a text file and put it in the device's **ToPDA** folder.
    2. Send any file in the device's **ToPDA** folder to the server's **ToPDA** folder of this terminal.
    3. Wait for MIS Communicator to execute KDriver to send the data file to the database and generate a new data file to send to the device.
    4. Receive any file in the server's **ToPC** folder into the device's **ToPC** folder.
    5. Import data file from the **ToPC** folder into the local database.
  * **Online (GWAY)** *-* Synchronizes the Database with Server in online mode, via direct connection to the database with MIS Communicator.
  * **File Import/Export** - Only Import/Export Database to/from text files. This is equivalent to option FileTransfer with KDriver Synchronization without making any communication with the server, this is step 1 and 5.
* **Communication Profile** *\<unquoted string> -* The name of the communication profile to use for the synchronization.
* **Hide Window** *\<radiobox> -* This parameter defines if the user want to hide the synchronization window or not.
* **ToPC** - Defines the tables to be exported from the local database to the Server Database.
  * **Table** *\<unquoted string> -* The name of the Database Table.
  * **Check Existance** *\<checkbox>* - This parameter defines if the user wants to check if the record exists on the database.
  * **Send** *\<checkbox>* - This parameter defines if the user wants to send the database table throw synchronization action.
* **ToPDA** - Defines the tables to imported from the server database into the local database.
  * **Kill** *\<checkbox> -* Defines if the user wants to delete all the table records before inserting the data.
  * **Apply Filter** *\<checkbox>* - Defines if the user wants to use the filter defined to the table.
  * **Receive** *\<checkbox>* - This parameter defines if the user wants to receive the table throw the synchronization action.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-communications/synchronize.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
