Creating new assets

To create a new asset, follow these steps.

  1. Click the Gear icon on the main navigation bar to open the Administration menu.
  2. Click Static Assets.
  3. In the Manage Image, CSS, and JS Assets interface, click NEW ASSET.
  4. In the New Asset interface, define the new asset:
    1. Enter the Name of the asset.

      In this example, company_logo is used.

    2. Provide a Description for the asset.
      In this example, Cloudera Logo is used.
    3. Under File, click Choose File and use your system interface to add the file to Data Visualization.
    4. After you add the file, Cloudera Data Visualization adds the correct information to the immutable fields File Type and Size.
  5. Click SAVE.

    The Asset information interface appears.

  6. You can change the Name and Description of the asset, and even replace the file, using Change File. The asset also has its assigned ID.

    The asset also has a clickable URL for viewing its contents. This is equivalent to the linked ID on the Manage Image, CSS, and JS Assets interface. Also, note the navigation path to the asset; in this case, it is:

    http://127.0.0.1:8000/arc/reports/staticasset/raw/1.png

    In general, the link has the following form:

    [http|https]://ip_address/arc/reports/staticasset/raw/ID.file_extension

    Where ID is the ID of the asset as it appears on the interface, and file_extension is one of the supported file formats: png, jpg, css, or js.