Creating a connection to Yandex Documents
To create a connection to Yandex Documents:
-
Open the connection creation page
. -
Under Files and services, select the Yandex Documents connection.
-
Add files depending on access permissions:
PublicPrivate-
Click Add file and navigate to the
Publictab. -
Go to the service
page. -
Right-click the required file and select Share. Click Copy.
Note
You can also get a link to the file in Yandex Disk. For more information, see this guide
. -
In DataLens, paste the link into the
Link to file in Yandex Documentsfield and click Add. -
If the file you are uploading contains several sheets, specify the ones you want to upload, or select all available. Each sheet is uploaded to a separate table.
-
Click Add. Information about this file and the data to upload will appear at the center of the screen.
Note
Adding password-protected private files is not supported.
-
On the connection page in DataLens, click Add file and navigate to the
Privatetab. -
On the tab, you will see a Yandex Documents authorization message. If authorized, proceed to the next step. If not, complete authorization:
- Click Log in.
- Select a Yandex account to log in to Yandex Documents.
- Allow DataLens to access your Yandex account. Click Next.
-
Specify the Path to file in Yandex Documents relative to the root directory. Omit
/diskat the beginning. You can view the file location in Yandex Documents: open the file and go to File → Table details. -
Click Add.
-
If the file you are uploading contains several sheets, specify the ones you want to upload, or select all available. Each sheet is uploaded to a separate table.
-
Click Add. Information about this file and the data to upload will appear at the center of the screen.
To log out of your Yandex account, open the connection page and click
next to the You are authorized in Yandex Documents button. Confirm token revocation. The sheets from the files with restricted access will no longer be displayed.
-
-
Set the Show column headers option to Yes or No.
-
Optionally, enable automatic updates for spreadsheet data. To do this, in the top-right corner, select Update automatically. Spreadsheet data will be updated every 30 minutes or less often. To update your data manually, click Update data.
-
Click Create connection.
-
Select the workbook to save your connection to or create a new one. If using legacy folder navigation, select a folder to save the connection to. Click Create.
-
Enter a name for the connection and click Create.
You can add, rename, and delete files in the connection.
Additional settings
You can limit data export from charts based on this connection. To do this, click
Limitations
Consider the following limitations when creating a connection to Yandex Documents:
- Currently, you can only upload
xlsxfiles. - Maximum number of table sheets per connection: 10. When creating a connection, all sheets will be loaded, but you can only select ten of them to work with at the same time.
- Maximum size per sheet: 200 MB.
- Maximum number of columns per sheet: 300.
- Minimum number of rows per spreadsheet: 2. In a spreadsheet with one row, you cannot identify column types as you cannot tell a header from a data row.
- The link to the file in Yandex Documents must be formatted as
https://disk.yandex.ru/i/id. If the link contains/dinstead of/i, you will get an error. What to do in case of the Invalid link format error