widgetManifestModel.WidgetDescription = dashboardWidget.WidgetDescription;
widgetManifestModel.WidgetTitle = dashboardWidget.WidgetTitle;
widgetManifestModel.WidgetIcon = dashboardWidget.WidgetIcon;
widgetManifestModel.HasSettings = dashboardWidget.HasSettings;
DashboardWidgetModel widgetModel = new DashboardWidgetModel();
widgetModel.manifest = widgetManifestModel;
if (dashboard!=null && dashboardWidget.HasSettings) {
final WidgetSettings widgetSettings = widgetsService.getWidgetSettings(guestId, dashboard.getId(),
dashboardWidget.WidgetName);