APIs Custom Code and Third-party Libraries Support
By default, custom code for APIs does not support importing third-party libraries. The custom code includes built-in standard Node.js libraries as well as node-fetch, request, @cloudbase/node-sdk, and their related dependency libraries. These built-in libraries can be referenced via require and used in the code.
Can a WeDa application be recovered after accidental deletion?
If a WeDa application is accidentally deleted, it can be recovered. To recover the application, you need to provide the following information and contact the Cloud Development Assistant for support:
Can the Trial Edition or Team Edition use the cloud database (MySQL type)?
In the Cloud Development Platform - Cloud Database - Data Model, all edition plans can use the cloud database (MySQL type).
Cause of Error in Cloud Function: errMsg: urlscheme.generate:fail env status is isolated
The complete error message is as follows16 Uncaught (in promise) Error -1 | errMsgfail Error -504002 functions execute fail | errMsg errCode urlscheme.generate https://tcb.cloud.tencent.com/cloud-admin#/copilot?q=INVALID_ENV
Getting the Mini Program Configuration File in WeDa
On the Cloud Development platform interface, click the Code Editor in the bottom navigation bar to go to the local code editing page. For details, please refer to How to Modify the Mini Program Global Configuration File in WeDa
How are cloud storage and database deletions synchronized in Cloud Development?
In Cloud Development, if you encounter the situation where image files in cloud storage remain preserved after deleting database data, the common practice is to store the corresponding cloud storage file ID along with the data. This allows you to delete the associated cloud storage files simultaneously when deleting the database records.
How to Develop an AI Mini Program
Cloud Development AI+ provides the capability to build AI Mini Programs. Below are the steps and reference resources for developing an AI Mini Program:
How to Generate an Admin Console Based on a Data Model
Go to the Cloud Development Platform, navigate to Cloud Database - Data Model, select the required model, click the Generate Application button in the upper right corner, and you will be redirected to the Visual Development Editor. There, you can generate different types of admin backend applications based on various scenarios (CRUD, list, form addition, graphic card, graphic list, standard list).
How to Include npm Dependencies When Publishing a Custom Component?
While developing custom components and using npm packages, these dependencies are automatically packaged and uploaded to the Cloud Development platform when you execute the tcb lowcode publish command to deploy the component library. You do not need to perform any special manual operations to ensure npm packages are included.
How to Modify the Storage Time Zone in Cloud Development Database
The Cloud Development Database has no concept of time zones and stores data in the form of timestamps. You can use server-side time.
Setting Access Permissions for Asset Library
Asset Library does not support directly setting access permissions.
What does "env status is isolated" mean?
The environment status showing as "Isolated" (isolated) typically indicates that your Cloud Development environment has been quarantined due to certain reasons. This may be caused by environment expiration, account arrears, or other factors. To resolve this issue, you need to:
What level of security protection can Cloud Development provide?
Cloud Development provides Tencent Cloud's basic DDoS protection capability. See details at [https://cloud.tencent.com/document/product/1020/31625]
Where is the marketing tool in the Content Management of WeChat Mini Program Cloud Development?
Currently, the marketing tool in the Content Management of WeChat Mini Program Cloud Development is undergoing a revamp and is expected to be relaunched in the near future. During this period, you may not be able to access the marketing tool directly. We understand that this may cause inconvenience and sincerely appreciate your understanding and support.