Manage component packages

更新时间:
复制 MD 格式

The component package management feature lets you upload and manage your developed components in packages. You can also grant permissions to specific users to share components.

Create a component package

  1. Log on to the DataV console.

  2. On the My Assets page, select My Component Packages from the navigation pane on the left.
  3. On the My Component Packages page, click New Component Package Project.
  4. In the New Component Package Project dialog box, enter the required package information and click Create.
    创建组件包面板
    Parameter Description
    English Name The English name for the component package. The name must be 20 characters or less. It can only contain letters, numbers, periods (.), and hyphens (-). It cannot contain spaces or start with a number. The format must be xxx.xxx or xxx-xxx. Use the format CompanyName.PackageName or CompanyName-PackageName. The name cannot be changed after creation. For example: alibaba-interaction.
    Chinese Name The Chinese name for the component package. The name must be 20 characters or less. You can change the name after creation.
    Project Thumbnail Click the Project Thumbnail area to change the image, or drag an image into the Project Thumbnail area. The image size must be 200 KB or less.
    Description Enter a description for the component package. The description must be 100 characters or less. You can change the description at any time.
  5. After the component package is created, it is submitted for review. The review process typically takes one to two business days.
    Note If you have an urgent request, search for and join the DingTalk group specified in the announcement banner at the top of the DataV console home page. Then, contact a DataV technical support engineer for assistance.
    • If the review is successful, you can click My Components > My Component Packages > View Component Package to view the approved package and upload your components.
      Important After the component package is created, you will receive a developer access token. Store this token securely. This token is your credential for logging on to the DataV developer console. For more information, see DataV Development Guide.
    • If the review fails, check the component package information for the following errors:
      • The English name ID contains invalid characters or keywords reserved by the product.
      • The Chinese name contains keywords reserved by the product.
      • The thumbnail image is invalid.
      After checking the information, click the Refresh icon. In the Edit Component Package dialog box, correct the information and resubmit it for review. Alternatively, you can click the Delete icon to delete the failed package and create a new one.
      Note If the review still fails after you check and correct these issues, contact a DataV technical support engineer for assistance.

Upload a component

After you create a component package, you can upload your developed components to it.

  1. On the My Component Packages page, hover over an approved component package and click View Component Package.
    查看组件包
  2. On the Component Package List page, click Upload Component.
  3. In the Upload Component dialog box, click the box with a dashed line under Upload Component Package, or drag your component package file into the box.
    Important The uploaded component package file cannot exceed 20 MB and must be in .tar.gz format.
  4. After the component package is uploaded, click Save to add the component to the DataV component package.
    Important Enterprise Edition users can upload a maximum of three custom components per package. Professional Edition or Premium Edition users can upload an unlimited number of custom components.

Authorize a component package

You can use the component package authorization feature to share components with other users.

Important The component package authorization feature is available only for Professional Edition and Premium Edition users. To use this feature, you must upgrade DataV to the Professional Edition or Premium Edition.
  1. Log on to the DataV console.

  2. On the My Assets page, select My Component Packages from the navigation pane on the left.
  3. On the My Component Packages page, click the Authorization 组件包授权 icon in the upper-right corner of the component package.
    组件包授权入口
  4. In the Component Package Authorization dialog box, enter the required information.
    授权组件包面板
    Parameter Description
    User ID Enter the user ID of the person to be authorized. Hover your mouse over the username in the upper-right corner of the page to get the user ID.
    Important The user ID is case-sensitive.
    Permission Level There are two permission levels: Subscriber and Developer:
    • Subscriber: Can only see officially published components on the My Components page.
    • Developer: Can develop and upload components. Can see components that are under review and officially published on the My Components page.
    Expiration Time Click the time selector to choose an expiration time for the authorization.
  5. After the authorization is granted, you can click the Authorization 组件包授权 icon in the upper-right corner of the component package again to grant more authorizations or view the Authorization Records.

Find authorized users and revoke authorization

In the Authorization Records section, you can find authorized users and revoke authorizations as follows:

  • In the search box in the upper-right corner of the Authorization Records section, enter a User ID to search for a specific authorized user.已授权记录面板
  • Select an authorized user and click Revoke Authorization in the Actions column on the right.解除授权面板
    Important Authorization cannot be restored after it is revoked. Proceed with caution.

Edit a component package

Click the Edit 编辑组件包 icon in the upper-right corner of the component package to modify its Chinese Name, Project Thumbnail, or Description. The English Name of the component package cannot be modified. 编辑组件包入口