String dashboardName, String gadgetGroup, String gadgetPath) {
Boolean response = false;
Registry registry = null;
try {
DashboardService dashboardService = new DashboardService();
response = dashboardService.addGadgetToUser(userId, tabId, url, dashboardName, gadgetGroup);
if (response) {
// Record Activities
ActivityManager manager = new ActivityManagerImpl();
Activity activity = new ActivityImpl();
activity.setTitle("added new Gadget to the Dashboard ");