Upload a component package and a screenshot
Updated at:
Copy as MD
After you develop and package a local component, you must upload the component ZIP file to IoT Studio. This topic describes the operations for packaging and building the component project package in IoT Studio.
Prerequisites
You have packaged the component project files. For more information, see Package local project files.Procedure
- On the Component Development page, in the workflow on the left, under Upload ZIP package, click Click to upload.
- Select the local component ZIP file and click Open.
IoT Studio starts to build the component.Note If the build fails, check the build log to determine the cause. After you fix the issue, upload the file again.
- Preview the component and save a screenshot of the preview locally.
Click Preview Component or Preview in the upper-right corner of the page to check whether the component is displayed as expected.
Alternatively, on the component list page, find the target component and click Preview in the Actions column.
- Upload the preview screenshot.
Note The uploaded preview image lets you quickly identify the component in IoT Studio.
- On the Component Development page, in the workflow on the left, under Upload component screenshot, click Upload image.
- Select the saved preview image and click Open.
What to do next
Edit a componentIs this page helpful?