当前位置:网站首页>Reading the table data of Tencent documents in the applet
Reading the table data of Tencent documents in the applet
2022-06-30 12:34:00 【Low code preacher】
Catalog
In daily life, we use Tencent documents to collect all kinds of data online , Data collection is more convenient , However, it is inconvenient to maintain the data or conduct subsequent statistical analysis . This article introduces how to use the micro build low code tool to access the data of Tencent documents , Realize the online data management function .
1 Create a connector
If you want to access the function of Tencent documents , You need to create a connector . Open the micro build console , Click new connector 
Select Tencent document 
And then authorize 
Enter the name and identification of the connector , Click start new 
After the connector is established, various interfaces of Tencent documents will be automatically generated 
2 Create Tencent documents
Because we want to access Tencent documents , So you need to make a spreadsheet online first , And fill in the data 

Our interface depends on the unique identification of the spreadsheet , We can click the share button , Share via link , And copy out the address , The address of my document is as follows
https://***/sheet/DWkxMSFlkU1l2YkRo
there sheet The following content is the unique identification of your document , My is DWkxMSFlkU1l2YkRo
It should be noted that when sharing, you need to select all permissions to view , Otherwise, the interface cannot obtain data
3 Access Tencent documents in the application
3.1 obtain sheet All data in
In our application, we use variables to obtain various interfaces of Tencent documents , Click variables , Create a model variable , Select Tencent document data source , Method select to get the information of all worksheets , The unique ID of the document is passed into the ID we obtained above 
After adding variables, we can use ordinary containers and list item components to display the obtained data , It can be displayed in a general container binding loop 

Loop show after binding , We can bind specific fields to the list item component from the loop object 

Here's what we need to pay attention to sheetID You need to use... When retrieving each row of data ,rowCount and columnCount It needs to be used when obtaining specific data .
3.2 Iterate over row and column data
Up there we pass api To get sheetID, With the documentation ID and sheetID We can get the data of each row and column . Define a model variable , Select Tencent document , Select the method to get the text content of the cell in the specified row , Fill in the specific input parameters 
Because it returns a binary array , So we need nesting to show , The result returned by the outer container binding 

In the inner container, we bind the specific values inside 

In this way, the data of our table is displayed , The fly in the ointment is that the date data of Tencent documents cannot be output as is , It also needs to be handled in the program .
4 summary
This article introduces how to access the table data of Tencent documents through connectors in low code , After reading the data, we can sort it out and store it in the database , Next, we will introduce how to store the data in Tencent documents into the database to realize the function of batch import , Coming soon .
边栏推荐
- Conference Preview - Huawei 2012 lab global software technology summit - European session
- 各厂家rtsp地址格式如下:
- Essay: Research on smart home scheme
- Getting started with the go language is simple: go handles XML files
- Generate entity classes from SQL Server database tables through EF core framework
- Browser plays RTSP video based on nodejs
- 60 divine vs Code plug-ins!!
- Pinda general permission system (day 7~day 8)
- "Xiaodeng" user personal data management in operation and maintenance
- SuperMap 3D SDKs_ Unity plug-in development - connect data services for SQL queries
猜你喜欢

SuperMap 3D SDKs_Unity插件开发——连接数据服务进行SQL查询

Map collection

Redis6学习笔记-第二章-Redis6的基本操作

MySQL索引和优化的理解学习

Hannaiping of Qilin software: the construction of Digital China needs its own open source root community

Map集合

Browser plays RTSP video based on nodejs

Redis installation on Linux system

【LeetCode】15、三数之和
![Remove invalid parentheses [simulate stack with array]](/img/df/0a2ae5ae40adb833d52b2dddea291b.png)
Remove invalid parentheses [simulate stack with array]
随机推荐
Time function and clock_ Differences between gettime() functions
Instructions for legend use in SuperMap iclient3d 11i for cesium 3D scene
【目标跟踪】|pytracking 配置 win 编译prroi_pool.pyd
JMeter性能测试之相关术语及性能测试通过标准
8253 counter introduction
Introduction to sub source code updating: mid May: uniques NFT module and nomination pool
Essay: Research on smart home scheme
[bug solution] fiftyone reports attributeerror: module 'CV2' has no attribute 'GAPI_ wip_ gst_ Gstreamerpipeline 'error resolution
A review of quantum neural networks 2022 for generating learning tasks
海思3559 sample解析:venc
SuperMap 3D SDKs_Unity插件开发——连接数据服务进行SQL查询
[leetcode] 15. Sum of three numbers
1175. prime number arrangement: application of multiplication principle
Redis的基本操作的命令
How difficult is data governance and data innovation?
Idea has a new artifact, a set of code to adapt to multiple terminals!
Solve the problem that the server cannot be connected via SSH during reinstallation
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matchin问题
21. Notes on WPF binding
Introduction to new features of ES6