# system.kanoa.dashboard.addMarqueeDashboard(marqueeDashboardInfo, userId)

Add a dashboard to a marquee

---
### Parameters
**marqueeDashboardInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - dashboardId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - duration</td><td>Integer</td><td></td></tr>	
 	<tr><td> - marqueeId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - sortOrder</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**marqueeDashboardId** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
marqueeDashboardInfo = {
  "marqueeId": 12,
  "dashboardId": 4,
  "duration": 60,
  "sortOrder": 3
}
userId = 123
marqueeDashboardId, msg = system.kanoa.dashboard.addMarqueeDashboard(marqueeDashboardInfo, userId)
if msg:	system.perspective.sendMessage('showFailerToast', msg)
else: system.perspective.sendMessage('showSuccessfulToast', 'Dashboard has been added to marquee')
```
