Data source is an important ability of micro-matching code. Through the design of data source model and data binding of page components, data storage and use in various applications can be realized quickly.
At present, Weitai has supported two data source construction methods: self-built data source (use the database provided by Tencent Cloud Weitai code to store data) and external data source (use the existing data source of the third party to integrate into Tencent Cloud Weitai code platform).
See the documentation: cloud.tencent.com/document/pr…
Microbuild now supports self-building data sources through Excel. Users can upload Excel files to automatically complete the creation of data source model and data import. After creation, the data source can be directly associated with the application editor to automatically complete the generation of forms.
Operation guide
- Go to “Data Source Management” in the Microlow code console
- Click New Data Source -> Self-created Data source, select “Excel Import”, fill in data source information, check the file upload requirements, and select Excel file to upload.
Note: The header field name must start with English, and the entire field can contain only English, digits, and underscores. See the sample template.
- After uploading the data as required, confirm again whether the data information is incorrect.
After confirmation, you can enter the detailed configuration page of the data source, set the data source method, etc., and the establishment of this data source is completed.
You can set a method to use the data source. You can set multiple methods to suit different scenarios. Add, delete, and update methods are configured by default, which can meet most scenarios. If you need custom methods, you can write them through the methods of cloud functions or local functions.
- The form can be generated directly from this data source based on the Excel import
For example, drag and drop a form container in the editor and select the imported data source, and a form is generated in less than 10 seconds, as shown below.
At the same time, also support the use of the built-in content management system, view just imported data and fill in the form data details, convenient and quick!
Micro immediate experience a low code: console.cloud.tencent.com/lowcode