Bridge Templates
A bridge connects the frontend and backend data. When you develop a frontend page, you may need to retrieve backend data such as user IDs, order IDs, and information of products in the shopping cart. In this case, you can use a bridge, which calls backend APIs to obtain data from the backend. You can customize bridges using the preset bridge template. Before customizing a bridge, you need to download the bridge template and interconnect and reconstruct the bridge data based on the data structure of the widget. For details about how to customize a bridge, see Custom Bridges.
Viewing the Bridge Template
- Log in to Huawei Cloud Astro Canvas by referring to Logging In to Huawei Cloud Astro Canvas.
- On the main menu, click Resource Management in the upper right corner of the page.
- In the navigation pane, choose Page Assets > Bridge Templates.
- View the preset bridge template bridgeBasicTemplate.
- Click the template and view its details.
Downloading the Bridge Template
- Log in to Huawei Cloud Astro Canvas by referring to Logging In to Huawei Cloud Astro Canvas.
- On the main menu, click Resource Management in the upper right corner of the page.
- In the navigation pane, choose Page Assets > Bridge Templates.
- Click bridgeBasicTemplate to go to the details page.
- On the bridge template details page, click Download to download the template to the local PC.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot