1# ShortcutInfo (System API)
2
3The **ShortcutInfo** module defines shortcut information configured in the configuration file. The information can be obtained through [getShortcutInfo](js-apis-launcherBundleManager-sys.md#launcherbundlemanagergetshortcutinfo9).
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8>
9> For the FA model, the shortcut information is configured in the [config.json](../../quick-start/module-structure.md) file. For details about the shortcut information in the stage model, see [shortcuts](../../quick-start/module-configuration-file.md#shortcuts).
10>
11> The APIs provided by this module are system APIs.
12
13## ShortcutWant
14
15**System capability**: SystemCapability.BundleManager.BundleFramework.Launcher
16
17**System API**: This is a system API.
18
19| Name                     | Type  | Read-Only| Optional| Description                |
20| ------------------------- | ------ | ---- | ---- | -------------------- |
21| targetBundle              | string | Yes  | No  | Target bundle name of the shortcut.|
22| targetModule              | string | Yes  | Yes | Target module name of the shortcut. |
23| targetAbility             | string | Yes  | No | Target ability name of the shortcut.|
24| parameters<sup>12+</sup>  | Array\<[ParameterItem](#parameteritem12)> | No  | Yes | Custom data in the shortcut configuration.|
25
26## ShortcutInfo
27
28**System capability**: SystemCapability.BundleManager.BundleFramework.Launcher
29
30 **System API**: This is a system API.
31
32| Name                   | Type                                      | Read-Only| Optional| Description                        |
33| ----------------------- | ------------------------------------------ | ---- | ---- | ---------------------------- |
34| id                      | string                                     | Yes  | No| ID of the application to which the shortcut belongs. |
35| bundleName              | string                                     | Yes  | No | Name of the bundle that contains the shortcut.|
36| moduleName | string                                     | Yes  | Yes | Module name of the shortcut.           |
37| hostAbility             | string                                     | Yes  | Yes | Local ability name of the shortcut.  |
38| icon                    | string                                     | Yes  | Yes | Icon of the shortcut.            |
39| iconId     | number                                     | Yes  | Yes | ID of the shortcut icon.          |
40| label                   | string                                     | Yes  | Yes | Label of the shortcut.             |
41| labelId    | number                                     | Yes  | Yes | ID of the shortcut label.          |
42| wants                   | Array\<[ShortcutWant](#shortcutwant)> | Yes  | Yes | Want information required for the shortcut.       |
43| appIndex<sup>12+</sup> | number | No| No| Index of an application clone.|
44| sourceType<sup>12+</sup> | number | No| No| Shortcut source type. The value **0** means a custom shortcut, and **1** means a static shortcut.|
45
46## ParameterItem<sup>12+</sup>
47
48Describes the custom data in the shortcut configuration.
49
50 **System capability**: SystemCapability.BundleManager.BundleFramework.Launcher
51
52| Name         | Type   | Read-Only| Optional| Description                  |
53| ------------- | ------ | ---- | ---------------------- | ---------------------- |
54| key           | string | No  | No  | Key of the custom data.      |
55| value         | string | No  | No  | Value of the custom data.|
56
57<!--no_check-->
58