This step is required only if you want to define your own representation types in addition to the predefined ones shipped with APF. For more information, see Predefined Representation Types.
The representation type
object defines how data is depicted on the UI. It has the following format:
{
"type" : "representationType", // optional
"id" : "<id>",
"constructor" : <constructor>,
"picture" : "<path/file>", // relative to Web application root
"label" : <label>
}
The properties used in the representation type
object denote the following:
Properties |
Description |
---|---|
|
Unique ID of type string. |
|
Defines the implementing function object of the representation. |
|
Icon indicating the representation type. |
|
Defines the label text. |