• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# CustomizeData
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9The CustomizeData module provides custom metadata.
10
11> **NOTE**
12>
13> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
14>
15> The APIs of this module are deprecated since API version 9. You are advised to use [Metadata](js-apis-bundleManager-metadata.md) instead.
16
17## CustomizeData<sup>(deprecated)</sup>
18
19This API is deprecated since API version 9. You are advised to use [Metadata](js-apis-bundleManager-metadata.md#metadata-1) instead.
20
21**System capability**: SystemCapability.BundleManager.BundleFramework
22
23
24
25| Name              | Type  | Read-Only| Optional| Description            |
26| ------------------ | ------ | ---- | ---- | ---------------- |
27| name               | string | No  | No  | Key that identifies a data element.|
28| value              | string | No  | No  | Value of the data element.  |
29| extra<sup>8+</sup> | string | No  | No  | Custom format of the data element. The value is an index to the resource that identifies the data.      |
30