Products

更新时间:
复制 MD 格式

On the project details page in IoT Studio, you can view your products and their details, create products, edit basic product information, and delete products.

Background

Within the same IoT Platform account:

  • Products and devices in a project can be used only for web application development and business logic development within that project.

  • You can associate the same products and devices with different projects.

Limitations

When you associate a product with an IoT Studio project, a product tag is automatically added to the product details page.

Do not delete this product tag. If you delete the tag, the associated product is also removed from the project. This can cause data inconsistencies and disrupt your services. Proceed with caution.

View the product list

  1. In the list of standard projects, find the target project and click its card.

    You can also click Global-resource Project to open its project details page.

  2. On the project page, click Products in the left-side navigation pane.

    • If you have not created any products, the system prompts you to create a product.

    • If you have created products or associated products from the Device Management module in the IoT Platform console, the Products page displays a list of your products.

    Note

    On the Products page of a Global-resource Project, you can create products but cannot manually associate products from IoT Platform.

    After you create or associate a product, you can perform the following tasks.

    Task

    Actions

    Search for and view a product

    Enter a product name or select a product tag to search for a specific product, then click View.

    Unbind a product

    Click Unbind for the target product.

    Note
    • Currently, unbinding a product from a project and unbinding a device are independent actions.

    • You cannot unbind products from a Global-resource Project.

    Delete a product

    Click Delete for the target product.

    Important
    • You can delete a product only after all its devices are deleted. This action is irreversible. Proceed with caution.

    • Deleting a product from a project also deletes its related data from IoT Platform. This can cause data errors in your published applications. Proceed with caution.

    • You cannot delete gateway-type products.

    Manage devices of a product

    Click Manage Devices for the target product. For more information, see Devices.

Create a product

Products and devices that you create in a project appear directly in the Device Management module of IoT Platform.

  1. On the Products page, click Create Product in the upper-left corner of the product list.

  2. In the Create Product dialog box, configure the product information.

    For more information about the parameters, see Parameter reference.

  3. Click Save.

    After the product is created, its information, including the system-generated unique identifier ProductKey, appears in the product list on the Products page.

  4. Optional: Click View for the target product to open its details page. On the details page, you can view product details, define its TSL, and create devices.

    For more information about TSL and devices, see Define a TSL.

  5. On the product details page, click Publish in the upper-right corner.

  6. In the Confirm Product Publication dialog box, confirm each step, and then click Publish.

    After the product is published, its Status on the details page changes to Published. You can click Cancel Publication to unpublish it.

    Important

    After a product is published, all its information becomes immutable. This includes basic information, features (properties, services, and events), and extended information.

    For more information about products, see Create a product.

Associate products to a standard project

If you have already created a product in the Device Management module of IoT Platform, you can import it into a standard project for use by applications within that project.

  1. On the Products page, click Associate IoT Platform Product in the upper-left corner of the product list.

  2. In the Associate IoT Product panel, select the product you want to associate.

    Note
    • The product list contains all products from IoT Platform. Each product can be associated with multiple projects (up to 100).

    • Products that are already imported are marked with a grayed-out check mark and cannot be selected.

  3. Optional: Select the Associate All Devices of the Product checkbox.

    Note

    If you do not need to associate all devices of the product at this time, skip this step. For more information about associating devices, see Associate a device with a standard project.

  4. Click OK.

    You can view the associated product in the product list on the Products page of the project.

Next steps

On the Devices page of the project, add a device for the product, generate its device credential, and proceed with production line programming or mass production. For more information, see Devices.