<  Widgets

RocketFuel Scripted List

### Description

This widget allows users to see a list of their incidents and requests.

### Configuration

By default this widget will display a list of the current users incidents and requests. If you would like to customize the ui of the list you may do so by specifying a custom template. There are also various options that will allow you to customize the look of the panel heading.

### Instance Options

| Option                         |    Property    | Comments                                                                                                                                                                                                                | Source   |
| ------------------------------ | :------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| Script Include | `script_include` | Supports overiding the default Script Include. | Options Schema |
| Method name | `method_name` | Pulls a function from the script include. | Options Schema |
| Limit | `limit` | Limits the number of articles to the property value that you set here | Options Schema |
| Template                       | `template`     | Specify a template to use in the body of the panel. | Instance |
| Title                          | `title`        | Specify a title for the panel. | Instance |
| Bootstrap Class Name | `class` | Used to name the bootstrap class for the widget. | Instance |
| Bootstrap Color | `color` | Used to set the color of the background and title text for the widget. The property takes standard Bootstrap color values as a string (e.g. 'Default', 'Primary', 'Success', etc...) | Instance |
| Glyph | `glyph` | Specify a glyphicon to decorate the panel heading. | Instance |


### CSS/SASS Variables

_CSS/SASS variables are given default values that can be overridden with theming or portal-level CSS._

| Variable                 |                                            Comments                                            |
| -----------------------  | :--------------------------------------------------------------------------------------------: |
| `$nr-myitems-title-size` | This variable controls size of text in the panel heading.                                       |
| `$nr-myitems-title-color`| This variable controls color of text in the panel heading.                                      |

### Templates

| Name | Comments |
| -------- |:---|
| `nr-myitems-debug.html` | Standard card template using nr-myitems-template directive. |
| `nr-myitems-default.html` | Standard card template using nr-myitems-default-template directive. |

### Sample Data

```json
{
"data": {
"items": [
{
"short_description": "Demo Incident",
"sys_id": "#",
"number": "INC00000",
"__table": "incident",
"__page": "ticket",
"sys_updated_on": "2018-01-10 23:53:45",
"type": "record"
},
{
"short_description": "Demo Request",
"sys_id": "#",
"number": "REQ00000",
"__table": "sc_request",
"__page": "sc_rquest",
"sys_updated_on": "2018-01-10 23:53:45",
"type": "record"
}
]
}
}
```

### Dependencies

_Dependencies are included and configured as part of the provided Update Set._

> None

Get Awesome Updates

Enter your email address for news and updates from NewRocket.

Thanks for your email!
There was an error, please try submitting again.