Note:
This guide is intended to provide enterprises with a code-free access experience.
1. Roles and permissions
1.1. User type
Super admin
Description: The highest level of permissions, with only one super admin allowed.
Permissions: Full access to platform management, team management, user management, operations management, and monitoring modules. Read-only access to app and mini program management modules.
Platform admin
Description: Created by the super admin (multiple allowed), equivalent to the management level within the enterprise.
Permissions: Inherits super admin permissions.
Member
Overview: Created by the super admin, platform admin, or team admin, or can self-register.
Permissions: Can modify user information and password if not in a team. Gains team-specific permissions after joining.
1.2. Preset team roles
TCMPP provides preset roles, including team admin, member admin, developer, operator, and approver, to meet actual business control needs.
App team roles and permissions
|
Team member management | ✓ | ✓ | - | - | - | - |
App management | ✓ | - | ✓ | - | - | - |
App integration | ✓ | - | ✓ | ✓ | - | - |
Mini program release approval | ✓ | - | - | - | - | ✓ |
Sensitive API management | ✓ | - | ✓ | - | - | - |
Sensitive API call approval | ✓ | - | - | - | - | ✓ |
Data dashboard | ✓ | - | ✓ | - | ✓ | - |
User feedback | ✓ | - | ✓ | ✓ | ✓ | - |
User complaints | ✓ | - | - | - | ✓ | - |
App team roles:
App admin: The only admin with full permissions for the app team.
App team member admin: Responsible for managing app team members, with the permissions to modify team names, and manage team members and roles.
Senior app developer: Typically the technical leader of the app team, with permissions for management, development, viewing operational data, and monitoring data.
App developer: The developer of the app, with permissions for development and viewing user feedback and feedback logs.
App operator: Responsible for summarizing and analyzing user feedback and mini program data within the app, providing data support for product experience improvements.
Approver: Responsible for the approval process between mini programs and the app, including mini program release approval, sensitive API call approval, etc.
Mini program team roles and permissions
|
Team member management | ✓ | ✓ | - | - | - | - |
Mini program management | ✓ | - | ✓ | - | - | - |
Mini program development configuration | ✓ | - | ✓ | - | - | - |
Real-time logs | ✓ | - | ✓ | ✓ | - | - |
Mini program development and IDE usage | ✓ | - | ✓ | ✓ | - | - |
Mini program experience | ✓ | - | ✓ | ✓ | ✓ | ✓ |
Submit the mini program for approval | ✓ | - | ✓ | - | - | ✓ |
Mini program release | ✓ | - | ✓ | - | - | - |
Data dashboard | ✓ | - | ✓ | ✓ | ✓ | - |
User feedback | ✓ | - | ✓ | ✓ | ✓ | - |
Mini program team roles:
Mini program team admin: The only admin with full permissions for the mini program team.
Mini program team member admin: Responsible for managing mini program team members, with the permissions to modify team names, and manage team members and roles.
Senior mini program developer: Typically the technical leader of the mini program team, with permissions for management, development, IDE, viewing operational data.
Mini program developer: The developer of the app, with permissions for development, IDE and viewing user feedback and feedback logs.
Mini program operator: Responsible for summarizing and analyzing user feedback and mini program data, providing data support for product experience improvements.
Mini program release approver: Responsible for the approval process between the mini program and apps, including experiencing the mini program, approving the mini program release, and releasing the mini program, etc.
1.3 Role relationship diagram
2. Integration process
TCMPP provides enterprises with the technical capabilities for developing, testing, releasing, operating, and integrating mini programs into host applications. The diagram below illustrates the entire process from activating TCMPP to releasing the mini program within the host application.
The following is a quick start guide for TCMPP.
3. User and team management
3.1. Preparations
After purchasing a TCMPP plan, please go to Plan management to create a super admin account. Once the super admin account is created, the system will generate a login link for the TCMPP console. Log in to the console with the super admin account. 3.2. User management
Super admin and platform admin can go to User management > User list in the left menu of the console, and click Creates user to create a sub-account. To create a new user, you need to fill in or select the following information:
Username: Used for internal identification and search within the platform.
Login account: The account the user will use to log in.
Login password: The password the user will use to log in. This can be auto-generated by the platform or manually entered by the admin.
Account type: You can designate the user as either a platform admin or a member. Platform admins cannot join a team or inherit super admin permissions; members can join teams later and gain permissions based on their team roles.
3.3 Team management
Teams in the mini program platform help organize and manage groups of users, mini programs, and apps. Enterprises can use teams to efficiently manage personnel and resources across different business lines.
Data will be isolated between different teams, but mini program across teams can be associated with apps. When a team is deleted, the enterprise super admin can also transfer the team resources to another team. Both super admins and platform admins can create, edit, and delete teams.
Members can join teams to gain role-based access to resources. Super admins, platform admins, and team admins can manage team members by adding existing members or creating new ones.
Team creation
In the left menu of the console, click Team management > Team list and then, click Create team to add a new team.
Team name: Used for internal display.
Set team admin: You can select one member to serve as a team admin. A member can serve as a team admin for multiple teams at the same time. Super admins and platform admins cannot join a team or serve as team admins. If there are no other members on the current platform, we also provide you with a quick entry to create a new user here.
Team permissions: Assign permissions to the team. Teams with mini program management permissions can create and manage mini programs, while those with app management permissions can manage applications. Team type cannot be changed after creation.
4. App team management
4.1. App team member management
App admins and app team member admins can manage team members. Click Team management > Member management in the left menu of the console, and click Create member to create a new member and add the member to the team. Users created in this way can only be members. Admins still need to fill in the username, login account and password, team name, and role.
4.2. App creation and SDK integration
1. Administrators and senior app developers can create an app on the app homepage. In the first step, fill in the basic app information, including your iOS Bundle IDcom.tencent.tmf.applet.db
, or Android Package Name com.tencent.tcmpp.demo
.
Note:
Please replace the Bundle ID and Package Name with your own Bundle ID and Package Name.
2. Click Next step, integrate the mini program container. After integrating the mini program container, a configuration file will be available for download. This file is essential for later steps, so be sure to save it. You can also retrieve it from Application Details.
4.3. Mini program release approval
Note:
Releasing a new mini program version requires approval from the app admin and approvers.
After the mini program team submits the mini program for approval, the app team admin or approver will receive the approval notice in Mini program approval - Pending and confirm the approval.
After approval, the mini program team also needs to release the mini program in Mini program management - Version management.
5. Mini program team management
5.1. Mini program team member management
Mini program team and member admins can manage team members.Click Team management > Member management in the left menu of the console, and click Create member to create a new member and add the member to the team. Users created in this way can only be members. Admins still need to fill in the username, login account and password, team name, and role.
5.2. Mini program creation
1. The mini program team admin can go to mini program homepage, click Create mini program and configure the required information.
2. Click Next to download the latest IDE version on demand in the console, or click the following link to download.
3. Open the IDE installation file TCMPP-Devtools_x64.exe and click the desktop icon to enter the IDE login page.
5.3. Mini program code upload
1. After completing the steps of integrating the application, creating the mini program, and binding the mini program to the app, developers can create a new project in the IDE (note that AppID here is the mini program ID, and you can drop down to select the mini program that has been created in the console without manual input).
2. After entering the IDE editor, you can directly upload the mini program.
3. Once uploaded, developers can submit the version for approval in Version management.
5.4. Mini program release
After approval, in Version management, a prompt will appear to let you know the new version can be released. Personnel with release permissions can then proceed with the release.
6. Mini program preview on real device (Important)
Enterprise developers can download the official demo provided by TCMPP, compile and install it using the configuration files mentioned in the App creation section, and then preview the mini program. 6.1. Android
1. Replace the configuration file in the project with those downloaded in section 4.2 Download the configuration file in . 2. Replace the built-in mini program list with the bound mini program IDs for quick access in the DemoApp.
3. Run DemoApp on a real device, scan the code, search or open the built-in mini program.
6.2. iOS
Note:
Ensure the BundleID matches the one configured earlier.
1. Replace the configuration file in the project with those downloaded in section 4.2 2. Replace the built-in mini program list with the bound mini program IDs for quick access in the DemoApp.
3. Run DemoApp on a real device, scan the code, search or open the built-in mini program.
Was this page helpful?