Help Center/
Huawei Cloud Astro Zero/
FAQs/
Application Frontend Development/
What Should I Do If the Modified JavaScript File Is Not Working in an Advanced Page Custom Widget?
Updated on 2025-08-14 GMT+08:00
What Should I Do If the Modified JavaScript File Is Not Working in an Advanced Page Custom Widget?
Description
After the JavaScript file of a custom widget is modified, the modification does not take effect.
Solution
After uploading a new version of a custom widget, upgrade the plugin via the page settings. The JavaScript file will only take effect after this upgrade.
- Log in to the application designer by referring to Logging In to the Application Designer.
- In the navigation pane, choose Page and choose More > Page Setting.
- On the Plugins tab, find the widget to update and click
on its right to open the widget details page.
- Click Upgrade to open the widget upgrade page.
Figure 1 Clicking the upgrade button
- Upload the local widget ZIP package and click Upgrade.
- Return to the plugin list page and click
next to the uploaded widget to complete the upgrade.
Parent topic: Application Frontend Development
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot