当前位置:网站首页>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 .
边栏推荐
- Pinda general permission system (day 7~day 8)
- MySQL判断执行条件为NULL时,返回0,出错问题解决 Incorrect parameter count in the call to native function ‘ISNULL‘,
- [cloud native | kubernetes] in depth understanding of deployment (VIII)
- Flutter 从零开始 005 图片及Icon
- Mysql中 begin..end使用遇到的坑
- Redis configuration files and new data types
- Commands for redis basic operations
- Four Misunderstandings of Internet Marketing
- MATLAB中polarplot函数使用
- Subtrate 源码追新导读-5月上旬: XCM 正式启用
猜你喜欢
Introduction to new features of ES6
Use of redis in projects
QT MSVC installation and commissioning
Redis - problèmes de cache
STM32 porting the fish component of RT thread Standard Edition
NoSQL - redis configuration and optimization
海思3559 sample解析:venc
Understanding and learning of MySQL indexing and optimization
Swagger2自动生成APi文档
“\“id\“ contains an invalid value“
随机推荐
Global capital market 101: Breit, one of the best investment targets for domestic high net worth people
Subtrate 源码追新导读-5月上旬: XCM 正式启用
立创 EDA #学习笔记10# | 常用连接器元器件识别 和 无源蜂鸣器驱动电路
各厂家rtsp地址格式如下:
Shutter start from zero 006 radio switches and checkboxes
Biological network analysis using deep learning
How to detect 3D line spectral confocal sensors in semiconductors
串行通信接口8250
Vscode select multiple words
Two batches of pure milk are unqualified? Michael responded that he was conducting a large-scale screening and sampling inspection of products
1020. number of enclaves
SuperMap iClient3D for WebGL 加载TMS瓦片
What are the applications of 3D visual inspection in production flow
How difficult is data governance and data innovation?
Map集合
DMA controller 8237a
How to use the plug-in mechanism to gracefully encapsulate your request hook
两批次纯牛奶不合格?麦趣尔回应:正对产品大批量排查抽检
1175. prime number arrangement: application of multiplication principle
Grep match lookup