Q1: Can the data be accessed by external websites?
A: Currently not supported.
Q2: Does the Microtop support calling external interfaces?
A: It can be implemented using external data source . Currently, it supports HTTP request and cloud function (custom code). For details, please refer Data source custom method .
Q3: Does the self-built data source support being called by external services?
A: Currently, there is no direct OPEN API for self-built data sources for external service calls. However, the self-built data source data is stored in the database of Cloud Development . Developers can refer to the following steps to obtain data by reading the database:
1. In the cloud development console according to the environment ID find the corresponding cloud development environment of Weida;
2. Find the corresponding database name in the basic service > database ;
3. Call the database API in the following ways:
- NodeJS: Use cloud development NodeJS SDK operate the database.
- HTTP: Use cloud development OPEN API operate the database.
Q4: Can I upload multiple data source images?
A: In the field setting page, you can upload multiple pictures by setting the corresponding parameters as shown in the figure below.
Q5: How to create a data table after the data source is created?
A: The internal data source will automatically generate a data table, and the data source corresponds to the data table, and the data source field is the header in the data table.
Q6: Can an application be associated with N data sources?
A: An application can associate with N data sources.
Q7: I want to display the four pieces of data of the data source on two pages, how to do it?
A: Both pages create model variables, bind the data source, and use the getList method of the data source to implement.
Q8: An error is reported when calling the data source method, indicating that the calling method failed, internal error, and operation failed?
A: Check whether there is any problem with the submitted data. Configuration fields and types need to be selected correctly.
Q9: Can the default query single entry of the data source and the input parameters of the update method be changed?
A: At present, the variable used in the official custom application to bind or model application will automatically format the time. For details, please refer source custom method .
Q10: Can the default query single entry of the data source and the input parameters of the update method be changed?
A: Each data source has six default methods. These methods cannot be modified, but you can create new custom methods based on the default methods for modification and reference.
Q11: How to write the fuzzy query of the micro data source? How to write multiple data source fuzzy queries?
A: The data source can be bound through the low-code editor. For more query operations, please refer query command .
Q12: How to write a joint table query in Weida?
A: You can use the lookup function of the database in the custom method of the data source. For details, see Aggregate.lookup interface .
Q13: How to obtain data from multiple data tables in the data source, calculate it according to a certain formula, and then display it on the page?
A: Use the model variable to bind the getRecord method to query, the input parameter is the value of the input box, and then use the low-code editor to formulate the variable.
*Q14: How to write the data source to re-request?
A: You can call app.cloud.callDatasource in the low-code editor (equivalent to updating the variables of the data source).
Q15: The management data source prompts that the current page does not have any fields with editing rights?
A: The solution is to upgrade the user workbench version separately first.
Q16: Can custom data source changes trigger the workflow engine?
A: No, the workflow engine can only be triggered by the new function in the data model application.
Q17: How to import data in batches after the data source has been created?
A: If it is the first time to import, you can create and import data based on Excel. You can also use Excel to directly generate model applications and directly import data synchronously.
Q18: After creating a data source, the newly created data source cannot be seen in the data management background, and the data source cannot be imported?
A: At present, after the data source is created, it needs to be used by low-code applications. The application needs to be previewed or published before the corresponding application can be seen in the data management background. Click to see the corresponding data source.
Q19: How to preview the real data in the background on the application?
A: What you see in the editor preview area is the fake data of static data or dynamic data (data source). The real data needs to be previewed and published in the application, and then go to the data management background to configure the content in the data source management background, and you can see it dynamically on the application in real time:
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。