Share features

Before mini programs can use a feature, permissions must be granted. If the All mini programs can view this feature setting of the feature is disabled, you must manually share the feature with mini programs to grant the permissions.

This topic describes how to share a feature with mini programs on the Mini Program platform.

Prerequisites

Only workspace admins can share features with mini programs.

Procedure

To share a feature, perform the following steps:

  1. Log in to Mini Program Platform.
  2. In the left navigation panel, click Features to navigate to the Features page.
  3. On the Features page, find the feature that you want to share with mini programs.
  4. Click the name of the feature to navigate to the Feature Details page.
  5. On the Feature Details page, click the Who will be able to view this tab.
  6. Click Share with.

image.png

Figure 1. Share a feature

  1. Select one or more mini programs in the left column and click image.png to add the mini programs.

image.png

Figure 2. Add mini programs

Note: To stop sharing the feature to a mini program, select the mini program in the right column and click image.png.

  1. Click Confirm.

After the feature is shared with a mini program, developers of the mini program can add the feature to the mini program. For more information, see Add features.

More information