Update metric assets

Updated at:

This topic describes how to batch update metric assets within a tenant by importing and exporting files. This process updates information for existing assets that have the same name and is useful for asset migration. This method does not support adding or deleting assets.

Cross-tenant updates

You can update assets in the current tenant by importing information for assets with the same name from another tenant.

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 菜单 icon and select Operations.

  3. On the top menu bar, click Asset Management.

  4. In the navigation pane on the left, choose System Asset Management > Metric Management.

  5. Optional: To Export all asset information under the current filter conditions, filter the assets first.

    • Keyword: In the Keyword search box, enter a keyword from a metric name or description and click Query to display the matching assets.

    • Workspace: The workspace where the asset was created. Select a workspace from the Workspace drop-down list and click Query. The matching assets are displayed.

    • Category: The folder where the asset is cataloged. Click the Category drop-down list, select a folder, and click Query. The matching assets are displayed.

    Note

    By default, all metric assets are displayed.

  6. In the upper-right corner of the page, click Batch Update.

  7. In the Batch Update panel, click Cross-tenant Update to export asset information based on specified conditions.

    1. Click Export all asset information within the viewable range or Export all asset information under the current filter conditions to select the assets to export.

      Note
      • A single export is limited to 10,000 records. To export more, adjust the filter conditions and perform the export in batches.

      • Export all asset information for filtered assets: Exports only the assets that meet the current filter criteria.

    2. Click Export Assets.

      After a successful export, the file is automatically downloaded to your local computer. You can also click Operation Record in the upper-right corner of the page to view the status and download the file.

  8. Upload the modified asset information file.

    1. Modify the necessary information in the exported file according to the template requirements. For example, you might need to change the workspace from the original tenant to the current tenant.

    2. Drag the file to upload it, or click View Local Files and select the file.

    3. Click OK. In the Notice dialog box, verify the information and click I understand and confirm the import.

    4. Optional: In the Import Result dialog box, review the import result and click OK.

    Important
    • If you are importing a file for the first time, download the `Batch_Import_Asset_Information_Metric_Template`, populate it with your data, and then upload it.

    • If you already have a file that meets the format requirements, you can upload it directly.

Same-tenant updates

You can export existing asset information from your tenant, modify data categories and extension properties in the downloaded Excel file, and then import the file to batch update the information.

  1. Log on to the Data Resource Platform console.

  2. In the top-left corner of the page, click the 菜单 icon and select Operations.

  3. In the top menu bar, click Asset Management.

  4. In the navigation pane on the left, choose System Asset Management > Metric Management.

  5. Optional: To use the Export all asset information under the current filter conditions option, you must first filter the assets.

    • Keyword: In the Keyword search box, enter a keyword from a metric's name or description and click Query. The matching assets are displayed.

    • Workspace: The workspace where the asset was created. Select a workspace from the Workspace drop-down list and click Query to display the matching assets.

    • Category: The folder where the asset was cataloged. Click the Category drop-down list, select a folder, and click Query. The matching assets are displayed.

    Note

    By default, all metric assets are displayed.

  6. In the upper-right corner, click Batch Update.

  7. In the Batch Update panel, click Same-tenant Update to export asset information based on your specified conditions.

    1. Click Export all asset information within the viewable range or Export all asset information under the current filter conditions to choose which assets to export.

      Note

      Export all assets that match the current filters: Exports only the assets that meet the specified filter criteria.

    2. Click Export Assets.

      After a successful export, the file is automatically downloaded to your computer. Alternatively, you can click Operation Record in the upper-right corner of the page to view the status and download the file.

  8. Upload the modified asset information file.

    1. In the downloaded Excel file, modify information such as data categories and extension properties according to the template requirements.

    2. After you finish making changes, drag the file to upload, or click View Local Files to select the file.

    3. Click OK. In the Notice dialog box, verify the information and click I understand and confirm the import.

    4. Optional: In the Import Result dialog box, review the results and click OK.

    Important
    • A single export is limited to 10,000 records. To export more, adjust the filter conditions and perform the export in batches.

    • If you already have a file that meets the format requirements, you can upload it directly.