Managing the Mini Program Template Library

View Markdown

Last edited on 2026-06-30

The path for third-party development of Mini Program is illustrated in the figure below. After submitting code to the draft box, it must be added to the template library before code submission can proceed. The Mini Program template library is used to store the Mini Program code developed by developers. If submitting code using the directCommit mode, the template library is not required. For details, refer to the Third-Party Mini Program Development Modes.

Limitations

  1. The storage limit for the Mini Program template library is 200 templates.

  2. Standard templates rely on the Transaction Component, which has been discontinued. Therefore, it is recommended that developers use regular templates (standard templates can no longer be used). The platform will also discontinue standard templates in the near future.

Related APIs

API Description
Get List of Code Drafts Retrieves the list of code drafts in the current draft box
Add Draft to Code Template Library Adds a draft from the draft box to the code template library
Get List of Code Templates Retrieves the list of code templates under the current account
Delete Specific Code Template Deletes a specified template from the code template library