Open main menu

TaticView β

Changes

Automate Update data

572 bytes added, 1 October
no edit summary
<!--T:2-->
With TaticView, you can automate the update of your [[Data_SourcesDatasource|Data Files]].
<!--T:3-->
<!--T:38-->
<span style="color: red;">'''Important:'''</span>
* To use TVCli, the computer where it will be configured must have java from version <i>8</i> installed. If you use a Java minor version the message "Unsupported major.minor version 52.0" will be showed, see [[Java JRE install and troubleshooting]] for help.
* A notification will be displayed to the user if an error occurred during the data update.
* A log with the execution details will be generated in the user's settings folder (Example: <i>C:\Users\<user>\AppData\Local\TVCli\Logs</i>).
=== Installing TVCli === <!--T:5-->
 
==== Download and install ==== <!--T:66-->
<!--T:65-->
For now, we have only a user friendly installer for Windows. If you need install TVCli in other platforms, please contact us at <u>[https://support.sadigtaticview.comSupport]</u>. We are glad to to help you to install it in you environment.
<!--T:6-->
* '''Download the Windows installer''' from https://wiki.taticview.com/taticfiles/tvcli-windows-installer.exe.[[TVCli Download|latest version]]
<!--T:51-->
To install and execute TVCli on you computer we need Java JRE version 1.8.0_200 or newer installed.<br/>
On [[Java JRE install and troubleshooting]] we can help you in case of doubts.
 
 
==== Firewall configurations ==== <!--T:67-->
 
<!--T:68-->
As TVCli connects to TaticView servers through Internet network, in some environments TVCli properly execution, could be blocked by Firewalls and Proxies.
In order to allow TVCli to work as desired, it may be necessary to configure the network security software to allow TVCli to TaticView server connections.
TVCli connect through standard HTTPS protocol to servers, so connections to 'server ''app.taticview.com''', port '''443''' need to be opened.
=== Generating the Access TOKEN === <!--T:8-->
<!--T:13-->
-cmd - get_token_by_password - The command responsible for requesting and storing the Access TOKEN on the TVCli settings.
-user - Your TaticView user (access e-mailemail).
-password - Your TaticView access password.
-token_name (optional) - The name you want to set to your Access TOKEN. The default name '''TaticView CLI''' will be set if you do not specify a name.
<!--T:17-->
-cmd - store_token - The command responsible for storing the TOKENS generated on TaticView.
-user - Your TaticView user (access e-mailemail).
-token - The token generated on TaticView.
<!--T:24-->
Command Syntax:
'''tvcli -cmd import_file -user <your TaticView user> -datamart <data file identification code> -file "<file/spreadsheet address>" [-type "<type>"] [-wait [-notifyshare]] [-nonotifyerror]
'''
<!--T:25-->
-cmd - import_file - Command that uploads your files and add them to the update queue.
-user - Your TaticView user (access e-mailemail).
-datamart - The identification code of the data file obtained through the properties option on the TaticView main page.
-file - The address of the text (CSV) or spreadsheet (XLSX, XLS, XLSM) data file that will be updated. You can use mapped drives (Ex.: C:\, D:\) or UNC address (Ex.: \\server\folder\file).