Develop a project from a solution

更新时间:
复制 MD 格式

In IoT Studio, you can create a project from a public, authorized, or your own solution. When a project is created from a solution, the applications, services, and product configurations in the solution are automatically copied to your new project. You can customize them and finish developing the project. Alternatively, you can create and develop a project manually from the solution content.

Step 1: Create the project

  1. Log in to the IoT Application Development Console. In the upper-left corner of the page, select your target instance. In the left navigation pane, click Solutions.
    • To create a project from a public solution, click Solution Market and go to Step 2.

      This page lists default system solutions and public solutions from other developers.

    • To create a project from a solution that you published, click My Solutions and go to Step 3.

      This page lists all the solutions that you have published, which are private to you.

    • To create a project from an authorized solution, click Authorized Solutions and go to Step 4.

      This page lists solutions that other developers have authorized you to use.

  2. Create a project from a public solution.
    1. On the Solution Market page, hover over the target solution and click Use.

      You can click Preview to view the solution details.

    2. In the Create project from solution dialog box, enter a project name and description, and select whether to create the sample products included in the solution.
      Note You can click n sample products to view the product details. If these products already exist in your IoT Platform instance, you do not need to create them again.
      In the Create project from solution dialog box, enter the Project name and Project description (up to 100 characters). Select whether to create the sample products (Create or Do not create) and click Confirm.
    3. Click Confirm.
  3. Create a project from a solution that you published.
    1. On the My Solutions page, find the target solution and click Use in the Actions column.
    2. In the Create project from solution dialog box, enter a project name and description as prompted, and then click Confirm.
      Note When you create a project from My Solutions, the related products are automatically associated with the project by default.
  4. Create a project from an authorized solution.
    1. On the Authorized Solutions page, find the target solution and click Use in the Actions column.
    2. In the Create project from solution dialog box, enter a project name and description, and select whether to create the sample products included in the solution.
      Note You can click n sample products to view the product details. If these products already exist in your IoT Platform instance, you do not need to create them again.
      In the Create project from solution dialog box, enter the Project name and Project description (up to 100 characters). Select whether to create the sample products (Create or Do not create) and click Confirm.
    3. Click Confirm.
On the Home page of the project details, you can view the automatically created or associated resources, such as applications, services, products, and data assets. The top of the project Home page displays resource statistics, for example, products associated: 11, devices associated: 0, web application: 1, and data assets associated: 731. In the Project development area, on the web application tab, the automatically created Smart Greenhouse Management application is displayed with a status of Unpublished.

Step 2: Associate products and devices

  1. Optional: Based on the solution's content, create or associate products and devices. For more information, see products.
  2. Optional: Configure the feature definitions for the product. For more information, see custom topic, Thing Specification Language (TSL), and server-side subscription.
  3. Optional: Publish the product. For more information, see Publish a product.
  4. Optional: Purchase the required hardware.
  5. Add devices and connect them to IoT Platform. For more information, see devices.

Step 3: Develop the project

As needed, perform the following steps to analyze data, develop applications, or configure business logic.

  1. Optional: In the Data Analytics console, analyze and visualize device and business data. For more information, see data analysis and perspective and stream data task development.
  2. Optional: On the web application editor page, configure settings such as component data sources and interactions to finish and publish the application. For more information, see web application editor.
  3. Optional: On the mobile application editor page, configure settings such as component data sources and interactions to finish and publish the application. For more information, see mobile application editor.
  4. Optional: On the business logic editor page, configure the necessary nodes to deploy, debug, and publish the business service. For more information, see business logic editor.

Next steps

You can also publish your project as a solution. For more information, see Publish a solution.