This article uses the village collective procurement scenario in a county-town-village organization to show how to publish an app to upper and lower-level organizations.
Prerequisites
Complete the following before you start:
- Enable upper and lower-level organizations. For details, see Introduction to Upper and Lower-Level Organizations.
- Prepare a developed app. For details, see Create an App.
Step 1: Build an App in the Upper-Level Organization That Supports Upper and Lower-Level Organizations
- In the app’s contact settings, add a contact configuration.
For details, see Contact management.
Assign a contact for each department.
- On the app’s workflow design page, set the approver for the county approval step.
Simple workflow designer overview: approver
Premium workflow designer overview: Introduction to premium workflow design
Two groups of users can access the app:
(1) Users in the upper and lower-level organizations
(2) Industry contacts (for example, villagers in a county industry, or students and parents in the education industry)
Under App settings > App member settings, use the toggle to control whether industry contacts can access the app.
Industry Contacts
Step 3: Install the App to Lower-Level Organizations
- The upper-level organization distributes the app to the workbench of lower-level organizations
Once upper and lower-level organizations are enabled, the app distribution button becomes available.
Path: YiDA App > App publishing > App distribution to upper and lower-level organizations
- Automatically install to the workbench of upper and lower-level organizations
If you select automatic installation, the app is installed to the workbench automatically after distribution. Otherwise, a notification is sent during distribution to confirm whether to install the app to the workbench.
When calling a connector in upper and lower-level organizations, the development team must add it to the allowlist manually.
Step 4: Users in Upper and Lower-Level Organizations Access the App
The app appears on the DingTalk mobile workbench of the lower-level organization. Users in the upper and lower-level organizations, along with industry contacts, can open the form and submit requests.
Village and town approvers (contacts) and the county approver receive approval tasks through DingTalk notifications and the YiDA task center, then complete the approval. When the approval ends, the initiator receives an approval completion notification. (The steps match existing YiDA features.)
Message notifications
Process task center
Step 5: The Upper-Level Organization Views Data
The upper-level organization can view all data submitted by every user under Data Management in the App Management console.