Add custom dashlet to site

Showing results for 
Search instead for 
Did you mean: 
Member II

Add custom dashlet to site


I have a requirement as below: 

1 - Create API/webscript to create site with custom dashlet on site dashboard

2 - Create API/webscript to add custom dashlet for existing sites.

These 2 functions need to be called by 3rd party thats why I need to write API (or webscript).

I have researched and created a webscript that can create site (use siteService) but it can't add dashlet to the site. 

Is this possible to achieve these requirement? If yes please give me some suggestions.


Many Thanks